Device drivers can map physical memory into the address space of a user-mode process using MmMapLockedPagesSpecifyCache
and the related functions. To the best of my knowledge, there is no way to do this without a device driver.
Map physical memory address to a user space application in windows
-
28-09-2022 - |
Question
Is it possible to map a physical memory address to a windows user-space application virtual address to read/write?
EDIT: I have a system where a real-time operating system is running in parallel with windows. The guest-OS(RTOS) is able to read and write from/to a memory mapped PCIe slave peripheral by mapping the physical address to its virtual memory space.
What i would like to do, is to be able to communicate directly with the PCIe slave device from a windows user space application, but this requires me to map that physical memory address to the user-space virtual memory-space.
Thanks in advance.
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow