Книга: Microsoft Windows Embedded CE 6.0 Exam Preparation Kit

Memory-Related Registry Settings

Memory-Related Registry Settings

Memory-related registry values enable you to configure a device through the registry. Table 6-10 lists the memory-related registry information that a driver can obtain in a DDKWINDOWINFO structure by calling DDKReg_GetWindowInfo. By using the BusTransBusAddrToVirtual function, you can map the bus addresses of memory-mapped windows to physical system addresses you can then translate into virtual addresses by using MnMapIoSpace.

Table 6-10 Memory-related registry entries for device drivers

Registry Entry Type Description
IoBase REG_DWORD A bus-relative base of a single memory-mapped window used by the device.
IoLen REG_DWORD Specifies the length of the memory-mapped window defined in IoBase.
MemBase REG_MULTI_SZ A bus-relative base of multiple memory-mapped windows used by the device.
MemLen REG_MULTI_SZ Specifies the length of the memory-mapped memory windows defined in MemBase.

Оглавление книги


Генерация: 1.132. Запросов К БД/Cache: 3 / 0
поделиться
Вверх Вниз