Seitenleiste


Access to information is restricted depending on your login. Request login-information through our contact form.

service:wince:drvlib:memory:oem_mmmapiospace

OEM_MmMapIoSpace

In Windows Embedded CE6 MmMapIoSpace is only callable from kernel-space. The function OEM_MmMapIoSpace is a workaround to use MmMapIoSpace from user-space.
This function maps a physical address space to a nonpaged, process-dependent address space. It provides a virtual address, which is directly mapped, to the device.
See Platform-Builder-Help for details.

PVOID OEM_MmMapIoSpace(                        
  PHYSICAL_ADDRESS PhysicalAddress, 
  ULONG NumberOfBytes, 
  BOOLEAN CacheEnable 
);

Parameters

PhysicalAddress
[in] Starting physical address of the I/O range to map.

NumberOfBytes
[in] Number of bytes to map.

CacheEnable
[in] Flag to indicate whether the physical address range can map as cached memory. For device registers, this value is usually FALSE.

Return Values

Returns the base virtual address that maps the base physical address for the range. If space for mapping the range is insufficient, this function returns NULL.

Requirements

OS Versions: Windows Embedded CE 6.
Header: drvlib_app.h
Link Library: drvlib_app.lib
added: 14.03.2008

Cookies helfen bei der Bereitstellung von Inhalten. Durch die Nutzung dieser Seiten erklären Sie sich damit einverstanden, dass Cookies auf Ihrem Rechner gespeichert werden. Weitere Information
service/wince/drvlib/memory/oem_mmmapiospace.txt · Zuletzt geändert: 2012/04/18 12:39 von