aboutsummaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
Diffstat (limited to 'i386')
-rw-r--r--i386/i386at/model_dep.c2
-rw-r--r--i386/include/mach/i386/vm_types.h5
2 files changed, 5 insertions, 2 deletions
diff --git a/i386/i386at/model_dep.c b/i386/i386at/model_dep.c
index 02adec17..72798fd4 100644
--- a/i386/i386at/model_dep.c
+++ b/i386/i386at/model_dep.c
@@ -574,7 +574,7 @@ void c_boot_entry(vm_offset_t bi)
strtab_size = (vm_offset_t)phystokv(boot_info.syms.a.strsize);
kern_sym_end = kern_sym_start + 4 + symtab_size + strtab_size;
- printf("kernel symbol table at %08lx-%08lx (%d,%d)\n",
+ printf("kernel symbol table at %08lx-%08lx (%ld,%ld)\n",
kern_sym_start, kern_sym_end,
symtab_size, strtab_size);
}
diff --git a/i386/include/mach/i386/vm_types.h b/i386/include/mach/i386/vm_types.h
index 4e259f9b..78fb805b 100644
--- a/i386/include/mach/i386/vm_types.h
+++ b/i386/include/mach/i386/vm_types.h
@@ -48,6 +48,9 @@
* a port in user space as an integer and
* in kernel space as a pointer.
*/
+#ifdef __x86_64__
+// unsigned long ?
+#endif
typedef unsigned int natural_t;
/*
@@ -80,7 +83,7 @@ typedef unsigned long phys_addr_t;
* expressing the difference between two
* vm_offset_t entities.
*/
-typedef natural_t vm_size_t;
+typedef unsigned long vm_size_t;
#endif /* __ASSEMBLER__ */