Int 2F/AX=1684h/BX=0034h

Prev Next Ralf Interrups Categories Contents

------

Intel Plug-and-Play - CONFIGURATION MANAGER - GET ENTRY POINT

AX = 1684h
BX = 0034h (ID for Configuration Manager) (see #02642)
ES:DI = 0000h:0000h

Return:
ES:DI -> API entry point (see #02673) 0000h:0000h if Configuration Manager not loaded

Note: This API is often provided by a DOS device driver, in which case it is available whether or not MSWindows is running

Index:
Installation check;Plug-and-Play Configuration Manager

See Also: AX=1684h/BX=304Ch

(Table 02673) Call Configuration Manager entry point with:. AX = function 0000h "CM_GetVersion" get supported DDI version

Return:
AH = BCD major version AL = BCD minor version BX = number of devices identified by configuration

Note: Returns AX = 0000h if no config manager installed 0001h "CM_GetConfig" get device configuration BX = device index ES:DI -> buffer for configuration information (see #02675)

Return:
AX = status 0000h successful ES:DI buffer filled other error code (0001h = index out of range) 0002h "CM_LockConfig" lock device configuration ES:DI -> configuration information (see #02675)

Return:
AX = status 0000h successful ES:DI buffer filled with assigned config 0001h resources conflict 0002h invalid request or configuration info 0003h "CM_UnlockConfig" unlock device configuration ES:DI -> configuration information (see #02675)

Return:
AX = status 0000h successful ES:DI buffer filled with assigned config 0001h invalid request or configuration info 0004h "CME_QueryResources" get hot-swappable resources ES:DI -> configuration information (see #02675)

Return:
AX = status (see #02674) 0005h "CME_AllocResources" remove resources from available pool ES:DI -> configuration information (see #02675)

Return:
AX = status (see #02674) 0006h "CME_DeallocResources" return resources to available pool ES:DI -> configuration information (see #02675)

Return:
AX = status (see #02674)

See Also: #01298 at INT 20"Windows" - #02672 - #02676

(Table 02674) Values for Configuration Manager status: 00h successful 01h device not found, configuration error 02h I/O port unavailable 04h IRQ unavailable 08h DMA channel unavailable 10h memory range unavailable

See Also: #02673

Format of Configuration Information Structure: Offset Size Description (Table 02675) 00h DWORD bus ID 04h DWORD device ID 08h DWORD serial number 0Ch DWORD logical ID 10h DWORD flags ---ISA bus--- 14h BYTE Card Select Number 15h BYTE logical device number 16h WORD Read Data port ------ 18h WORD number of memory windows 1Ah 9 DWORDs physical base addresses of memory windows 3Eh 9 DWORDs length of memory windows 62h 9 WORDs memory window attributes 74h WORD number of I/O ports 76h 20 WORDs I/O port base addresses B6h 20 WORDs lengths of I/O port ranges F6h WORD number of IRQs F8h 7 BYTEs IRQ registers FFh 7 BYTEs IRQ attributes 106h WORD number of DMA channels 108h 7 BYTEs DMA channels used 10Fh 7 WORDs DMA channel attributes 11Dh 3 BYTEs reserved

See Also: #02673

Category: Non-Volatile Config Storage - Int 2Fh - I

------

Prev Next Ralf Interrups Categories Contents