60 #define PCI_BIOS_INT 0x1A 65 #define PCI_BIOS_FNC 0xB1 71 #define PCI_BIOS_PRESENT 0x01 72 #define PCI_FIND_DEVICE 0x02 73 #define PCI_FIND_CLASS_CODE 0x03 74 #define PCI_GEN_SPECIAL_CYCLE 0x06 75 #define PCI_READ_CFG_BYTE 0x08 76 #define PCI_READ_CFG_WORD 0x09 77 #define PCI_READ_CFG_DWORD 0x0A 78 #define PCI_WRITE_CFG_BYTE 0x0B 79 #define PCI_WRITE_CFG_WORD 0x0C 80 #define PCI_WRITE_CFG_DWORD 0x0D 81 #define PCI_GET_IRQ_ROUTING 0x0E 85 #define PCI_SUCCESS 0x00 86 #define PCI_NO_SUCCESS 0x01 // (not returned by BIOS) 87 #define PCI_FUNC_NOT_SUPP 0x81 88 #define PCI_BAD_VENDOR_ID 0x83 89 #define PCI_DEVICE_NOT_FOUND 0x86 90 #define PCI_BAD_REGISTER_NUMB 0x87 91 #define PCI_BUFFER_TOO_SMALL 0x89 96 #define CARRY_FLAG 0x01 101 #define PCI_BIOS_SIGNATURE 0x20494350UL 106 #define PCI_INV_VENDOR_ID 0xFFFFU 110 #define PCI_DEVICES_PER_BUS 32 134 #define PCI_SUCCESS 0x00 135 #define PCI_NO_SUCCESS 0x01 // not returned by BIOS 136 #define PCI_FUNC_NOT_SUPP 0x81 137 #define PCI_BAD_VENDOR_ID 0x83 138 #define PCI_DEVICE_NOT_FOUND 0x86 139 #define PCI_BAD_REGISTER_NUMB 0x87 140 #define PCI_BUFFER_TOO_SMALL 0x89 148 #define CARRY_FLAG 0x01 155 #define PCI_BIOS_SIGNATURE 0x20494350UL 160 #define PCI_CS_VENDOR_ID 0x00 161 #define PCI_CS_DEVICE_ID 0x02 162 #define PCI_CS_COMMAND 0x04 163 #define PCI_CS_STATUS 0x06 164 #define PCI_CS_REVISION_ID 0x08 165 #define PCI_CS_CLASS_CODE 0x09 166 #define PCI_CS_CACHE_LINE_SIZE 0x0C 167 #define PCI_CS_MASTER_LATENCY 0x0D 168 #define PCI_CS_HEADER_TYPE 0x0E 169 #define PCI_CS_BIST 0x0F 170 #define PCI_CS_BASE_ADDRESS_0 0x10 171 #define PCI_CS_BASE_ADDRESS_1 0x14 172 #define PCI_CS_BASE_ADDRESS_2 0x18 173 #define PCI_CS_BASE_ADDRESS_3 0x1C 174 #define PCI_CS_BASE_ADDRESS_4 0x20 175 #define PCI_CS_BASE_ADDRESS_5 0x24 176 #define PCI_CS_EXPANSION_ROM 0x30 177 #define PCI_CS_INTERRUPT_LINE 0x3C 178 #define PCI_CS_INTERRUPT_PIN 0x3D 179 #define PCI_CS_MIN_GNT 0x3E 180 #define PCI_CS_MAX_LAT 0x3F 182 #define PCI_CS_N_BASE_ADDRESS 6 183 #define PCI_CS_N_BASE_ADDRESS_01 2 186 #define PCI_CMD_ENB_IO_ACC 0x01 187 #define PCI_CMD_ENB_MEM_ACC 0x02 197 #define PCI_N_BASE_ADDR_FIELD 6 228 #define PCI_VENDOR_ASUS 0x1000 229 #define PCI_VENDOR_ATI 0x1002 230 #define PCI_VENDOR_CIRRUS_LOGIC 0x1013 231 #define PCI_VENDOR_IBM 0x1014 232 #define PCI_VENDOR_AMD 0x1022 233 #define PCI_VENDOR_MATROX 0x102B 234 #define PCI_VENDOR_NEC 0x1033 235 #define PCI_VENDOR_TEXAS_INSTR 0x104C 236 #define PCI_VENDOR_PLX 0x10B5 237 #define PCI_VENDOR_3COM 0x10B7 238 #define PCI_VENDOR_AMCC 0x10E8 239 #define PCI_VENDOR_REALTEK 0x10EC 240 #define PCI_VENDOR_MEINBERG 0x1360 241 #define PCI_VENDOR_JMICRON 0x197B 242 #define PCI_VENDOR_ELSA 0x5333 243 #define PCI_VENDOR_INTEL 0x8086 244 #define PCI_VENDOR_ADAPTEC_1 0x9004 245 #define PCI_VENDOR_ADAPTEC_2 0x9005
#define PCI_N_BASE_ADDR_FIELD
uint32_t expansion_rom_base