Newer
Older
honey-os / src / userland / lspci / pci.h
@biosfood biosfood on 16 Sep 2023 256 bytes hlib: monopolize checkFocus function
#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