summaryrefslogtreecommitdiffstats
path: root/src/runtime/internal/sys/arch_riscv64.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/internal/sys/arch_riscv64.go')
-rw-r--r--src/runtime/internal/sys/arch_riscv64.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/runtime/internal/sys/arch_riscv64.go b/src/runtime/internal/sys/arch_riscv64.go
new file mode 100644
index 0000000..7cdcc8f
--- /dev/null
+++ b/src/runtime/internal/sys/arch_riscv64.go
@@ -0,0 +1,18 @@
+// 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 sys
+
+const (
+ ArchFamily = RISCV64
+ BigEndian = false
+ CacheLineSize = 64
+ DefaultPhysPageSize = 4096
+ PCQuantum = 4
+ Int64Align = 8
+ HugePageSize = 1 << 21
+ MinFrameSize = 8
+)
+
+type Uintreg uint64