Forget ACPI.h.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34202 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -128,6 +128,23 @@ enum {
|
|||||||
#endif // __ACTYPES_H__
|
#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 uint32 (*acpi_event_handler)(void *Context);
|
||||||
|
|
||||||
typedef status_t (*acpi_adr_space_handler)(uint32 function,
|
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,
|
status_t (*evaluate_method)(acpi_handle handle, const char *method,
|
||||||
acpi_objects *args, acpi_data *returnValue);
|
acpi_objects *args, acpi_data *returnValue);
|
||||||
|
|
||||||
|
/* Resource info */
|
||||||
|
|
||||||
|
status_t (*get_irq_routing_table)(acpi_handle busDeviceHandle,
|
||||||
|
acpi_data *retBuffer);
|
||||||
|
|
||||||
/* Power state setting */
|
/* Power state setting */
|
||||||
|
|
||||||
status_t (*prepare_sleep_state)(uint8 state, void (*wakeFunc)(void),
|
status_t (*prepare_sleep_state)(uint8 state, void (*wakeFunc)(void),
|
||||||
|
|||||||
Reference in New Issue
Block a user