Commit 30d60936 authored by Shenghou Ma's avatar Shenghou Ma

syscall: update NetBSD/ARM port to EABI.

LGTM=jsing
R=golang-codereviews, jsing
CC=golang-codereviews
https://golang.org/cl/70720043
parent 8d77d2c8
// mksyscall.pl -l32 -netbsd syscall_bsd.go syscall_netbsd.go syscall_netbsd_arm.go // mksyscall.pl -l32 -arm syscall_bsd.go syscall_netbsd.go syscall_netbsd_arm.go
// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT // MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
package syscall package syscall
......
...@@ -19,13 +19,15 @@ type ( ...@@ -19,13 +19,15 @@ type (
) )
type Timespec struct { type Timespec struct {
Sec int64 Sec int64
Nsec int32 Nsec int32
Pad_cgo_0 [4]byte
} }
type Timeval struct { type Timeval struct {
Sec int64 Sec int64
Usec int32 Usec int32
Pad_cgo_0 [4]byte
} }
type Rusage struct { type Rusage struct {
...@@ -57,10 +59,12 @@ type _Gid_t uint32 ...@@ -57,10 +59,12 @@ type _Gid_t uint32
type Stat_t struct { type Stat_t struct {
Dev uint64 Dev uint64
Mode uint32 Mode uint32
Pad_cgo_0 [4]byte
Ino uint64 Ino uint64
Nlink uint32 Nlink uint32
Uid uint32 Uid uint32
Gid uint32 Gid uint32
Pad_cgo_1 [4]byte
Rdev uint64 Rdev uint64
Atimespec Timespec Atimespec Timespec
Mtimespec Timespec Mtimespec Timespec
...@@ -72,6 +76,7 @@ type Stat_t struct { ...@@ -72,6 +76,7 @@ type Stat_t struct {
Flags uint32 Flags uint32
Gen uint32 Gen uint32
Spare [2]uint32 Spare [2]uint32
Pad_cgo_2 [4]byte
} }
type Statfs_t [0]byte type Statfs_t [0]byte
...@@ -217,12 +222,13 @@ const ( ...@@ -217,12 +222,13 @@ const (
) )
type Kevent_t struct { type Kevent_t struct {
Ident uint32 Ident uint32
Filter uint32 Filter uint32
Flags uint32 Flags uint32
Fflags uint32 Fflags uint32
Data int64 Data int64
Udata int32 Udata int32
Pad_cgo_0 [4]byte
} }
type FdSet struct { type FdSet struct {
...@@ -231,7 +237,7 @@ type FdSet struct { ...@@ -231,7 +237,7 @@ type FdSet struct {
const ( const (
SizeofIfMsghdr = 0x98 SizeofIfMsghdr = 0x98
SizeofIfData = 0x84 SizeofIfData = 0x88
SizeofIfaMsghdr = 0x18 SizeofIfaMsghdr = 0x18
SizeofIfAnnounceMsghdr = 0x18 SizeofIfAnnounceMsghdr = 0x18
SizeofRtMsghdr = 0x78 SizeofRtMsghdr = 0x78
...@@ -247,7 +253,6 @@ type IfMsghdr struct { ...@@ -247,7 +253,6 @@ type IfMsghdr struct {
Index uint16 Index uint16
Pad_cgo_0 [2]byte Pad_cgo_0 [2]byte
Data IfData Data IfData
Pad_cgo_1 [4]byte
} }
type IfData struct { type IfData struct {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment