diff options
author | peter <peter@FreeBSD.org> | 2003-11-04 01:07:04 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-11-04 01:07:04 +0000 |
commit | 001816b2ace839c43043f10999984076aa2dfb9e (patch) | |
tree | 66e7c0e5e30b7235e38444af754b6d29eabc5d3b /sys/amd64/acpica | |
parent | 482fc15052e75fb79667ea8cc7f8d4253315f3cd (diff) | |
download | FreeBSD-src-001816b2ace839c43043f10999984076aa2dfb9e.zip FreeBSD-src-001816b2ace839c43043f10999984076aa2dfb9e.tar.gz |
Make this compile with PAE.
Diffstat (limited to 'sys/amd64/acpica')
-rw-r--r-- | sys/amd64/acpica/madt.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/amd64/acpica/madt.c b/sys/amd64/acpica/madt.c index 4928774..0c5d615 100644 --- a/sys/amd64/acpica/madt.c +++ b/sys/amd64/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) { |