context questions
Hi,
I'm developing a driver for PPC 2003. The driver is loaded in device.exe
address space and is located in slot 0. During Driver_Init I allocate a
memory and save a pointer in a global variable in the driver. Whenever an
application opens the driver, I need to save some information in the memory.
1) In Driver_Open call of the driver, I'm in the application context, not
device.exe context, right?
2) If 1) is true, how can I access the memory which is allocated in
Driver_Init which is in device.exe context? Do I have to add the pointer
with a base address of the slot of device.exe and call MapPtrToProcess?
TIA
.
Relevant Pages
- Re: non-paged memory inside a kernel driver
... Windows 2k/XP/2k3 Filesystem and Driver Consulting ... With their stuff running I cannot allocate 10 MB 's on a XP system. ... so I need 100MB of non-paged memory inside my driver. ... (microsoft.public.development.device.drivers) - Re: Memory fragmentation issue in kernel mode
... Also, on the Performance tab, watch the Kernel Memory section. ... fragmentation, which is actually fragmentation of the system virtual ... A user level application doesn't allocate and even access the ... I have my driver that uses direct IO to perform data transfer ... (microsoft.public.development.device.drivers) - Re: non-paged memory inside a kernel driver
... I've seen kernel memory leaks up to full memory exaustion when Symantec AV ... Windows 2k/XP/2k3 Filesystem and Driver Consulting ... With their stuff running I cannot allocate 10 MB 's on a XP system. ... (microsoft.public.development.device.drivers) - Re: Memory allocation in windows kernel driver
... in an allocated zone of memory. ... I have to allocate a space of about 255 kBytes. ... I would strongly recomend you take a class on driver development. ... It is possible to create a pointer to an array of pointers to memorize ... (microsoft.public.development.device.drivers) - Re: non-paged memory inside a kernel driver
... With their stuff running I cannot allocate 10 MB 's on a XP system. ... disk and one flash. ... so I need 100MB of non-paged memory inside my driver. ... (microsoft.public.development.device.drivers) |
|