PciHeader

final class ntoseye.PciHeader

Subclass of BaseRecord.

The decoded type 0/1/2 configuration header.

property bars: list[PciBar]
property base_class: int
property bist: int
property buses: PciBuses | None

Type 1 and 2 headers only.

property cache_line_size: int
property capabilities_pointer: int
property command: int
property command_flags: list[str]

The names of the bits that are set in the command register.

property device_id: int
property expansion_rom: int | None

Expansion ROM base register (type 0 at 0x30, type 1 at 0x38).

property header_type: int

Layout in the low 7 bits; bit 7 marks a multi-function device.

property interrupt_line: int
property interrupt_pin: int

0 for none, 1-4 for INTA#-INTD#.

property latency_timer: int
property multifunction: bool
property prog_if: int
property revision: int
property status: int
property status_flags: list[str]

The names of the bits that are set in the status register.

property sub_class: int
property subsystem_id: int | None

Type 0 and 2 headers only.

property subsystem_vendor_id: int | None

Type 0 and 2 headers only.

property vendor_id: int