diff options
author | Bob Moore <robert.moore@intel.com> | 2006-10-03 00:00:00 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-04-01 01:26:39 -0500 |
commit | 8313524a0d466f451a62709aaedf988d8257b21c (patch) | |
tree | d612fc796ae07d8a39542c95eec0f5169c9f64eb /include/acpi/amlresrc.h | |
parent | ea936b78f46cbe089a4ac363e1682dee7d427096 (diff) |
ACPI: ACPICA 20060310
Tagged all external interfaces to the subsystem with the
new ACPI_EXPORT_SYMBOL macro. This macro can be defined
as necessary to assist kernel integration. For Linux,
the macro resolves to the EXPORT_SYMBOL macro. The default
definition is NULL.
Added the ACPI_THREAD_ID type for the return value from
acpi_os_get_thread_id(). This allows the host to define this
as necessary to simplify kernel integration. The default
definition is ACPI_NATIVE_UINT.
Valery Podrezov fixed two interpreter problems related
to error processing, the deletion of objects, and placing
invalid pointers onto the internal operator result stack.
http://bugzilla.kernel.org/show_bug.cgi?id=6028
http://bugzilla.kernel.org/show_bug.cgi?id=6151
Increased the reference count threshold where a warning is
emitted for large reference counts in order to eliminate
unnecessary warnings on systems with large namespaces
(especially 64-bit.) Increased the value from 0x400
to 0x800.
Due to universal disagreement as to the meaning of the
'c' in the calloc() function, the ACPI_MEM_CALLOCATE
macro has been renamed to ACPI_ALLOCATE_ZEROED so that the
purpose of the interface is 'clear'. ACPI_MEM_ALLOCATE and
ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and ACPI_FREE.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/amlresrc.h')
-rw-r--r-- | include/acpi/amlresrc.h | 61 |
1 files changed, 31 insertions, 30 deletions
diff --git a/include/acpi/amlresrc.h b/include/acpi/amlresrc.h index fb4735315ad3..e5b42eb38190 100644 --- a/include/acpi/amlresrc.h +++ b/include/acpi/amlresrc.h | |||
@@ -45,36 +45,36 @@ | |||
45 | #ifndef __AMLRESRC_H | 45 | #ifndef __AMLRESRC_H |
46 | #define __AMLRESRC_H | 46 | #define __AMLRESRC_H |
47 | 47 | ||
48 | #define ASL_RESNAME_ADDRESS "_ADR" | 48 | #define ACPI_RESTAG_ADDRESS "_ADR" |
49 | #define ASL_RESNAME_ALIGNMENT "_ALN" | 49 | #define ACPI_RESTAG_ALIGNMENT "_ALN" |
50 | #define ASL_RESNAME_ADDRESSSPACE "_ASI" | 50 | #define ACPI_RESTAG_ADDRESSSPACE "_ASI" |
51 | #define ASL_RESNAME_ACCESSSIZE "_ASZ" | 51 | #define ACPI_RESTAG_ACCESSSIZE "_ASZ" |
52 | #define ASL_RESNAME_TYPESPECIFICATTRIBUTES "_ATT" | 52 | #define ACPI_RESTAG_TYPESPECIFICATTRIBUTES "_ATT" |
53 | #define ASL_RESNAME_BASEADDRESS "_BAS" | 53 | #define ACPI_RESTAG_BASEADDRESS "_BAS" |
54 | #define ASL_RESNAME_BUSMASTER "_BM_" /* Master(1), Slave(0) */ | 54 | #define ACPI_RESTAG_BUSMASTER "_BM_" /* Master(1), Slave(0) */ |
55 | #define ASL_RESNAME_DECODE "_DEC" | 55 | #define ACPI_RESTAG_DECODE "_DEC" |
56 | #define ASL_RESNAME_DMA "_DMA" | 56 | #define ACPI_RESTAG_DMA "_DMA" |
57 | #define ASL_RESNAME_DMATYPE "_TYP" /* Compatible(0), A(1), B(2), F(3) */ | 57 | #define ACPI_RESTAG_DMATYPE "_TYP" /* Compatible(0), A(1), B(2), F(3) */ |
58 | #define ASL_RESNAME_GRANULARITY "_GRA" | 58 | #define ACPI_RESTAG_GRANULARITY "_GRA" |
59 | #define ASL_RESNAME_INTERRUPT "_INT" | 59 | #define ACPI_RESTAG_INTERRUPT "_INT" |
60 | #define ASL_RESNAME_INTERRUPTLEVEL "_LL_" /* active_lo(1), active_hi(0) */ | 60 | #define ACPI_RESTAG_INTERRUPTLEVEL "_LL_" /* active_lo(1), active_hi(0) */ |
61 | #define ASL_RESNAME_INTERRUPTSHARE "_SHR" /* Shareable(1), no_share(0) */ | 61 | #define ACPI_RESTAG_INTERRUPTSHARE "_SHR" /* Shareable(1), no_share(0) */ |
62 | #define ASL_RESNAME_INTERRUPTTYPE "_HE_" /* Edge(1), Level(0) */ | 62 | #define ACPI_RESTAG_INTERRUPTTYPE "_HE_" /* Edge(1), Level(0) */ |
63 | #define ASL_RESNAME_LENGTH "_LEN" | 63 | #define ACPI_RESTAG_LENGTH "_LEN" |
64 | #define ASL_RESNAME_MEMATTRIBUTES "_MTP" /* Memory(0), Reserved(1), ACPI(2), NVS(3) */ | 64 | #define ACPI_RESTAG_MEMATTRIBUTES "_MTP" /* Memory(0), Reserved(1), ACPI(2), NVS(3) */ |
65 | #define ASL_RESNAME_MEMTYPE "_MEM" /* non_cache(0), Cacheable(1) Cache+combine(2), Cache+prefetch(3) */ | 65 | #define ACPI_RESTAG_MEMTYPE "_MEM" /* non_cache(0), Cacheable(1) Cache+combine(2), Cache+prefetch(3) */ |
66 | #define ASL_RESNAME_MAXADDR "_MAX" | 66 | #define ACPI_RESTAG_MAXADDR "_MAX" |
67 | #define ASL_RESNAME_MINADDR "_MIN" | 67 | #define ACPI_RESTAG_MINADDR "_MIN" |
68 | #define ASL_RESNAME_MAXTYPE "_MAF" | 68 | #define ACPI_RESTAG_MAXTYPE "_MAF" |
69 | #define ASL_RESNAME_MINTYPE "_MIF" | 69 | #define ACPI_RESTAG_MINTYPE "_MIF" |
70 | #define ASL_RESNAME_REGISTERBITOFFSET "_RBO" | 70 | #define ACPI_RESTAG_REGISTERBITOFFSET "_RBO" |
71 | #define ASL_RESNAME_REGISTERBITWIDTH "_RBW" | 71 | #define ACPI_RESTAG_REGISTERBITWIDTH "_RBW" |
72 | #define ASL_RESNAME_RANGETYPE "_RNG" | 72 | #define ACPI_RESTAG_RANGETYPE "_RNG" |
73 | #define ASL_RESNAME_READWRITETYPE "_RW_" /* read_only(0), Writeable (1) */ | 73 | #define ACPI_RESTAG_READWRITETYPE "_RW_" /* read_only(0), Writeable (1) */ |
74 | #define ASL_RESNAME_TRANSLATION "_TRA" | 74 | #define ACPI_RESTAG_TRANSLATION "_TRA" |
75 | #define ASL_RESNAME_TRANSTYPE "_TRS" /* Sparse(1), Dense(0) */ | 75 | #define ACPI_RESTAG_TRANSTYPE "_TRS" /* Sparse(1), Dense(0) */ |
76 | #define ASL_RESNAME_TYPE "_TTP" /* Translation(1), Static (0) */ | 76 | #define ACPI_RESTAG_TYPE "_TTP" /* Translation(1), Static (0) */ |
77 | #define ASL_RESNAME_XFERTYPE "_SIz" /* 8(0), 8_and16(1), 16(2) */ | 77 | #define ACPI_RESTAG_XFERTYPE "_SIz" /* 8(0), 8_and16(1), 16(2) */ |
78 | 78 | ||
79 | /* Default sizes for "small" resource descriptors */ | 79 | /* Default sizes for "small" resource descriptors */ |
80 | 80 | ||
@@ -266,6 +266,7 @@ struct aml_resource_generic_register { | |||
266 | union aml_resource { | 266 | union aml_resource { |
267 | /* Descriptor headers */ | 267 | /* Descriptor headers */ |
268 | 268 | ||
269 | u8 descriptor_type; | ||
269 | struct aml_resource_small_header small_header; | 270 | struct aml_resource_small_header small_header; |
270 | struct aml_resource_large_header large_header; | 271 | struct aml_resource_large_header large_header; |
271 | 272 | ||