aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2007-02-02 11:48:19 -0500
committerLen Brown <len.brown@intel.com>2007-02-02 21:14:23 -0500
commit84fb2c97731c1631c5548c15f3698ad82c274245 (patch)
tree278daeb9211489c9caefc13e8d6eb5d4bbd8d72f /include/acpi
parent69874165ab953a62f9adb3096ccd84ed2561a602 (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.h8
-rw-r--r--include/acpi/acutils.h2
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];
245extern const struct acpi_opcode_info acpi_gbl_aml_op_info[AML_NUM_OPCODES]; 245extern const struct acpi_opcode_info acpi_gbl_aml_op_info[AML_NUM_OPCODES];
246extern const char *acpi_gbl_region_types[ACPI_NUM_PREDEFINED_REGIONS]; 246extern const char *acpi_gbl_region_types[ACPI_NUM_PREDEFINED_REGIONS];
247 247
248/* Exception codes */
249
250extern char const *acpi_gbl_exception_names_env[];
251extern char const *acpi_gbl_exception_names_pgm[];
252extern char const *acpi_gbl_exception_names_tbl[];
253extern char const *acpi_gbl_exception_names_aml[];
254extern 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 */
456const char *acpi_ut_validate_exception(acpi_status status);
457
456u8 acpi_ut_is_aml_table(struct acpi_table_header *table); 458u8 acpi_ut_is_aml_table(struct acpi_table_header *table);
457 459
458acpi_status acpi_ut_allocate_owner_id(acpi_owner_id * owner_id); 460acpi_status acpi_ut_allocate_owner_id(acpi_owner_id * owner_id);