summaryrefslogtreecommitdiffstats
path: root/source/components/utilities/utdecode.c
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2014-09-11 21:38:09 +0000
committerjkim <jkim@FreeBSD.org>2014-09-11 21:38:09 +0000
commit9f91b0b83a53651519b3bbe3b8c1f2a324da984e (patch)
tree67d2b76905535d056ba6911186285d0325dc703f /source/components/utilities/utdecode.c
parentb4cfb84e01b0a37b535b69118259bb16e9614b0f (diff)
downloadFreeBSD-src-9f91b0b83a53651519b3bbe3b8c1f2a324da984e.zip
FreeBSD-src-9f91b0b83a53651519b3bbe3b8c1f2a324da984e.tar.gz
Import ACPICA 20140828.
Diffstat (limited to 'source/components/utilities/utdecode.c')
-rw-r--r--source/components/utilities/utdecode.c37
1 files changed, 3 insertions, 34 deletions
diff --git a/source/components/utilities/utdecode.c b/source/components/utilities/utdecode.c
index 28617dd..1666a36 100644
--- a/source/components/utilities/utdecode.c
+++ b/source/components/utilities/utdecode.c
@@ -93,38 +93,6 @@ const UINT8 AcpiGbl_NsProperties[ACPI_NUM_NS_TYPES] =
/*******************************************************************************
*
- * FUNCTION: AcpiUtHexToAsciiChar
- *
- * PARAMETERS: Integer - Contains the hex digit
- * Position - bit position of the digit within the
- * integer (multiple of 4)
- *
- * RETURN: The converted Ascii character
- *
- * DESCRIPTION: Convert a hex digit to an Ascii character
- *
- ******************************************************************************/
-
-/* Hex to ASCII conversion table */
-
-static const char AcpiGbl_HexToAscii[] =
-{
- '0','1','2','3','4','5','6','7',
- '8','9','A','B','C','D','E','F'
-};
-
-char
-AcpiUtHexToAsciiChar (
- UINT64 Integer,
- UINT32 Position)
-{
-
- return (AcpiGbl_HexToAscii[(Integer >> Position) & 0xF]);
-}
-
-
-/*******************************************************************************
- *
* FUNCTION: AcpiUtGetRegionName
*
* PARAMETERS: Space ID - ID for the region
@@ -541,7 +509,8 @@ static const char *AcpiGbl_GenericNotify[ACPI_NOTIFY_MAX + 1] =
/* 09 */ "Device PLD Check",
/* 0A */ "Reserved",
/* 0B */ "System Locality Update",
- /* 0C */ "Shutdown Request"
+ /* 0C */ "Shutdown Request",
+ /* 0D */ "System Resource Affinity Update"
};
static const char *AcpiGbl_DeviceNotify[4] =
@@ -575,7 +544,7 @@ AcpiUtGetNotifyName (
ACPI_OBJECT_TYPE Type)
{
- /* 00 - 0C are common to all object types */
+ /* 00 - 0D are common to all object types */
if (NotifyValue <= ACPI_NOTIFY_MAX)
{
OpenPOWER on IntegriCloud