|author||Mark Ryan <firstname.lastname@example.org>||Tue Jul 18 12:41:15 2023 +0000|
|committer||Gopher Robot <email@example.com>||Wed Jul 26 11:14:25 2023 +0000|
unix: add riscv_hwprobe for riscv64 The riscv_hwprobe system call was introduced in Linux 6.4 and allows the caller to determine a number of interesting pieces of information about the underlying RISC-V CPUs, e.g., which extensions they support and whether they allow fast unaligned memory accesses. For more information please see: https://docs.kernel.org/riscv/hwprobe.html We also update linux/mksysnum.go to ensure that the generated syscall constants written to the zsysnum_linux_*.go files are always sorted by their syscall numbers in ascending order. Updates golang/go#61416 Change-Id: Iedb0a86adb65faac9061b9a5969ffa09eb5b303a Reviewed-on: https://go-review.googlesource.com/c/sys/+/510795 TryBot-Result: Gopher Robot <firstname.lastname@example.org> Reviewed-by: Matthew Dempsky <email@example.com> Auto-Submit: Ian Lance Taylor <firstname.lastname@example.org> Reviewed-by: Ian Lance Taylor <email@example.com> Run-TryBot: Ian Lance Taylor <firstname.lastname@example.org>
This repository holds supplemental Go packages for low-level interactions with the operating system.
The easiest way to install is to run
go get -u golang.org/x/sys. You can also manually git clone the repository to
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the sys repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/sys:” in the subject line, so it is easy to find.