summaryrefslogtreecommitdiffstats
path: root/sys/contrib/dev/acpica/components/debugger/dbdisply.c
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2015-02-18 20:33:00 +0000
committerjkim <jkim@FreeBSD.org>2015-02-18 20:33:00 +0000
commita1a0103e5c0491f9378743fd890ce7c1b5731996 (patch)
treefb0545399f40531160cc35b45423b4a49e6dbb79 /sys/contrib/dev/acpica/components/debugger/dbdisply.c
parente88977434bd97898228c4330df94ca93ffd4b3bf (diff)
parentc289b811b42daf9e7ef5c37a35e951d01c23715a (diff)
downloadFreeBSD-src-a1a0103e5c0491f9378743fd890ce7c1b5731996.zip
FreeBSD-src-a1a0103e5c0491f9378743fd890ce7c1b5731996.tar.gz
Merge ACPICA 20141107 and 20150204.
Diffstat (limited to 'sys/contrib/dev/acpica/components/debugger/dbdisply.c')
-rw-r--r--sys/contrib/dev/acpica/components/debugger/dbdisply.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/sys/contrib/dev/acpica/components/debugger/dbdisply.c b/sys/contrib/dev/acpica/components/debugger/dbdisply.c
index 988ab83..507c2b0 100644
--- a/sys/contrib/dev/acpica/components/debugger/dbdisply.c
+++ b/sys/contrib/dev/acpica/components/debugger/dbdisply.c
@@ -5,7 +5,7 @@
******************************************************************************/
/*
- * Copyright (C) 2000 - 2014, Intel Corp.
+ * Copyright (C) 2000 - 2015, Intel Corp.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -900,7 +900,7 @@ AcpiDbDisplayGpes (
GpeIndex = (i * ACPI_GPE_REGISTER_WIDTH) + j;
GpeEventInfo = &GpeBlock->EventInfo[GpeIndex];
- if ((GpeEventInfo->Flags & ACPI_GPE_DISPATCH_MASK) ==
+ if (ACPI_GPE_DISPATCH_TYPE (GpeEventInfo->Flags) ==
ACPI_GPE_DISPATCH_NONE)
{
/* This GPE is not used (no method or handler), ignore it */
@@ -933,7 +933,7 @@ AcpiDbDisplayGpes (
AcpiOsPrintf ("RunOnly, ");
}
- switch (GpeEventInfo->Flags & ACPI_GPE_DISPATCH_MASK)
+ switch (ACPI_GPE_DISPATCH_TYPE (GpeEventInfo->Flags))
{
case ACPI_GPE_DISPATCH_NONE:
@@ -944,6 +944,7 @@ AcpiDbDisplayGpes (
AcpiOsPrintf ("Method");
break;
+
case ACPI_GPE_DISPATCH_HANDLER:
AcpiOsPrintf ("Handler");
@@ -961,10 +962,15 @@ AcpiDbDisplayGpes (
AcpiOsPrintf ("Implicit Notify on %u devices", Count);
break;
+ case ACPI_GPE_DISPATCH_RAW_HANDLER:
+
+ AcpiOsPrintf ("RawHandler");
+ break;
+
default:
AcpiOsPrintf ("UNKNOWN: %X",
- GpeEventInfo->Flags & ACPI_GPE_DISPATCH_MASK);
+ ACPI_GPE_DISPATCH_TYPE (GpeEventInfo->Flags));
break;
}
OpenPOWER on IntegriCloud