Re: CeAllocAsynchronousBuffer functionality and VirtualAllocCopyEx
- From: "Silver" <moc.liamtoh@gnirrevliseht>
- Date: Mon, 14 Jul 2008 10:23:56 -0700
VirtualCopy maps a virtual address to some other address. If you specifiy the PHYSICAL flag then it assumes the address was physical. Dig around for VMAllocCopy in the private tree (wince600\private\winceos\coreos\nk\kernel\vm.c)
Note that it also sets the PAGE_NOCACHE flag if you are aliasing memory.
"
// For virtually-tagged cache AllocateAlias adds PAGE_NOCACHE
// to fProtect, so the dest buffer will be uncached. But the
// source buffer still needs to be uncached.
"
You could, of course, use a function designed to do the task, CeAllocAsynchronousBuffer, just a suggestion.....
Geoff
--
.
- Follow-Ups:
- References:
- Re: CeAllocAsynchronousBuffer functionality and VirtualAllocCopyEx
- From: Bruce Eitman [eMVP]
- Re: CeAllocAsynchronousBuffer functionality and VirtualAllocCopyEx
- From: Silver
- Re: CeAllocAsynchronousBuffer functionality and VirtualAllocCopyEx
- Prev by Date: Re: How to adjust win CE?
- Next by Date: Re: error wince600 boot message after dowload PB6 OS to HW board
- Previous by thread: Re: CeAllocAsynchronousBuffer functionality and VirtualAllocCopyEx
- Next by thread: Re: CeAllocAsynchronousBuffer functionality and VirtualAllocCopyEx
- Index(es):