summaryrefslogtreecommitdiffstats
path: root/sys/i386/acpica
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-11-04 01:07:04 +0000
committerpeter <peter@FreeBSD.org>2003-11-04 01:07:04 +0000
commit001816b2ace839c43043f10999984076aa2dfb9e (patch)
tree66e7c0e5e30b7235e38444af754b6d29eabc5d3b /sys/i386/acpica
parent482fc15052e75fb79667ea8cc7f8d4253315f3cd (diff)
downloadFreeBSD-src-001816b2ace839c43043f10999984076aa2dfb9e.zip
FreeBSD-src-001816b2ace839c43043f10999984076aa2dfb9e.tar.gz
Make this compile with PAE.
Diffstat (limited to 'sys/i386/acpica')
-rw-r--r--sys/i386/acpica/madt.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/i386/acpica/madt.c b/sys/i386/acpica/madt.c
index 4928774..0c5d615 100644
--- a/sys/i386/acpica/madt.c
+++ b/sys/i386/acpica/madt.c
@@ -247,7 +247,8 @@ madt_probe(void)
return (ENXIO);
}
if (bootverbose)
- printf("MADT: Found table at %p\n", (void *)madt_physaddr);
+ printf("MADT: Found table at 0x%jx\n",
+ (uintmax_t)madt_physaddr);
return (0);
}
@@ -263,13 +264,13 @@ madt_probe_table(vm_paddr_t address)
table = madt_map(address, 0, sizeof(ACPI_TABLE_HEADER));
if (table == NULL) {
if (bootverbose)
- printf("MADT: Failed to map table at %p\n",
- (void *)address);
+ printf("MADT: Failed to map table at 0x%jx\n",
+ (uintmax_t)address);
return (0);
}
if (bootverbose)
- printf("Table '%.4s' at %p\n", table->Signature,
- (void *)address);
+ printf("Table '%.4s' at 0x%jx\n", table->Signature,
+ (uintmax_t)address);
/* XXX: Verify checksum? */
if (strncmp(table->Signature, APIC_SIG, 4) != 0) {
OpenPOWER on IntegriCloud