Newer
Older
tree-os / src / include / pci.h
#ifndef PCI_H
#define PCI_H

#include <stdint.h>

typedef struct {
    uint8_t bus, device, function;
    uint8_t class, subclass;
    uint16_t deviceId, vendorId;
} PciDevice;

extern void scanPCIDevices();

#endif