github.com/geraldss/go/src@v0.0.0-20210511222824-ac7d0ebfc235/runtime/internal/sys/arch_riscv64.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          = RISCV64
     9  	BigEndian           = false
    10  	CacheLineSize       = 64
    11  	DefaultPhysPageSize = 4096
    12  	PCQuantum           = 4
    13  	Int64Align          = 8
    14  	HugePageSize        = 1 << 21
    15  	MinFrameSize        = 8
    16  )
    17  
    18  type Uintreg uint64