diff options
Diffstat (limited to 'drivers/acpi/acpica/acpredef.h')
-rw-r--r-- | drivers/acpi/acpica/acpredef.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/drivers/acpi/acpica/acpredef.h b/drivers/acpi/acpica/acpredef.h index 9dfa1c83bd4e..55fff568561e 100644 --- a/drivers/acpi/acpica/acpredef.h +++ b/drivers/acpi/acpica/acpredef.h | |||
@@ -1,7 +1,6 @@ | |||
1 | /****************************************************************************** | 1 | /****************************************************************************** |
2 | * | 2 | * |
3 | * Name: acpredef - Information table for ACPI predefined methods and objects | 3 | * Name: acpredef - Information table for ACPI predefined methods and objects |
4 | * $Revision: 1.1 $ | ||
5 | * | 4 | * |
6 | *****************************************************************************/ | 5 | *****************************************************************************/ |
7 | 6 | ||
@@ -51,13 +50,13 @@ | |||
51 | * | 50 | * |
52 | * 1) PTYPE1 packages do not contain sub-packages. | 51 | * 1) PTYPE1 packages do not contain sub-packages. |
53 | * | 52 | * |
54 | * ACPI_PTYPE1_FIXED: Fixed length, 1 or 2 object types: | 53 | * ACPI_PTYPE1_FIXED: Fixed-length length, 1 or 2 object types: |
55 | * object type | 54 | * object type |
56 | * count | 55 | * count |
57 | * object type | 56 | * object type |
58 | * count | 57 | * count |
59 | * | 58 | * |
60 | * ACPI_PTYPE1_VAR: Variable length: | 59 | * ACPI_PTYPE1_VAR: Variable-length length: |
61 | * object type (Int/Buf/Ref) | 60 | * object type (Int/Buf/Ref) |
62 | * | 61 | * |
63 | * ACPI_PTYPE1_OPTION: Package has some required and some optional elements | 62 | * ACPI_PTYPE1_OPTION: Package has some required and some optional elements |
@@ -85,10 +84,10 @@ | |||
85 | * count | 84 | * count |
86 | * (Used for _CST) | 85 | * (Used for _CST) |
87 | * | 86 | * |
88 | * ACPI_PTYPE2_FIXED: Each subpackage is of fixed length | 87 | * ACPI_PTYPE2_FIXED: Each subpackage is of Fixed-length |
89 | * (Used for _PRT) | 88 | * (Used for _PRT) |
90 | * | 89 | * |
91 | * ACPI_PTYPE2_MIN: Each subpackage has a variable but minimum length | 90 | * ACPI_PTYPE2_MIN: Each subpackage has a Variable-length but minimum length |
92 | * (Used for _HPX) | 91 | * (Used for _HPX) |
93 | * | 92 | * |
94 | * ACPI_PTYPE2_REV_FIXED: Revision at start, each subpackage is Fixed-length | 93 | * ACPI_PTYPE2_REV_FIXED: Revision at start, each subpackage is Fixed-length |
@@ -124,7 +123,8 @@ enum acpi_return_package_types { | |||
124 | * These are the names that can actually be evaluated via acpi_evaluate_object. | 123 | * These are the names that can actually be evaluated via acpi_evaluate_object. |
125 | * Not present in this table are the following: | 124 | * Not present in this table are the following: |
126 | * | 125 | * |
127 | * 1) Predefined/Reserved names that are never evaluated via acpi_evaluate_object: | 126 | * 1) Predefined/Reserved names that are never evaluated via |
127 | * acpi_evaluate_object: | ||
128 | * _Lxx and _Exx GPE methods | 128 | * _Lxx and _Exx GPE methods |
129 | * _Qxx EC methods | 129 | * _Qxx EC methods |
130 | * _T_x compiler temporary variables | 130 | * _T_x compiler temporary variables |
@@ -149,6 +149,8 @@ enum acpi_return_package_types { | |||
149 | * information about the expected structure of the package. This information | 149 | * information about the expected structure of the package. This information |
150 | * is saved here (rather than in a separate table) in order to minimize the | 150 | * is saved here (rather than in a separate table) in order to minimize the |
151 | * overall size of the stored data. | 151 | * overall size of the stored data. |
152 | * | ||
153 | * Note: The additional braces are intended to promote portability. | ||
152 | */ | 154 | */ |
153 | static const union acpi_predefined_info predefined_names[] = { | 155 | static const union acpi_predefined_info predefined_names[] = { |
154 | {{"_AC0", 0, ACPI_RTYPE_INTEGER}}, | 156 | {{"_AC0", 0, ACPI_RTYPE_INTEGER}}, |