summaryrefslogtreecommitdiff
path: root/source/components/tables
diff options
context:
space:
mode:
authorRobert Moore <Robert.Moore@intel.com>2013-12-19 13:27:52 -0800
committerRobert Moore <Robert.Moore@intel.com>2013-12-19 13:27:52 -0800
commit2a73308032cc7b0d216546749e8417279eb1f6c8 (patch)
treef240fbfe39fe7c568ac29345fdc6107e6c9703f1 /source/components/tables
parent8fd9eb7c0296fa456d149ca757d35accac6cc430 (diff)
downloadacpica-2a73308032cc7b0d216546749e8417279eb1f6c8.tar.gz
Deploy new 32/64 printf support for table override mechanism.
Similar to the earlier tbprint.c change.
Diffstat (limited to 'source/components/tables')
-rw-r--r--source/components/tables/tbinstal.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/source/components/tables/tbinstal.c b/source/components/tables/tbinstal.c
index 429abbc7c..4ebd51b50 100644
--- a/source/components/tables/tbinstal.c
+++ b/source/components/tables/tbinstal.c
@@ -387,9 +387,10 @@ AcpiTbTableOverride (
if (!NewTable)
{
ACPI_EXCEPTION ((AE_INFO, AE_NO_MEMORY,
- "%4.4s %p Attempted physical table override failed",
+ "%4.4s " ACPI_PRINTF_UINT
+ " Attempted physical table override failed",
TableHeader->Signature,
- ACPI_CAST_PTR (void, TableDesc->Address)));
+ ACPI_FORMAT_TO_UINT (TableDesc->Address)));
return (NULL);
}
@@ -403,11 +404,11 @@ AcpiTbTableOverride (
FinishOverride:
- ACPI_INFO ((AE_INFO,
- "%4.4s %p %s table override, new table: %p",
+ ACPI_INFO ((AE_INFO, "%4.4s " ACPI_PRINTF_UINT
+ " %s table override, new table: " ACPI_PRINTF_UINT,
TableHeader->Signature,
- ACPI_CAST_PTR (void, TableDesc->Address),
- OverrideType, NewTable));
+ ACPI_FORMAT_TO_UINT (TableDesc->Address),
+ OverrideType, ACPI_FORMAT_TO_UINT (NewTable)));
/* We can now unmap/delete the original table (if fully mapped) */