class Capability
Defined at line 19 of file ../../src/devices/bus/drivers/pci/capabilities.h
General PCI/PCIe capability classes. Final calculated address
for config corresponds to cfg's base plus cap's base along with
the specific register's offset.
Public Methods
void Capability (uint8_t id, uint8_t base, const char * addr)
Defined at line 50 of file ../../src/devices/bus/drivers/pci/capabilities.h
void ~Capability ()
Defined at line 52 of file ../../src/devices/bus/drivers/pci/capabilities.h
uint8_t id ()
Defined at line 53 of file ../../src/devices/bus/drivers/pci/capabilities.h
uint8_t base ()
Defined at line 54 of file ../../src/devices/bus/drivers/pci/capabilities.h
const char * addr ()
Defined at line 55 of file ../../src/devices/bus/drivers/pci/capabilities.h
Enumerations
enum Id
| Name | Value |
|---|---|
| kNull | 0 |
| kPciPowerManagement | 1 |
| kAgp | 2 |
| kVitalProductData | 3 |
| kSlotIdentification | 4 |
| kMsi | 5 |
| kCompactPciHotSwap | 6 |
| kPciX | 7 |
| kHyperTransport | 8 |
| kVendor | 9 |
| kDebugPort | 10 |
| kCompactPciCrc | 11 |
| kPciHotplug | 12 |
| kPciBridgeSubsystemVendorId | 13 |
| kAgp8x | 14 |
| kSecureDevice | 15 |
| kPciExpress | 16 |
| kMsiX | 17 |
| kSataDataNdxCfg | 18 |
| kAdvancedFeatures | 19 |
| kEnhancedAllocation | 20 |
| kFlatteningPortalBridge | 21 |
PCI Code and ID Assignment Specification Revision 1.9 section 2.
Defined at line 25 of file ../../src/devices/bus/drivers/pci/capabilities.h