summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/arch_386.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/arch_386.h')
-rw-r--r--src/pkg/runtime/arch_386.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pkg/runtime/arch_386.h b/src/pkg/runtime/arch_386.h
index ebdb3ff4e..5c0a54f8c 100644
--- a/src/pkg/runtime/arch_386.h
+++ b/src/pkg/runtime/arch_386.h
@@ -7,5 +7,10 @@ enum {
BigEndian = 0,
CacheLineSize = 64,
RuntimeGogoBytes = 64,
+#ifdef GOOS_nacl
+ PhysPageSize = 65536,
+#else
+ PhysPageSize = 4096,
+#endif
PCQuantum = 1
};