Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add type definitions for riscv64 FreeBSD #1652

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions cpu/cpu_freebsd_riscv64.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package cpu

type cpuTimes struct {
User uint64
Nice uint64
Sys uint64
Intr uint64
Idle uint64
}
68 changes: 68 additions & 0 deletions disk/disk_freebsd_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_freebsd_riscv64.go

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

2 changes: 1 addition & 1 deletion host/types_freebsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ package host
#include <sys/types.h>
#include <sys/time.h>
#include <utmpx.h>
#include "freebsd_headers/utxdb.h"
#include "host/freebsd_headers/utxdb.h"

enum {
sizeofPtr = sizeof(void*),
Expand Down
203 changes: 203 additions & 0 deletions process/process_freebsd_riscv64.go

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

Loading