diff options
author | Bob Moore <robert.moore@intel.com> | 2006-01-13 16:22:00 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-01-20 02:23:50 -0500 |
commit | 4a90c7e86202f46fa9af011bdbcdf36e355d1721 (patch) | |
tree | 3784cffb2166330d6f94ea53996fbeef36f58ce3 /drivers/acpi/tables/tbxfroot.c | |
parent | 3c5c363826e435cf4d54d917202567e5b57cae5f (diff) |
[ACPI] ACPICA 20060113
Added 2006 copyright.
At SuSE's suggestion, enabled all error messages
without enabling function tracing, ie with CONFIG_ACPI_DEBUG=n
Replaced all instances of the ACPI_DEBUG_PRINT macro invoked at
the ACPI_DB_ERROR and ACPI_DB_WARN debug levels with
the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros,
respectively. This preserves all error and warning messages
in the non-debug version of the ACPICA code (this has been
referred to as the "debug lite" option.) Over 200 cases
were converted to create a total of over 380 error/warning
messages across the ACPICA code. This increases the code
and data size of the default non-debug version by about 13K.
Added ACPI_NO_ERROR_MESSAGES flag to enable deleting all messages.
The size of the debug version remains about the same.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/tables/tbxfroot.c')
-rw-r--r-- | drivers/acpi/tables/tbxfroot.c | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/drivers/acpi/tables/tbxfroot.c b/drivers/acpi/tables/tbxfroot.c index b01a4b2ae7da..6538ed818f5b 100644 --- a/drivers/acpi/tables/tbxfroot.c +++ b/drivers/acpi/tables/tbxfroot.c | |||
@@ -5,7 +5,7 @@ | |||
5 | *****************************************************************************/ | 5 | *****************************************************************************/ |
6 | 6 | ||
7 | /* | 7 | /* |
8 | * Copyright (C) 2000 - 2005, R. Byron Moore | 8 | * Copyright (C) 2000 - 2006, R. Byron Moore |
9 | * All rights reserved. | 9 | * All rights reserved. |
10 | * | 10 | * |
11 | * Redistribution and use in source and binary forms, with or without | 11 | * Redistribution and use in source and binary forms, with or without |
@@ -396,9 +396,8 @@ acpi_status acpi_find_root_pointer(u32 flags, struct acpi_pointer *rsdp_address) | |||
396 | 396 | ||
397 | status = acpi_tb_find_rsdp(&table_info, flags); | 397 | status = acpi_tb_find_rsdp(&table_info, flags); |
398 | if (ACPI_FAILURE(status)) { | 398 | if (ACPI_FAILURE(status)) { |
399 | ACPI_DEBUG_PRINT((ACPI_DB_ERROR, | 399 | ACPI_REPORT_ERROR(("RSDP structure not found, %s Flags=%X\n", |
400 | "RSDP structure not found, %s Flags=%X\n", | 400 | acpi_format_exception(status), flags)); |
401 | acpi_format_exception(status), flags)); | ||
402 | 401 | ||
403 | return_ACPI_STATUS(AE_NO_ACPI_TABLES); | 402 | return_ACPI_STATUS(AE_NO_ACPI_TABLES); |
404 | } | 403 | } |
@@ -503,10 +502,7 @@ acpi_tb_find_rsdp(struct acpi_table_desc *table_info, u32 flags) | |||
503 | ACPI_EBDA_PTR_LENGTH, | 502 | ACPI_EBDA_PTR_LENGTH, |
504 | (void *)&table_ptr); | 503 | (void *)&table_ptr); |
505 | if (ACPI_FAILURE(status)) { | 504 | if (ACPI_FAILURE(status)) { |
506 | ACPI_DEBUG_PRINT((ACPI_DB_ERROR, | 505 | ACPI_REPORT_ERROR(("Could not map memory at %8.8X for length %X\n", ACPI_EBDA_PTR_LOCATION, ACPI_EBDA_PTR_LENGTH)); |
507 | "Could not map memory at %8.8X for length %X\n", | ||
508 | ACPI_EBDA_PTR_LOCATION, | ||
509 | ACPI_EBDA_PTR_LENGTH)); | ||
510 | 506 | ||
511 | return_ACPI_STATUS(status); | 507 | return_ACPI_STATUS(status); |
512 | } | 508 | } |
@@ -530,10 +526,7 @@ acpi_tb_find_rsdp(struct acpi_table_desc *table_info, u32 flags) | |||
530 | ACPI_EBDA_WINDOW_SIZE, | 526 | ACPI_EBDA_WINDOW_SIZE, |
531 | (void *)&table_ptr); | 527 | (void *)&table_ptr); |
532 | if (ACPI_FAILURE(status)) { | 528 | if (ACPI_FAILURE(status)) { |
533 | ACPI_DEBUG_PRINT((ACPI_DB_ERROR, | 529 | ACPI_REPORT_ERROR(("Could not map memory at %8.8X for length %X\n", physical_address, ACPI_EBDA_WINDOW_SIZE)); |
534 | "Could not map memory at %8.8X for length %X\n", | ||
535 | physical_address, | ||
536 | ACPI_EBDA_WINDOW_SIZE)); | ||
537 | 530 | ||
538 | return_ACPI_STATUS(status); | 531 | return_ACPI_STATUS(status); |
539 | } | 532 | } |
@@ -563,10 +556,7 @@ acpi_tb_find_rsdp(struct acpi_table_desc *table_info, u32 flags) | |||
563 | (void *)&table_ptr); | 556 | (void *)&table_ptr); |
564 | 557 | ||
565 | if (ACPI_FAILURE(status)) { | 558 | if (ACPI_FAILURE(status)) { |
566 | ACPI_DEBUG_PRINT((ACPI_DB_ERROR, | 559 | ACPI_REPORT_ERROR(("Could not map memory at %8.8X for length %X\n", ACPI_HI_RSDP_WINDOW_BASE, ACPI_HI_RSDP_WINDOW_SIZE)); |
567 | "Could not map memory at %8.8X for length %X\n", | ||
568 | ACPI_HI_RSDP_WINDOW_BASE, | ||
569 | ACPI_HI_RSDP_WINDOW_SIZE)); | ||
570 | 560 | ||
571 | return_ACPI_STATUS(status); | 561 | return_ACPI_STATUS(status); |
572 | } | 562 | } |