mirror of
https://github.com/golang/go
synced 2024-11-23 06:10:05 -07:00
runtime: revise openbsd/arm runtime defs
The OpenBSD arm port switched to EABI in September 2016 - this revises the layout of the runtime definitions to match what the kernel currently uses. Change-Id: I1bca7de56979f576862a7c280631e835f7ae4278 Reviewed-on: https://go-review.googlesource.com/c/153577 Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
01e072db5d
commit
47a71d9d77
@ -130,8 +130,9 @@ type stackt struct {
|
||||
}
|
||||
|
||||
type timespec struct {
|
||||
tv_sec int64
|
||||
tv_nsec int32
|
||||
tv_sec int64
|
||||
tv_nsec int32
|
||||
pad_cgo_0 [4]byte
|
||||
}
|
||||
|
||||
func (ts *timespec) set_sec(x int64) {
|
||||
@ -143,8 +144,9 @@ func (ts *timespec) set_nsec(x int32) {
|
||||
}
|
||||
|
||||
type timeval struct {
|
||||
tv_sec int64
|
||||
tv_usec int32
|
||||
tv_sec int64
|
||||
tv_usec int32
|
||||
pad_cgo_0 [4]byte
|
||||
}
|
||||
|
||||
func (tv *timeval) set_usec(x int32) {
|
||||
@ -157,10 +159,12 @@ type itimerval struct {
|
||||
}
|
||||
|
||||
type keventt struct {
|
||||
ident uint32
|
||||
filter int16
|
||||
flags uint16
|
||||
fflags uint32
|
||||
data int64
|
||||
udata *byte
|
||||
ident uint32
|
||||
filter int16
|
||||
flags uint16
|
||||
fflags uint32
|
||||
pad_cgo_0 [4]byte
|
||||
data int64
|
||||
udata *byte
|
||||
pad_cgo_1 [4]byte
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user