From cffbf7da5b877fb86feb080f1a1022a5d134f63e Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Wed, 1 Apr 2015 14:01:14 +0200 Subject: XXX pmm from x15, userspace crashes soon --- i386/include/mach/i386/vm_types.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'i386/include') 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 @@ -76,6 +76,15 @@ typedef unsigned int uint32; 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 -- cgit v1.2.3