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/ppc/cgo -- -Wall -Werror -static -I/tmp/ppc/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 ppc && linux |
4 //go:build ppc && linux |
5 // +build ppc,linux |
5 // +build ppc,linux |
6 |
6 |
174 Len uint32 |
174 Len uint32 |
175 Level int32 |
175 Level int32 |
176 Type int32 |
176 Type int32 |
177 } |
177 } |
178 |
178 |
|
179 type ifreq struct { |
|
180 Ifrn [16]byte |
|
181 Ifru [16]byte |
|
182 } |
|
183 |
179 const ( |
184 const ( |
180 SizeofSockaddrNFCLLCP = 0x58 |
185 SizeofSockaddrNFCLLCP = 0x58 |
181 SizeofIovec = 0x8 |
186 SizeofIovec = 0x8 |
182 SizeofMsghdr = 0x1c |
187 SizeofMsghdr = 0x1c |
183 SizeofCmsghdr = 0xc |
188 SizeofCmsghdr = 0xc |
237 Fd int32 |
242 Fd int32 |
238 Pad int32 |
243 Pad int32 |
239 } |
244 } |
240 |
245 |
241 const ( |
246 const ( |
|
247 OPEN_TREE_CLOEXEC = 0x80000 |
|
248 ) |
|
249 |
|
250 const ( |
242 POLLRDHUP = 0x2000 |
251 POLLRDHUP = 0x2000 |
243 ) |
252 ) |
244 |
253 |
245 type Sigset_t struct { |
254 type Sigset_t struct { |
246 Val [32]uint32 |
255 Val [32]uint32 |
247 } |
256 } |
248 |
257 |
249 const _C__NSIG = 0x41 |
258 const _C__NSIG = 0x41 |
|
259 |
|
260 type Siginfo struct { |
|
261 Signo int32 |
|
262 Errno int32 |
|
263 Code int32 |
|
264 _ [116]byte |
|
265 } |
250 |
266 |
251 type Termios struct { |
267 type Termios struct { |
252 Iflag uint32 |
268 Iflag uint32 |
253 Oflag uint32 |
269 Oflag uint32 |
254 Cflag uint32 |
270 Cflag uint32 |
307 Freepages_count uint64 |
323 Freepages_count uint64 |
308 Freepages_delay_total uint64 |
324 Freepages_delay_total uint64 |
309 Thrashing_count uint64 |
325 Thrashing_count uint64 |
310 Thrashing_delay_total uint64 |
326 Thrashing_delay_total uint64 |
311 Ac_btime64 uint64 |
327 Ac_btime64 uint64 |
|
328 Compact_count uint64 |
|
329 Compact_delay_total uint64 |
|
330 Ac_tgid uint32 |
|
331 _ [4]byte |
|
332 Ac_tgetime uint64 |
|
333 Ac_exe_dev uint64 |
|
334 Ac_exe_inode uint64 |
|
335 Wpcopy_count uint64 |
|
336 Wpcopy_delay_total uint64 |
312 } |
337 } |
313 |
338 |
314 type cpuMask uint32 |
339 type cpuMask uint32 |
315 |
340 |
316 const ( |
341 const ( |
635 PPS_GETPARAMS = 0x400470a1 |
660 PPS_GETPARAMS = 0x400470a1 |
636 PPS_SETPARAMS = 0x800470a2 |
661 PPS_SETPARAMS = 0x800470a2 |
637 PPS_GETCAP = 0x400470a3 |
662 PPS_GETCAP = 0x400470a3 |
638 PPS_FETCH = 0xc00470a4 |
663 PPS_FETCH = 0xc00470a4 |
639 ) |
664 ) |
|
665 |
|
666 const ( |
|
667 PIDFD_NONBLOCK = 0x800 |
|
668 ) |
|
669 |
|
670 type SysvIpcPerm struct { |
|
671 Key int32 |
|
672 Uid uint32 |
|
673 Gid uint32 |
|
674 Cuid uint32 |
|
675 Cgid uint32 |
|
676 Mode uint32 |
|
677 Seq uint32 |
|
678 _ uint32 |
|
679 _ uint64 |
|
680 _ uint64 |
|
681 } |
|
682 type SysvShmDesc struct { |
|
683 Perm SysvIpcPerm |
|
684 Atime_high uint32 |
|
685 Atime uint32 |
|
686 Dtime_high uint32 |
|
687 Dtime uint32 |
|
688 Ctime_high uint32 |
|
689 Ctime uint32 |
|
690 _ uint32 |
|
691 Segsz uint32 |
|
692 Cpid int32 |
|
693 Lpid int32 |
|
694 Nattch uint32 |
|
695 _ uint32 |
|
696 _ uint32 |
|
697 _ [4]byte |
|
698 } |