[ros-kernel] MmMapLockedPages patch review
xnavara at volny.cz
Sun Mar 7 18:45:13 CET 2004
> MmMapLockedPages(UserMode) maps resident kernel memory into the
> user-mode address space (references: the PROCESS_HAS_LOCKED_PAGES and
> DRIVER_LEFT_LOCKED_PAGES_IN_PROCESS bugcheck codes, and
> <http://www.osr.com/ntinsider/2000/sharing_memory.htm>), and this
> appears to do exactly the opposite
Based on this article I wrote very simple test program+driver that sends
"Hello Word" from kernel to user program using the MmMapLockedPages
method. It can be usefull for testing.
NOTE 1: Under Windows it works only first time, there is propably some
bug in the driver unloading....
NOTE 2: Under ReactOS there isn't Service Manager implemented, so the
driver must be added directly to registry. In the archive is an example
of these registry entries.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 10427 bytes
Desc: not available
Url : http://reactos.com:8080/pipermail/ros-kernel/attachments/20040307/e7b513de/mmtest-0001.bin
More information about the Ros-kernel