diff options
author | Bob Moore <robert.moore@intel.com> | 2008-12-31 03:01:23 +0800 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-12-31 01:15:40 -0500 |
commit | 50df4d8b0f6e1971b930f3158c9ee0e4263e636d (patch) | |
tree | bb2dbcf70009cab8af7011ec6f3cdfc1b9b7d14d /include/acpi/actbl.h | |
parent | ea7e96e0f2277107d9ea14c3f16c86ba82b2e560 (diff) | |
download | kernel-crypto-50df4d8b0f6e1971b930f3158c9ee0e4263e636d.tar.gz kernel-crypto-50df4d8b0f6e1971b930f3158c9ee0e4263e636d.tar.xz kernel-crypto-50df4d8b0f6e1971b930f3158c9ee0e4263e636d.zip |
ACPICA: Restructure includes into public/private
acpi.h now includes only the "public" acpica headers. All other
acpica headers are "private" and should not be included by acpica
users. One new file, accommon.h is used to include the commonly
used private headers for acpica code generation. Future plans
are to move all private headers to a new subdirectory.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/actbl.h')
-rw-r--r-- | include/acpi/actbl.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/acpi/actbl.h b/include/acpi/actbl.h index 13a3d9ad92d..813e4b6c2c0 100644 --- a/include/acpi/actbl.h +++ b/include/acpi/actbl.h @@ -288,6 +288,31 @@ enum acpi_prefered_pm_profiles { #define ACPI_FADT_OFFSET(f) (u8) ACPI_OFFSET (struct acpi_table_fadt, f) +union acpi_name_union { + u32 integer; + char ascii[4]; +}; + +/* + * Internal ACPI Table Descriptor. One per ACPI table + */ +struct acpi_table_desc { + acpi_physical_address address; + struct acpi_table_header *pointer; + u32 length; /* Length fixed at 32 bits */ + union acpi_name_union signature; + acpi_owner_id owner_id; + u8 flags; +}; + +/* Flags for above */ + +#define ACPI_TABLE_ORIGIN_UNKNOWN (0) +#define ACPI_TABLE_ORIGIN_MAPPED (1) +#define ACPI_TABLE_ORIGIN_ALLOCATED (2) +#define ACPI_TABLE_ORIGIN_MASK (3) +#define ACPI_TABLE_IS_LOADED (4) + /* * Get the remaining ACPI tables */ |