Skip to content

uACPI interface

typedef struct { // typedefing it because of consistency with uacpi naming
uint8_t bus, slot, func;
bool is_open;
} uacpi_pci_device;
typedef struct {
uacpi_io_addr base;
uacpi_size len;
bool valid;
} uacpi_io_handle;
typedef struct {
uacpi_interrupt_handler handler;
uacpi_handle ctx;
bool installed;
} irq_entry_t;