diff options
author | Bob Moore <robert.moore@intel.com> | 2007-02-02 11:48:19 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-02-02 21:14:23 -0500 |
commit | 84fb2c97731c1631c5548c15f3698ad82c274245 (patch) | |
tree | 278daeb9211489c9caefc13e8d6eb5d4bbd8d72f /include/acpi | |
parent | 69874165ab953a62f9adb3096ccd84ed2561a602 (diff) |
ACPICA: Split acpi_format_exception into two parts
Split acpi_format_exception into two parts. New
function is acpi_ut_verify_exception and will be used to
verify exception codes returned by user.
Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi')
-rw-r--r-- | include/acpi/acglobal.h | 8 | ||||
-rw-r--r-- | include/acpi/acutils.h | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/acpi/acglobal.h b/include/acpi/acglobal.h index 0c2e1ae72c3d..8dab29a02e3c 100644 --- a/include/acpi/acglobal.h +++ b/include/acpi/acglobal.h | |||
@@ -245,6 +245,14 @@ extern const char *acpi_gbl_highest_dstate_names[4]; | |||
245 | extern const struct acpi_opcode_info acpi_gbl_aml_op_info[AML_NUM_OPCODES]; | 245 | extern const struct acpi_opcode_info acpi_gbl_aml_op_info[AML_NUM_OPCODES]; |
246 | extern const char *acpi_gbl_region_types[ACPI_NUM_PREDEFINED_REGIONS]; | 246 | extern const char *acpi_gbl_region_types[ACPI_NUM_PREDEFINED_REGIONS]; |
247 | 247 | ||
248 | /* Exception codes */ | ||
249 | |||
250 | extern char const *acpi_gbl_exception_names_env[]; | ||
251 | extern char const *acpi_gbl_exception_names_pgm[]; | ||
252 | extern char const *acpi_gbl_exception_names_tbl[]; | ||
253 | extern char const *acpi_gbl_exception_names_aml[]; | ||
254 | extern char const *acpi_gbl_exception_names_ctrl[]; | ||
255 | |||
248 | /***************************************************************************** | 256 | /***************************************************************************** |
249 | * | 257 | * |
250 | * Namespace globals | 258 | * Namespace globals |
diff --git a/include/acpi/acutils.h b/include/acpi/acutils.h index beb07ac83b8a..3c66f54e1fd7 100644 --- a/include/acpi/acutils.h +++ b/include/acpi/acutils.h | |||
@@ -453,6 +453,8 @@ acpi_ut_short_divide(acpi_integer in_dividend, | |||
453 | /* | 453 | /* |
454 | * utmisc | 454 | * utmisc |
455 | */ | 455 | */ |
456 | const char *acpi_ut_validate_exception(acpi_status status); | ||
457 | |||
456 | u8 acpi_ut_is_aml_table(struct acpi_table_header *table); | 458 | u8 acpi_ut_is_aml_table(struct acpi_table_header *table); |
457 | 459 | ||
458 | acpi_status acpi_ut_allocate_owner_id(acpi_owner_id * owner_id); | 460 | acpi_status acpi_ut_allocate_owner_id(acpi_owner_id * owner_id); |