summaryrefslogtreecommitdiff
path: root/debugger
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2010-04-28 21:50:57 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2010-04-28 21:50:57 +0000
commit5b663f0c698a9ecf7e562f7f7f730d056e499b5f (patch)
tree8e0094680041ac8d48075e0787478ffeb5d61682 /debugger
parent9a8b5e6355e39ba0602a7f9484dca40f429fe6b0 (diff)
Import ACPICA 20100428.vendor/acpica/20100428
Notes
svn path=/vendor-sys/acpica/dist/; revision=207340 svn path=/vendor-sys/acpica/20100428/; revision=207341; tag=vendor/acpica/20100428
Diffstat (limited to 'debugger')
-rw-r--r--debugger/dbcmds.c2
-rw-r--r--debugger/dbdisply.c14
2 files changed, 13 insertions, 3 deletions
diff --git a/debugger/dbcmds.c b/debugger/dbcmds.c
index 50a8b2e037e3..f8c6496a7dfa 100644
--- a/debugger/dbcmds.c
+++ b/debugger/dbcmds.c
@@ -675,7 +675,7 @@ AcpiDbDisplayTableInfo (
/* Walk the entire root table list */
- for (i = 0; i < AcpiGbl_RootTableList.Count; i++)
+ for (i = 0; i < AcpiGbl_RootTableList.CurrentTableCount; i++)
{
TableDesc = &AcpiGbl_RootTableList.Tables[i];
AcpiOsPrintf ("%d ", i);
diff --git a/debugger/dbdisply.c b/debugger/dbdisply.c
index ec4715bddf69..a610d802c8d7 100644
--- a/debugger/dbdisply.c
+++ b/debugger/dbdisply.c
@@ -816,6 +816,7 @@ AcpiDbDisplayGpes (
ACPI_GPE_XRUPT_INFO *GpeXruptInfo;
ACPI_GPE_EVENT_INFO *GpeEventInfo;
ACPI_GPE_REGISTER_INFO *GpeRegisterInfo;
+ char *GpeType;
UINT32 GpeIndex;
UINT32 Block = 0;
UINT32 i;
@@ -844,8 +845,17 @@ AcpiDbDisplayGpes (
AcpiOsPrintf ("Could not convert name to pathname\n");
}
- AcpiOsPrintf ("\nBlock %d - Info %p DeviceNode %p [%s]\n",
- Block, GpeBlock, GpeBlock->Node, Buffer);
+ if (GpeBlock->Node == AcpiGbl_FadtGpeDevice)
+ {
+ GpeType = "FADT-defined GPE block";
+ }
+ else
+ {
+ GpeType = "GPE Block Device";
+ }
+
+ AcpiOsPrintf ("\nBlock %d - Info %p DeviceNode %p [%s] - %s\n",
+ Block, GpeBlock, GpeBlock->Node, Buffer, GpeType);
AcpiOsPrintf (" Registers: %u (%u GPEs)\n",
GpeBlock->RegisterCount, GpeBlock->GpeCount);