Mapping physical memory into Application space
- From: viddec <viddec@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 28 Jun 2005 17:34:03 -0700
Hi,
I want to return to the user application a mapping to a physical buffer.
Suppose the virtual address in the address space of device.exe is paddr
does
ioctl(instance, pin, size, pout, size, unused)
{
pnewaddr = MapPtrProcess(paddr, GetCallerProcess())
pout = pnewaddr //should this be *pout = pnewaddr
}
return the new mapping in pout ?
.
- Follow-Ups:
- RE: Mapping physical memory into Application space
- From: viddec
- Re: Mapping physical memory into Application space
- From: Steve Maillet \(eMVP\)
- Re: Mapping physical memory into Application space
- From: Anthony Pellerin
- RE: Mapping physical memory into Application space
- Prev by Date: Re: PB5.0 SDK export problem
- Next by Date: \Storage Card doesn't always reload when ATADISK reloaded
- Previous by thread: network configuration control panel app question in CE.NET 4.2
- Next by thread: Re: Mapping physical memory into Application space
- Index(es):