From 803e1543c774763e92f14016f3d306aabf657153 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 6 Apr 2020 00:02:49 +0200 Subject: x86_64: Fix userland max address * i386/include/mach/i386/vm_param.h (VM_MAX_ADDRESS) [__x86_64__]: Set to 0x40000000UL. --- i386/include/mach/i386/vm_param.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/i386/include/mach/i386/vm_param.h b/i386/include/mach/i386/vm_param.h index 3a209b83..a684ed97 100644 --- a/i386/include/mach/i386/vm_param.h +++ b/i386/include/mach/i386/vm_param.h @@ -73,6 +73,10 @@ with that. */ #define VM_MIN_ADDRESS (0) +#ifdef __x86_64__ +#define VM_MAX_ADDRESS (0x40000000UL) +#else #define VM_MAX_ADDRESS (0xc0000000UL) +#endif #endif /* _MACH_I386_VM_PARAM_H_ */ -- cgit v1.2.3