summaryrefslogtreecommitdiff
path: root/i386/include
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2015-04-01 14:01:14 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-09-14 14:48:10 +0200
commitcffbf7da5b877fb86feb080f1a1022a5d134f63e (patch)
tree75c6eff2ed416c768d73ee573bb58075ade80b27 /i386/include
parent4b7cc639b7804143c890af424e3dc7cceef59d38 (diff)
XXX pmm from x15, userspace crashes soon
Diffstat (limited to 'i386/include')
-rw-r--r--i386/include/mach/i386/vm_types.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/i386/include/mach/i386/vm_types.h b/i386/include/mach/i386/vm_types.h
index 1439940..47badad 100644
--- a/i386/include/mach/i386/vm_types.h
+++ b/i386/include/mach/i386/vm_types.h
@@ -77,6 +77,15 @@ typedef unsigned long vm_offset_t;
typedef vm_offset_t * vm_offset_array_t;
/*
+ * A phys_addr_t is a physical address.
+ */
+#if PAE
+typedef unsigned long long phys_addr_t;
+#else /* PAE */
+typedef unsigned long phys_addr_t;
+#endif /* PAE */
+
+/*
* A vm_size_t is the proper type for e.g.
* expressing the difference between two
* vm_offset_t entities.