summaryrefslogtreecommitdiff
path: root/goarch/goarch_riscv64.go
diff options
context:
space:
mode:
Diffstat (limited to 'goarch/goarch_riscv64.go')
-rw-r--r--goarch/goarch_riscv64.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/goarch/goarch_riscv64.go b/goarch/goarch_riscv64.go
new file mode 100644
index 0000000..3b6da1e
--- /dev/null
+++ b/goarch/goarch_riscv64.go
@@ -0,0 +1,13 @@
+// Copyright 2016 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package goarch
+
+const (
+ _ArchFamily = RISCV64
+ _DefaultPhysPageSize = 4096
+ _PCQuantum = 4
+ _MinFrameSize = 8
+ _StackAlign = PtrSize
+)