summaryrefslogtreecommitdiff
path: root/sys/src/libmach
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-02-03 22:39:07 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2014-02-03 22:39:07 +0100
commitfefc7b526da85c55d3cad66bfe8b565ac40f78d1 (patch)
tree071f63e7e6f645774882adabd0a63814181c5eed /sys/src/libmach
parentbfbb68a71290a31d373756dc5ca8da54094875bd (diff)
libmach: change mach pgsize back from 4K to 2MB for amd64
the Mach page size is used to calculate segment alignment. its not the real effective page size used by the kernel. this fixes acid.
Diffstat (limited to 'sys/src/libmach')
-rw-r--r--sys/src/libmach/6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/libmach/6.c b/sys/src/libmach/6.c
index 61ff60b3c..a4d7d2e67 100644
--- a/sys/src/libmach/6.c
+++ b/sys/src/libmach/6.c
@@ -105,7 +105,7 @@ Mach mamd64=
0, /* link register */
"setSB", /* static base register name (bogus anyways) */
0, /* static base register value */
- 0x1000, /* page size */
+ 0x200000, /* page size (for segment alignment) */
0xffffffff80110000ull, /* kernel base */
0xffff800000000000ull, /* kernel text mask */
0x00007ffffffff000ull, /* user stack top */