搜尋此網誌

2012年9月28日 星期五

Int1Ah AX = B10Ah(在PCI表面配置空間上,讀取DWord) -- BIOS Int1Ah

READ CONFIGURATION DWORD

Input:

AX = B10Ah
BH = bus number
BL = device/function number (bits 7-3 device, bits 2-0 function)
DI = register number (0000h-00FFh, must be multiple of 4) (see PCI Configuration Data Format)
Return: 
CF clear if successful
   ECX = dword read
CF set on error
AH = status (00h,87h) (see PCI BIOS v2.0 status codes)
EAX, EBX, ECX, and EDX may be modified

all other flags (except IF) may be modified
Notes:
this function may require up to 1024 byte of stack; it will not enable interrupts if they were disabled before making the call
the meanings of BL and BH on entry were exchanged between the initial drafts of the specification and final implementation
BUG:
the Award BIOS 4.51PG (dated 05/24/96) incorrectly returns FFFFFFFFh for register 00h if the PCI function number is nonzero

沒有留言:

張貼留言