summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/arch_amd64.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/arch_amd64.h')
-rw-r--r--src/pkg/runtime/arch_amd64.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/pkg/runtime/arch_amd64.h b/src/pkg/runtime/arch_amd64.h
index 2bddf0796..c8a21847c 100644
--- a/src/pkg/runtime/arch_amd64.h
+++ b/src/pkg/runtime/arch_amd64.h
@@ -6,6 +6,15 @@ enum {
thechar = '6',
BigEndian = 0,
CacheLineSize = 64,
+#ifdef GOOS_solaris
+ RuntimeGogoBytes = 80,
+#else
+#ifdef GOOS_windows
+ RuntimeGogoBytes = 80,
+#else
RuntimeGogoBytes = 64,
+#endif // Windows
+#endif // Solaris
+ PhysPageSize = 4096,
PCQuantum = 1
};