mirror of
https://github.com/golang/sys.git
synced 2026-02-08 03:36:03 +03:00
cpu: add basic support for GOARCH=riscv64
Updates golang/go#27532 Change-Id: I7250f272ff46f2765d498a97644fb570ae745a6c Reviewed-on: https://go-review.googlesource.com/c/sys/+/206860 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
committed by
Brad Fitzpatrick
parent
e43da5d1f2
commit
2f3576d2c5
9
cpu/cpu_riscv64.go
Normal file
9
cpu/cpu_riscv64.go
Normal file
@@ -0,0 +1,9 @@
|
||||
// Copyright 2019 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.
|
||||
|
||||
// +build riscv64
|
||||
|
||||
package cpu
|
||||
|
||||
const cacheLineSize = 32
|
||||
Reference in New Issue
Block a user