From 783ae539c3e44d35afb500b405ff986b3033bc4a Mon Sep 17 00:00:00 2001 From: jake Date: Tue, 25 Mar 2003 00:07:06 +0000 Subject: - Add vm_paddr_t, a physical address type. This is required for systems where physical addresses larger than virtual addresses, such as i386s with PAE. - Use this to represent physical addresses in the MI vm system and in the i386 pmap code. This also changes the paddr parameter to d_mmap_t. - Fix printf formats to handle physical addresses >4G in the i386 memory detection code, and due to kvtop returning vm_paddr_t instead of u_long. Note that this is a name change only; vm_paddr_t is still the same as vm_offset_t on all currently supported platforms. Sponsored by: DARPA, Network Associates Laboratories Discussed with: re, phk (cdevsw change) --- sys/amd64/include/mptable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/amd64/include/mptable.h') diff --git a/sys/amd64/include/mptable.h b/sys/amd64/include/mptable.h index edd83e3..12d7578 100644 --- a/sys/amd64/include/mptable.h +++ b/sys/amd64/include/mptable.h @@ -2576,7 +2576,7 @@ ap_init(void) if (PCPU_GET(cpuid) != apic_id) { printf("SMP: cpuid = %d\n", PCPU_GET(cpuid)); printf("SMP: apic_id = %d\n", apic_id); - printf("PTD[MPPTDI] = %p\n", (void *)PTD[MPPTDI]); + printf("PTD[MPPTDI] = %#jx\n", (uintmax_t)PTD[MPPTDI]); panic("cpuid mismatch! boom!!"); } -- cgit v1.1