mirror of
https://github.com/golang/go
synced 2024-11-23 10:50:09 -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
@ -132,6 +132,7 @@ type stackt struct {
|
|||||||
type timespec struct {
|
type timespec struct {
|
||||||
tv_sec int64
|
tv_sec int64
|
||||||
tv_nsec int32
|
tv_nsec int32
|
||||||
|
pad_cgo_0 [4]byte
|
||||||
}
|
}
|
||||||
|
|
||||||
func (ts *timespec) set_sec(x int64) {
|
func (ts *timespec) set_sec(x int64) {
|
||||||
@ -145,6 +146,7 @@ func (ts *timespec) set_nsec(x int32) {
|
|||||||
type timeval struct {
|
type timeval struct {
|
||||||
tv_sec int64
|
tv_sec int64
|
||||||
tv_usec int32
|
tv_usec int32
|
||||||
|
pad_cgo_0 [4]byte
|
||||||
}
|
}
|
||||||
|
|
||||||
func (tv *timeval) set_usec(x int32) {
|
func (tv *timeval) set_usec(x int32) {
|
||||||
@ -161,6 +163,8 @@ type keventt struct {
|
|||||||
filter int16
|
filter int16
|
||||||
flags uint16
|
flags uint16
|
||||||
fflags uint32
|
fflags uint32
|
||||||
|
pad_cgo_0 [4]byte
|
||||||
data int64
|
data int64
|
||||||
udata *byte
|
udata *byte
|
||||||
|
pad_cgo_1 [4]byte
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user