Skip to content

Commit 8aeaf16

Browse files
authored
Merge pull request #1594 from jmatthew/openbsd-riscv64
add support for OpenBSD/riscv64
2 parents cbbb240 + 6ccc605 commit 8aeaf16

6 files changed

+329
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ can be skipped.
3232
- Linux i386/amd64/arm(raspberry pi)
3333
- Windows i386/amd64/arm/arm64
3434
- Darwin amd64/arm64
35-
- OpenBSD amd64 (Thank you @mpfz0r!)
35+
- OpenBSD i386/amd64/armv7/arm64/riscv64 (Thank you @mpfz0r!)
3636
- Solaris amd64 (developed and tested on SmartOS/Illumos, Thank you
3737
@jen20!)
3838

cpu/cpu_openbsd_riscv64.go

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package cpu
2+
3+
type cpuTimes struct {
4+
User uint64
5+
Nice uint64
6+
Sys uint64
7+
Spin uint64
8+
Intr uint64
9+
Idle uint64
10+
}

disk/disk_openbsd_riscv64.go

+40
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

host/host_openbsd_riscv64.go

+36
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mem/mem_openbsd_riscv64.go

+38
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

process/process_openbsd_riscv64.go

+204
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)