1/****************************************************************************** 2 * 3 * Name: actypes.h - Common data types for the entire ACPI subsystem |
4 * $Revision: 186 $ |
5 * 6 *****************************************************************************/ 7 8/****************************************************************************** 9 * 10 * 1. Copyright Notice 11 * 12 * Some or all of this work - Copyright (c) 1999, 2000, 2001, Intel Corp. --- 267 unchanged lines hidden (view full) --- 280 * Local datatypes 281 */ 282 283typedef UINT32 ACPI_STATUS; /* All ACPI Exceptions */ 284typedef UINT32 ACPI_NAME; /* 4-byte ACPI name */ 285typedef char* ACPI_STRING; /* Null terminated ASCII string */ 286typedef void* ACPI_HANDLE; /* Actually a ptr to an Node */ 287 |
288typedef struct 289{ 290 UINT32 Lo; 291 UINT32 Hi; |
292 |
293} UINT64_STRUCT; 294 295 |
296/* 297 * Acpi integer width. In ACPI version 1, integers are 298 * 32 bits. In ACPI version 2, integers are 64 bits. 299 * Note that this pertains to the ACPI integer type only, not 300 * other integers used in the implementation of the ACPI CA 301 * subsystem. 302 */ 303#ifdef ACPI_NO_INTEGER64_SUPPORT 304 305/* 32-bit integers only, no 64-bit support */ 306 307typedef UINT32 ACPI_INTEGER; 308#define ACPI_INTEGER_MAX ACPI_UINT32_MAX 309#define ACPI_INTEGER_BIT_SIZE 32 310#define ACPI_MAX_BCD_VALUE 99999999 311#define ACPI_MAX_BCD_DIGITS 8 |
312#define ACPI_MAX_DECIMAL_DIGITS 10 |
313 314#else 315 316/* 64-bit integers */ 317 318typedef UINT64 ACPI_INTEGER; 319#define ACPI_INTEGER_MAX ACPI_UINT64_MAX 320#define ACPI_INTEGER_BIT_SIZE 64 321#define ACPI_MAX_BCD_VALUE 9999999999999999 322#define ACPI_MAX_BCD_DIGITS 16 |
323#define ACPI_MAX_DECIMAL_DIGITS 19 |
324 325#endif 326 327 328/* 329 * Constants with special meanings 330 */ 331 --- 842 unchanged lines hidden --- |