Physical Memory Mapping

The existence of an I/O space is dependent on the processor architecture. Several Windows-supported architectures are based on processors that do not have a separate I/O space. Instead, their ports are mapped into memory addresses. These architectures can use memory mapping functions to enable access to physical memory on controllers and other hardware devices.

Physical memory mapping can also give processes access to physical memory ranges in the CPU's address space.

The wRTOS physical memory map interface maps a physical memory section into an application's virtual address space. This enables the application to access a region of physical memory directly, as if it were a buffer in the application. This interface is useful for applications that need to access device memory or registers mapped into the CPU's physical address space.

Topics: