Skip to content

Commit

Permalink
Merge pull request #1594 from jmatthew/openbsd-riscv64
Browse files Browse the repository at this point in the history
add support for OpenBSD/riscv64
  • Loading branch information
shirou committed Feb 13, 2024
2 parents cbbb240 + 6ccc605 commit 8aeaf16
Show file tree
Hide file tree
Showing 6 changed files with 329 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -32,7 +32,7 @@ can be skipped.
- Linux i386/amd64/arm(raspberry pi)
- Windows i386/amd64/arm/arm64
- Darwin amd64/arm64
- OpenBSD amd64 (Thank you @mpfz0r!)
- OpenBSD i386/amd64/armv7/arm64/riscv64 (Thank you @mpfz0r!)
- Solaris amd64 (developed and tested on SmartOS/Illumos, Thank you
@jen20!)

Expand Down
10 changes: 10 additions & 0 deletions cpu/cpu_openbsd_riscv64.go
@@ -0,0 +1,10 @@
package cpu

type cpuTimes struct {
User uint64
Nice uint64
Sys uint64
Spin uint64
Intr uint64
Idle uint64
}
40 changes: 40 additions & 0 deletions disk/disk_openbsd_riscv64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 36 additions & 0 deletions host/host_openbsd_riscv64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 38 additions & 0 deletions mem/mem_openbsd_riscv64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

204 changes: 204 additions & 0 deletions process/process_openbsd_riscv64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8aeaf16

Please sign in to comment.