Home   |   Jungo Corporate Web Site   |   Connectivity Software Store   |   Contact us   |   Search:
Home Connectivity Software Support WinDriver Support Technical Documents

Technical Document #39



Doc ID: 39
Product: WinDriver
Version:  --

A restriction in KP_IntAtIrql() is to use only non-pageable memory. What does this mean?

Variables defined in the Kernel PlugIn project (such as global and local variables) are non paged. WinDriver also implements malloc() to allocate non-paged memory when used from within the kernel (see also Technical Document #34). If you are using a pointer to the memory in the user mode from within the Kernel PlugIn, you need to make a copy of it's contents (allocate memory and copy the data to the non-paged memory) in order to access it from KP_IntAtIrql(), in order to ensure safe access to the data at all times.

Back to Top

WinDriver, PCI, PCMCIA, ISA, Kernel PlugIn, API, KP_IntAtIrql, memory, non-paged pool