diff options
author | Bob Moore <robert.moore@intel.com> | 2009-02-18 01:07:58 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-03-26 16:38:23 -0400 |
commit | d3319d1717a250e92be66a487dc3e0429112c284 (patch) | |
tree | 66f28e77cacf8ece0c2a856d450ad16b0dd247a2 /drivers/acpi/acpica/acpredef.h | |
parent | 5e053e77f233342b56fda419d347fd2c958b9849 (diff) |
ACPICA: Update comments in module header
Enhance the explanations of the various package return types
for clarity.
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 'drivers/acpi/acpica/acpredef.h')
-rw-r--r-- | drivers/acpi/acpica/acpredef.h | 41 |
1 files changed, 22 insertions, 19 deletions
diff --git a/drivers/acpi/acpica/acpredef.h b/drivers/acpi/acpica/acpredef.h index 16a9ca9a66e4..63f656ae3604 100644 --- a/drivers/acpi/acpica/acpredef.h +++ b/drivers/acpi/acpica/acpredef.h | |||
@@ -52,41 +52,44 @@ | |||
52 | * 1) PTYPE1 packages do not contain sub-packages. | 52 | * 1) PTYPE1 packages do not contain sub-packages. |
53 | * | 53 | * |
54 | * ACPI_PTYPE1_FIXED: Fixed length, 1 or 2 object types: | 54 | * ACPI_PTYPE1_FIXED: Fixed length, 1 or 2 object types: |
55 | * object type | 55 | * object type |
56 | * count | 56 | * count |
57 | * object type | 57 | * object type |
58 | * count | 58 | * count |
59 | * | 59 | * |
60 | * ACPI_PTYPE1_VAR: Variable length: | 60 | * ACPI_PTYPE1_VAR: Variable length: |
61 | * object type (Int/Buf/Ref) | 61 | * object type (Int/Buf/Ref) |
62 | * | 62 | * |
63 | * ACPI_PTYPE1_OPTION: Package has some required and some optional elements: | 63 | * ACPI_PTYPE1_OPTION: Package has some required and some optional elements |
64 | * Used for _PRW | 64 | * (Used for _PRW) |
65 | * | 65 | * |
66 | * | 66 | * |
67 | * 2) PTYPE2 packages contain a variable number of sub-packages. Each of the | 67 | * 2) PTYPE2 packages contain a variable number of sub-packages. Each of the |
68 | * different types describe the contents of each of the sub-packages. | 68 | * different types describe the contents of each of the sub-packages. |
69 | * | 69 | * |
70 | * ACPI_PTYPE2: Each subpackage contains 1 or 2 object types: | 70 | * ACPI_PTYPE2: Each subpackage contains 1 or 2 object types: |
71 | * object type | 71 | * object type |
72 | * count | 72 | * count |
73 | * object type | 73 | * object type |
74 | * count | 74 | * count |
75 | * (Used for _ALR,_MLS,_PSS,_TRT,_TSS) | ||
75 | * | 76 | * |
76 | * ACPI_PTYPE2_COUNT: Each subpackage has a count as first element: | 77 | * ACPI_PTYPE2_COUNT: Each subpackage has a count as first element: |
77 | * object type | 78 | * object type |
79 | * (Used for _CSD,_PSD,_TSD) | ||
78 | * | 80 | * |
79 | * ACPI_PTYPE2_PKG_COUNT: Count of subpackages at start, 1 or 2 object types: | 81 | * ACPI_PTYPE2_PKG_COUNT: Count of subpackages at start, 1 or 2 object types: |
80 | * object type | 82 | * object type |
81 | * count | 83 | * count |
82 | * object type | 84 | * object type |
83 | * count | 85 | * count |
86 | * (Used for _CST) | ||
84 | * | 87 | * |
85 | * ACPI_PTYPE2_FIXED: Each subpackage is of fixed length: | 88 | * ACPI_PTYPE2_FIXED: Each subpackage is of fixed length |
86 | * Used for _PRT | 89 | * (Used for _PRT) |
87 | * | 90 | * |
88 | * ACPI_PTYPE2_MIN: Each subpackage has a variable but minimum length | 91 | * ACPI_PTYPE2_MIN: Each subpackage has a variable but minimum length |
89 | * Used for _HPX | 92 | * (Used for _HPX) |
90 | * | 93 | * |
91 | *****************************************************************************/ | 94 | *****************************************************************************/ |
92 | 95 | ||