summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2010-11-14 12:39:32 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2010-11-14 12:39:32 +0100
commit3558c6edf0a4dd3ed317e0013bad31b4c14f7419 (patch)
tree8de549d456da9121cf5e9e10c5beac8046ff62f4 /debian/patches
parente8a02a84488a44e60751b38488b71cf82e156216 (diff)
Move User/Kernel limit to 2GiB
* debian/patches/60_bigmem.patch: Add patch to support almost up to 2GiB memory. * debian/control: Make gnumach packages break glibc versions before the one which can cope with > 1GiB memory support.
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/60_bigmem.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/60_bigmem.patch b/debian/patches/60_bigmem.patch
new file mode 100644
index 0000000..b0dd482
--- /dev/null
+++ b/debian/patches/60_bigmem.patch
@@ -0,0 +1,15 @@
+Push kernel/user limit to 2GiB, so Mach can address up to close to 2GiB memory.
+This makes glibc's local-bigmem.diff patch mandatory.
+
+diff --git a/i386/include/mach/i386/vm_param.h b/i386/include/mach/i386/vm_param.h
+index 6d7c5f3..839ae68 100644
+--- a/i386/include/mach/i386/vm_param.h
++++ b/i386/include/mach/i386/vm_param.h
+@@ -73,6 +73,6 @@
+ with that.
+ */
+ #define VM_MIN_ADDRESS (0)
+-#define VM_MAX_ADDRESS (0xc0000000UL)
++#define VM_MAX_ADDRESS (0x80000000UL)
+
+ #endif /* _MACH_I386_VM_PARAM_H_ */