equal
deleted
inserted
replaced
1 // cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/linux/types.go | go run mkpost.go |
1 // cgo -godefs -objdir=/tmp/mips64/cgo -- -Wall -Werror -static -I/tmp/mips64/include linux/types.go | go run mkpost.go |
2 // Code generated by the command above; see README.md. DO NOT EDIT. |
2 // Code generated by the command above; see README.md. DO NOT EDIT. |
3 |
3 |
4 //go:build mips64 && linux |
4 //go:build mips64 && linux |
5 // +build mips64,linux |
5 // +build mips64,linux |
6 |
6 |
172 Len uint64 |
172 Len uint64 |
173 Level int32 |
173 Level int32 |
174 Type int32 |
174 Type int32 |
175 } |
175 } |
176 |
176 |
|
177 type ifreq struct { |
|
178 Ifrn [16]byte |
|
179 Ifru [24]byte |
|
180 } |
|
181 |
177 const ( |
182 const ( |
178 SizeofSockaddrNFCLLCP = 0x60 |
183 SizeofSockaddrNFCLLCP = 0x60 |
179 SizeofIovec = 0x10 |
184 SizeofIovec = 0x10 |
180 SizeofMsghdr = 0x38 |
185 SizeofMsghdr = 0x38 |
181 SizeofCmsghdr = 0x10 |
186 SizeofCmsghdr = 0x10 |
231 Fd int32 |
236 Fd int32 |
232 Pad int32 |
237 Pad int32 |
233 } |
238 } |
234 |
239 |
235 const ( |
240 const ( |
|
241 OPEN_TREE_CLOEXEC = 0x80000 |
|
242 ) |
|
243 |
|
244 const ( |
236 POLLRDHUP = 0x2000 |
245 POLLRDHUP = 0x2000 |
237 ) |
246 ) |
238 |
247 |
239 type Sigset_t struct { |
248 type Sigset_t struct { |
240 Val [16]uint64 |
249 Val [16]uint64 |
241 } |
250 } |
242 |
251 |
243 const _C__NSIG = 0x80 |
252 const _C__NSIG = 0x80 |
|
253 |
|
254 type Siginfo struct { |
|
255 Signo int32 |
|
256 Code int32 |
|
257 Errno int32 |
|
258 _ int32 |
|
259 _ [112]byte |
|
260 } |
244 |
261 |
245 type Termios struct { |
262 type Termios struct { |
246 Iflag uint32 |
263 Iflag uint32 |
247 Oflag uint32 |
264 Oflag uint32 |
248 Cflag uint32 |
265 Cflag uint32 |
299 Freepages_count uint64 |
316 Freepages_count uint64 |
300 Freepages_delay_total uint64 |
317 Freepages_delay_total uint64 |
301 Thrashing_count uint64 |
318 Thrashing_count uint64 |
302 Thrashing_delay_total uint64 |
319 Thrashing_delay_total uint64 |
303 Ac_btime64 uint64 |
320 Ac_btime64 uint64 |
|
321 Compact_count uint64 |
|
322 Compact_delay_total uint64 |
|
323 Ac_tgid uint32 |
|
324 Ac_tgetime uint64 |
|
325 Ac_exe_dev uint64 |
|
326 Ac_exe_inode uint64 |
|
327 Wpcopy_count uint64 |
|
328 Wpcopy_delay_total uint64 |
304 } |
329 } |
305 |
330 |
306 type cpuMask uint64 |
331 type cpuMask uint64 |
307 |
332 |
308 const ( |
333 const ( |
628 PPS_GETPARAMS = 0x400870a1 |
653 PPS_GETPARAMS = 0x400870a1 |
629 PPS_SETPARAMS = 0x800870a2 |
654 PPS_SETPARAMS = 0x800870a2 |
630 PPS_GETCAP = 0x400870a3 |
655 PPS_GETCAP = 0x400870a3 |
631 PPS_FETCH = 0xc00870a4 |
656 PPS_FETCH = 0xc00870a4 |
632 ) |
657 ) |
|
658 |
|
659 const ( |
|
660 PIDFD_NONBLOCK = 0x80 |
|
661 ) |
|
662 |
|
663 type SysvIpcPerm struct { |
|
664 Key int32 |
|
665 Uid uint32 |
|
666 Gid uint32 |
|
667 Cuid uint32 |
|
668 Cgid uint32 |
|
669 Mode uint32 |
|
670 _ [0]uint8 |
|
671 Seq uint16 |
|
672 _ uint16 |
|
673 _ uint64 |
|
674 _ uint64 |
|
675 } |
|
676 type SysvShmDesc struct { |
|
677 Perm SysvIpcPerm |
|
678 Segsz uint64 |
|
679 Atime int64 |
|
680 Dtime int64 |
|
681 Ctime int64 |
|
682 Cpid int32 |
|
683 Lpid int32 |
|
684 Nattch uint64 |
|
685 _ uint64 |
|
686 _ uint64 |
|
687 } |