actypes.h (71867) | actypes.h (73561) |
---|---|
1/****************************************************************************** 2 * 3 * Name: actypes.h - Common data types for the entire ACPI subsystem | 1/****************************************************************************** 2 * 3 * Name: actypes.h - Common data types for the entire ACPI subsystem |
4 * $Revision: 163 $ | 4 * $Revision: 165 $ |
5 * 6 *****************************************************************************/ 7 8/****************************************************************************** 9 * 10 * 1. Copyright Notice 11 * 12 * Some or all of this work - Copyright (c) 1999, 2000, 2001, Intel Corp. --- 310 unchanged lines hidden (view full) --- 323#define ACPI_ROOT_OBJECT (ACPI_HANDLE)(-1) 324 325#define ACPI_FULL_INITIALIZATION 0x00 326#define ACPI_NO_ADDRESS_SPACE_INIT 0x01 327#define ACPI_NO_HARDWARE_INIT 0x02 328#define ACPI_NO_EVENT_INIT 0x04 329#define ACPI_NO_ACPI_ENABLE 0x08 330#define ACPI_NO_DEVICE_INIT 0x10 | 5 * 6 *****************************************************************************/ 7 8/****************************************************************************** 9 * 10 * 1. Copyright Notice 11 * 12 * Some or all of this work - Copyright (c) 1999, 2000, 2001, Intel Corp. --- 310 unchanged lines hidden (view full) --- 323#define ACPI_ROOT_OBJECT (ACPI_HANDLE)(-1) 324 325#define ACPI_FULL_INITIALIZATION 0x00 326#define ACPI_NO_ADDRESS_SPACE_INIT 0x01 327#define ACPI_NO_HARDWARE_INIT 0x02 328#define ACPI_NO_EVENT_INIT 0x04 329#define ACPI_NO_ACPI_ENABLE 0x08 330#define ACPI_NO_DEVICE_INIT 0x10 |
331#define ACPI_NO_PCI_INIT 0x20 332#define ACPI_NO_OBJECT_INIT 0x40 | 331#define ACPI_NO_OBJECT_INIT 0x20 |
333 334 335/* 336 * Sleep state constants 337 */ 338#define ACPI_STATE_S0 (UINT8) 0 339#define ACPI_STATE_S1 (UINT8) 1 340#define ACPI_STATE_S2 (UINT8) 2 --- 413 unchanged lines hidden (view full) --- 754typedef 755ACPI_STATUS (*WALK_CALLBACK) ( 756 ACPI_HANDLE ObjHandle, 757 UINT32 NestingLevel, 758 void *Context, 759 void **ReturnValue); 760 761 | 332 333 334/* 335 * Sleep state constants 336 */ 337#define ACPI_STATE_S0 (UINT8) 0 338#define ACPI_STATE_S1 (UINT8) 1 339#define ACPI_STATE_S2 (UINT8) 2 --- 413 unchanged lines hidden (view full) --- 753typedef 754ACPI_STATUS (*WALK_CALLBACK) ( 755 ACPI_HANDLE ObjHandle, 756 UINT32 NestingLevel, 757 void *Context, 758 void **ReturnValue); 759 760 |
761 762 |
|
762/* Interrupt handler return values */ 763 764#define INTERRUPT_NOT_HANDLED 0x00 765#define INTERRUPT_HANDLED 0x01 766 767 768/* Structure and flags for AcpiGetDeviceInfo */ 769 --- 345 unchanged lines hidden (view full) --- 1115#define RESOURCE_LENGTH_NO_DATA 8 1116 1117#define NEXT_RESOURCE(Res) (RESOURCE*)((UINT8*) Res + Res->length) 1118 1119/* 1120 * END: Definitions for Resource Attributes 1121 */ 1122 | 763/* Interrupt handler return values */ 764 765#define INTERRUPT_NOT_HANDLED 0x00 766#define INTERRUPT_HANDLED 0x01 767 768 769/* Structure and flags for AcpiGetDeviceInfo */ 770 --- 345 unchanged lines hidden (view full) --- 1116#define RESOURCE_LENGTH_NO_DATA 8 1117 1118#define NEXT_RESOURCE(Res) (RESOURCE*)((UINT8*) Res + Res->length) 1119 1120/* 1121 * END: Definitions for Resource Attributes 1122 */ 1123 |
1123/* 1124 * Definitions for PCI Routing tables 1125 */ 1126typedef struct | 1124 1125typedef struct pci_routing_table |
1127{ | 1126{ |
1128 ACPI_INTEGER Address; | 1127 UINT32 Length; |
1129 UINT32 Pin; | 1128 UINT32 Pin; |
1129 ACPI_INTEGER Address; /* here for 64-bit alignment */ |
|
1130 UINT32 SourceIndex; | 1130 UINT32 SourceIndex; |
1131 NATIVE_CHAR Source[1]; | 1131 NATIVE_CHAR Source[4]; /* pad to 64 bits so sizeof() works in all cases */ |
1132 | 1132 |
1133} PRT_ENTRY; 1134 1135typedef struct _prt_tag 1136{ 1137 UINT32 Length; 1138 PRT_ENTRY Data; 1139 | |
1140} PCI_ROUTING_TABLE; 1141 1142 1143/* 1144 * END: Definitions for PCI Routing tables 1145 */ 1146 1147#endif /* __ACTYPES_H__ */ | 1133} PCI_ROUTING_TABLE; 1134 1135 1136/* 1137 * END: Definitions for PCI Routing tables 1138 */ 1139 1140#endif /* __ACTYPES_H__ */ |