Print this page
update to acpica-unix2-20140114
acpica-unix2-20130823
PANKOVs restructure

*** 3,13 **** * Module Name: utdecode - Utility decoding routines (value-to-string) * *****************************************************************************/ /* ! * Copyright (C) 2000 - 2011, Intel Corp. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: --- 3,13 ---- * Module Name: utdecode - Utility decoding routines (value-to-string) * *****************************************************************************/ /* ! * Copyright (C) 2000 - 2014, Intel Corp. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met:
*** 49,99 **** #define _COMPONENT ACPI_UTILITIES ACPI_MODULE_NAME ("utdecode") - /******************************************************************************* - * - * FUNCTION: AcpiFormatException - * - * PARAMETERS: Status - The ACPI_STATUS code to be formatted - * - * RETURN: A string containing the exception text. A valid pointer is - * always returned. - * - * DESCRIPTION: This function translates an ACPI exception into an ASCII string - * It is here instead of utxface.c so it is always present. - * - ******************************************************************************/ - - const char * - AcpiFormatException ( - ACPI_STATUS Status) - { - const char *Exception = NULL; - - - ACPI_FUNCTION_ENTRY (); - - - Exception = AcpiUtValidateException (Status); - if (!Exception) - { - /* Exception code was not recognized */ - - ACPI_ERROR ((AE_INFO, - "Unknown exception code: 0x%8.8X", Status)); - - Exception = "UNKNOWN_STATUS_CODE"; - } - - return (ACPI_CAST_PTR (const char, Exception)); - } - - ACPI_EXPORT_SYMBOL (AcpiFormatException) - - /* * Properties of the ACPI Object Types, both internal and external. * The table is indexed by values of ACPI_OBJECT_TYPE */ const UINT8 AcpiGbl_NsProperties[ACPI_NUM_NS_TYPES] = --- 49,58 ----
*** 178,195 **** /* Region type decoding */ const char *AcpiGbl_RegionTypes[ACPI_NUM_PREDEFINED_REGIONS] = { ! "SystemMemory", ! "SystemIO", ! "PCI_Config", ! "EmbeddedControl", ! "SMBus", ! "SystemCMOS", ! "PCIBARTarget", ! "IPMI" }; char * AcpiUtGetRegionName ( --- 137,157 ---- /* Region type decoding */ const char *AcpiGbl_RegionTypes[ACPI_NUM_PREDEFINED_REGIONS] = { ! "SystemMemory", /* 0x00 */ ! "SystemIO", /* 0x01 */ ! "PCI_Config", /* 0x02 */ ! "EmbeddedControl", /* 0x03 */ ! "SMBus", /* 0x04 */ ! "SystemCMOS", /* 0x05 */ ! "PCIBARTarget", /* 0x06 */ ! "IPMI", /* 0x07 */ ! "GeneralPurposeIo", /* 0x08 */ ! "GenericSerialBus", /* 0x09 */ ! "PCC" /* 0x0A */ }; char * AcpiUtGetRegionName (
*** 563,586 **** * ******************************************************************************/ /* Names for Notify() values, used for debug output */ ! static const char *AcpiGbl_NotifyValueNames[] = { ! "Bus Check", ! "Device Check", ! "Device Wake", ! "Eject Request", ! "Device Check Light", ! "Frequency Mismatch", ! "Bus Mode Mismatch", ! "Power Fault", ! "Capabilities Check", ! "Device PLD Check", ! "Reserved", ! "System Locality Update" }; const char * AcpiUtGetNotifyName ( UINT32 NotifyValue) --- 525,549 ---- * ******************************************************************************/ /* Names for Notify() values, used for debug output */ ! static const char *AcpiGbl_NotifyValueNames[ACPI_NOTIFY_MAX + 1] = { ! /* 00 */ "Bus Check", ! /* 01 */ "Device Check", ! /* 02 */ "Device Wake", ! /* 03 */ "Eject Request", ! /* 04 */ "Device Check Light", ! /* 05 */ "Frequency Mismatch", ! /* 06 */ "Bus Mode Mismatch", ! /* 07 */ "Power Fault", ! /* 08 */ "Capabilities Check", ! /* 09 */ "Device PLD Check", ! /* 10 */ "Reserved", ! /* 11 */ "System Locality Update", ! /* 12 */ "Shutdown Request" }; const char * AcpiUtGetNotifyName ( UINT32 NotifyValue)
*** 592,605 **** } else if (NotifyValue <= ACPI_MAX_SYS_NOTIFY) { return ("Reserved"); } ! else /* Greater or equal to 0x80 */ { ! return ("**Device Specific**"); } } #endif /******************************************************************************* --- 555,572 ---- } else if (NotifyValue <= ACPI_MAX_SYS_NOTIFY) { return ("Reserved"); } ! else if (NotifyValue <= ACPI_MAX_DEVICE_SPECIFIC_NOTIFY) { ! return ("Device Specific"); } + else + { + return ("Hardware Specific"); + } } #endif /*******************************************************************************