git-svn-id: https://spexeah.com:8443/svn/Asuro@149 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
parent
e330bc426b
commit
8aeb0f6c29
@ -101,6 +101,19 @@ type
|
|||||||
header_type : ubit7;
|
header_type : ubit7;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
TPCI_Memory_BAR bitpacked record
|
||||||
|
address : ubit28; //16-Byte aligned
|
||||||
|
prefetchable : boolean;
|
||||||
|
bar_type : ubit2;
|
||||||
|
always_0 : boolean = 0;
|
||||||
|
end;
|
||||||
|
|
||||||
|
TPCI_IO_BAR bitpacked record
|
||||||
|
address : ubit30; //4-byte aligned
|
||||||
|
reserved : boolean;
|
||||||
|
always_0 : boolean = 0;
|
||||||
|
end;
|
||||||
|
|
||||||
TPCI_Device bitpacked record
|
TPCI_Device bitpacked record
|
||||||
device_id : uint16;
|
device_id : uint16;
|
||||||
vendor_id : uint16;
|
vendor_id : uint16;
|
||||||
@ -111,15 +124,15 @@ type
|
|||||||
prog_if : uint8;
|
prog_if : uint8;
|
||||||
revision_id : uint8;
|
revision_id : uint8;
|
||||||
BIST : TPCI_BIST;
|
BIST : TPCI_BIST;
|
||||||
header_type : uint8;
|
header_type : TPCI_Header_Type;
|
||||||
latency_timer : uint8;
|
latency_timer : uint8;
|
||||||
cache_size : uint8;
|
cache_size : uint8;
|
||||||
address0 : uint32;
|
address0 : TPCI_Memory_BAR;
|
||||||
address1 : uint32;
|
address1 : TPCI_Memory_BAR;
|
||||||
address2 : uint32;
|
address2 : TPCI_Memory_BAR;
|
||||||
address3 : uint32;
|
address3 : TPCI_Memory_BAR;
|
||||||
address4 : uint32;
|
address4 : TPCI_Memory_BAR;
|
||||||
address5 : uint32;
|
address5 : TPCI_Memory_BAR;
|
||||||
CIS_pointer : uint32;
|
CIS_pointer : uint32;
|
||||||
subsystem_id : uint16;
|
subsystem_id : uint16;
|
||||||
subsystem_vid : uint16;
|
subsystem_vid : uint16;
|
||||||
@ -139,6 +152,18 @@ type
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
TCommand_Register bitpacked record
|
TCommand_Register bitpacked record
|
||||||
|
reserved : ubit5;
|
||||||
|
interupt_disable : boolean;
|
||||||
|
fast_b2b_enable : boolean;
|
||||||
|
seer_enable : boolean;
|
||||||
|
reserved0 : boolean;
|
||||||
|
parity_err_response : boolean;
|
||||||
|
VGA_palette_snoop : boolean;
|
||||||
|
mem_wai_enable : boolean;
|
||||||
|
special_cycles : boolean;
|
||||||
|
bus_master : boolean;
|
||||||
|
memory_space : boolean;
|
||||||
|
io_space : boolean;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
TStatus_Register bitpacked record
|
TStatus_Register bitpacked record
|
||||||
|
Loading…
x
Reference in New Issue
Block a user