diff --git a/headers/os/drivers/ACPI.h b/headers/os/drivers/ACPI.h index 1446fa480c..1706806e8e 100644 --- a/headers/os/drivers/ACPI.h +++ b/headers/os/drivers/ACPI.h @@ -128,6 +128,23 @@ enum { #endif // __ACTYPES_H__ +#ifndef __ACRESTYP_H__ + + +typedef struct acpi_prt +{ + uint32 length; + uint32 pin; + int address; /* here for 64-bit alignment */ + uint32 sourceIndex; + char source[4]; /* pad to 64 bits so sizeof() works in + all cases */ +} acpi_pci_routing_table; + + +#endif // __ACRESTYP_H__ + + typedef uint32 (*acpi_event_handler)(void *Context); typedef status_t (*acpi_adr_space_handler)(uint32 function, @@ -219,6 +236,11 @@ struct acpi_module_info { status_t (*evaluate_method)(acpi_handle handle, const char *method, acpi_objects *args, acpi_data *returnValue); + /* Resource info */ + + status_t (*get_irq_routing_table)(acpi_handle busDeviceHandle, + acpi_data *retBuffer); + /* Power state setting */ status_t (*prepare_sleep_state)(uint8 state, void (*wakeFunc)(void),