#ifndef PCI_H #define PCI_H #include <stdint.h> typedef struct { uint8_t bus, device, function; uint8_t class, subclass; uint16_t configuration; uint16_t deviceId, vendorId, programmingInterface; uint32_t bar[6]; } PciDevice; #endif