diff options
author | Peter Wemm <peter@FreeBSD.org> | 2003-11-04 01:07:04 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 2003-11-04 01:07:04 +0000 |
commit | 93c3f67fe791179eb62241897504220af5c5e2ff (patch) | |
tree | 66e7c0e5e30b7235e38444af754b6d29eabc5d3b /sys/amd64/acpica/madt.c | |
parent | 2cb7584b6985fd613bd18dd997b08514a652efa2 (diff) | |
download | src-93c3f67fe791179eb62241897504220af5c5e2ff.tar.gz src-93c3f67fe791179eb62241897504220af5c5e2ff.zip |
Make this compile with PAE.
Notes
Notes:
svn path=/head/; revision=122016
Diffstat (limited to 'sys/amd64/acpica/madt.c')
-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 4928774f1e2f..0c5d615a12ed 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) { |