github.com/riscv/riscv-go@v0.0.0-20200123204226-124ebd6fcc8e/src/runtime/internal/sys/arch_riscv.go (about)

     1  // Copyright 2016 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package sys
     6  
     7  const (
     8  	ArchFamily    = RISCV
     9  	BigEndian     = 0
    10  	CacheLineSize = 64   // TODO(prattmic)
    11  	PhysPageSize  = 4096 // TODO(prattmic)
    12  	PCQuantum     = 4
    13  	Int64Align    = 8
    14  	HugePageSize  = 1 << 21
    15  	MinFrameSize  = 8
    16  )
    17  
    18  type Uintreg uint64