diff options
author | Bob Moore <robert.moore@intel.com> | 2006-05-12 17:12:00 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-06-14 02:34:48 -0400 |
commit | 958dd242b691f64ab4632b4903dbb1e16fee8269 (patch) | |
tree | ddf4932fb4e3023dd0d1914571f17f2e3b03978d /include/acpi/amlresrc.h | |
parent | b229cf92eee616c7cb5ad8cdb35a19b119f00bc8 (diff) |
ACPI: ACPICA 20060512
Replaced the acpi_os_queue_for_execution() with a new
interface named acpi_os_execute(). The major difference is
that the new interface does not have a Priority parameter,
this appeared to be useless and has been replaced by
a Type parameter. The Type tells the OS what type of
execution is being requested, such as global lock handler,
notify handler, GPE handler, etc. This allows the host
to queue and execute the request as appropriate for the
request type, possibly using different work queues and
different priorities for the various request types. This
enables fixes for multithreading deadlock problems such as
http://bugzilla.kernel.org/show_bug.cgi?id=5534
(Alexey Starikovskiy and Bob Moore)
Fixed a possible memory leak associated with the
support for the so-called "implicit return" ACPI
extension. Reported by FreeBSD (Fiodor Suietov)
http://bugzilla.kernel.org/show_bug.cgi?id=6514
Fixed a problem with the Load() operator where a table
load from an operation region could overwrite an internal
table buffer by up to 7 bytes and cause alignment faults
on IPF systems. (With assistance from Luming Yu)
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 | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/include/acpi/amlresrc.h b/include/acpi/amlresrc.h index 64736860bdd5..be03818af9d1 100644 --- a/include/acpi/amlresrc.h +++ b/include/acpi/amlresrc.h | |||
@@ -47,8 +47,6 @@ | |||
47 | #ifndef __AMLRESRC_H | 47 | #ifndef __AMLRESRC_H |
48 | #define __AMLRESRC_H | 48 | #define __AMLRESRC_H |
49 | 49 | ||
50 | /*! [Begin] no source code translation */ | ||
51 | |||
52 | /* | 50 | /* |
53 | * Resource descriptor tags, as defined in the ACPI specification. | 51 | * Resource descriptor tags, as defined in the ACPI specification. |
54 | * Used to symbolically reference fields within a descriptor. | 52 | * Used to symbolically reference fields within a descriptor. |
@@ -65,12 +63,12 @@ | |||
65 | #define ACPI_RESTAG_DMATYPE "_TYP" /* Compatible(0), A(1), B(2), F(3) */ | 63 | #define ACPI_RESTAG_DMATYPE "_TYP" /* Compatible(0), A(1), B(2), F(3) */ |
66 | #define ACPI_RESTAG_GRANULARITY "_GRA" | 64 | #define ACPI_RESTAG_GRANULARITY "_GRA" |
67 | #define ACPI_RESTAG_INTERRUPT "_INT" | 65 | #define ACPI_RESTAG_INTERRUPT "_INT" |
68 | #define ACPI_RESTAG_INTERRUPTLEVEL "_LL_" /* ActiveLo(1), ActiveHi(0) */ | 66 | #define ACPI_RESTAG_INTERRUPTLEVEL "_LL_" /* active_lo(1), active_hi(0) */ |
69 | #define ACPI_RESTAG_INTERRUPTSHARE "_SHR" /* Shareable(1), NoShare(0) */ | 67 | #define ACPI_RESTAG_INTERRUPTSHARE "_SHR" /* Shareable(1), no_share(0) */ |
70 | #define ACPI_RESTAG_INTERRUPTTYPE "_HE_" /* Edge(1), Level(0) */ | 68 | #define ACPI_RESTAG_INTERRUPTTYPE "_HE_" /* Edge(1), Level(0) */ |
71 | #define ACPI_RESTAG_LENGTH "_LEN" | 69 | #define ACPI_RESTAG_LENGTH "_LEN" |
72 | #define ACPI_RESTAG_MEMATTRIBUTES "_MTP" /* Memory(0), Reserved(1), ACPI(2), NVS(3) */ | 70 | #define ACPI_RESTAG_MEMATTRIBUTES "_MTP" /* Memory(0), Reserved(1), ACPI(2), NVS(3) */ |
73 | #define ACPI_RESTAG_MEMTYPE "_MEM" /* NonCache(0), Cacheable(1) Cache+combine(2), Cache+prefetch(3) */ | 71 | #define ACPI_RESTAG_MEMTYPE "_MEM" /* non_cache(0), Cacheable(1) Cache+combine(2), Cache+prefetch(3) */ |
74 | #define ACPI_RESTAG_MAXADDR "_MAX" | 72 | #define ACPI_RESTAG_MAXADDR "_MAX" |
75 | #define ACPI_RESTAG_MINADDR "_MIN" | 73 | #define ACPI_RESTAG_MINADDR "_MIN" |
76 | #define ACPI_RESTAG_MAXTYPE "_MAF" | 74 | #define ACPI_RESTAG_MAXTYPE "_MAF" |
@@ -78,12 +76,11 @@ | |||
78 | #define ACPI_RESTAG_REGISTERBITOFFSET "_RBO" | 76 | #define ACPI_RESTAG_REGISTERBITOFFSET "_RBO" |
79 | #define ACPI_RESTAG_REGISTERBITWIDTH "_RBW" | 77 | #define ACPI_RESTAG_REGISTERBITWIDTH "_RBW" |
80 | #define ACPI_RESTAG_RANGETYPE "_RNG" | 78 | #define ACPI_RESTAG_RANGETYPE "_RNG" |
81 | #define ACPI_RESTAG_READWRITETYPE "_RW_" /* ReadOnly(0), Writeable (1) */ | 79 | #define ACPI_RESTAG_READWRITETYPE "_RW_" /* read_only(0), Writeable (1) */ |
82 | #define ACPI_RESTAG_TRANSLATION "_TRA" | 80 | #define ACPI_RESTAG_TRANSLATION "_TRA" |
83 | #define ACPI_RESTAG_TRANSTYPE "_TRS" /* Sparse(1), Dense(0) */ | 81 | #define ACPI_RESTAG_TRANSTYPE "_TRS" /* Sparse(1), Dense(0) */ |
84 | #define ACPI_RESTAG_TYPE "_TTP" /* Translation(1), Static (0) */ | 82 | #define ACPI_RESTAG_TYPE "_TTP" /* Translation(1), Static (0) */ |
85 | #define ACPI_RESTAG_XFERTYPE "_SIZ" /* 8(0), 8And16(1), 16(2) */ | 83 | #define ACPI_RESTAG_XFERTYPE "_SIZ" /* 8(0), 8_and16(1), 16(2) */ |
86 | /*! [End] no source code translation !*/ | ||
87 | 84 | ||
88 | /* Default sizes for "small" resource descriptors */ | 85 | /* Default sizes for "small" resource descriptors */ |
89 | 86 | ||
@@ -306,9 +303,9 @@ union aml_resource { | |||
306 | /* Utility overlays */ | 303 | /* Utility overlays */ |
307 | 304 | ||
308 | struct aml_resource_address address; | 305 | struct aml_resource_address address; |
309 | u32 u32_item; | 306 | u32 dword_item; |
310 | u16 u16_item; | 307 | u16 word_item; |
311 | u8 U8item; | 308 | u8 byte_item; |
312 | }; | 309 | }; |
313 | 310 | ||
314 | #endif | 311 | #endif |