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/riscv64/cgo -- -Wall -Werror -static -I/tmp/riscv64/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 riscv64 && linux |
4 //go:build riscv64 && linux |
5 // +build riscv64,linux |
5 // +build riscv64,linux |
6 |
6 |
170 |
170 |
171 type Cmsghdr struct { |
171 type Cmsghdr struct { |
172 Len uint64 |
172 Len uint64 |
173 Level int32 |
173 Level int32 |
174 Type int32 |
174 Type int32 |
|
175 } |
|
176 |
|
177 type ifreq struct { |
|
178 Ifrn [16]byte |
|
179 Ifru [24]byte |
175 } |
180 } |
176 |
181 |
177 const ( |
182 const ( |
178 SizeofSockaddrNFCLLCP = 0x60 |
183 SizeofSockaddrNFCLLCP = 0x60 |
179 SizeofIovec = 0x10 |
184 SizeofIovec = 0x10 |
256 Fd int32 |
261 Fd int32 |
257 Pad int32 |
262 Pad int32 |
258 } |
263 } |
259 |
264 |
260 const ( |
265 const ( |
|
266 OPEN_TREE_CLOEXEC = 0x80000 |
|
267 ) |
|
268 |
|
269 const ( |
261 POLLRDHUP = 0x2000 |
270 POLLRDHUP = 0x2000 |
262 ) |
271 ) |
263 |
272 |
264 type Sigset_t struct { |
273 type Sigset_t struct { |
265 Val [16]uint64 |
274 Val [16]uint64 |
266 } |
275 } |
267 |
276 |
268 const _C__NSIG = 0x41 |
277 const _C__NSIG = 0x41 |
|
278 |
|
279 type Siginfo struct { |
|
280 Signo int32 |
|
281 Errno int32 |
|
282 Code int32 |
|
283 _ int32 |
|
284 _ [112]byte |
|
285 } |
269 |
286 |
270 type Termios struct { |
287 type Termios struct { |
271 Iflag uint32 |
288 Iflag uint32 |
272 Oflag uint32 |
289 Oflag uint32 |
273 Cflag uint32 |
290 Cflag uint32 |
324 Freepages_count uint64 |
341 Freepages_count uint64 |
325 Freepages_delay_total uint64 |
342 Freepages_delay_total uint64 |
326 Thrashing_count uint64 |
343 Thrashing_count uint64 |
327 Thrashing_delay_total uint64 |
344 Thrashing_delay_total uint64 |
328 Ac_btime64 uint64 |
345 Ac_btime64 uint64 |
|
346 Compact_count uint64 |
|
347 Compact_delay_total uint64 |
|
348 Ac_tgid uint32 |
|
349 Ac_tgetime uint64 |
|
350 Ac_exe_dev uint64 |
|
351 Ac_exe_inode uint64 |
|
352 Wpcopy_count uint64 |
|
353 Wpcopy_delay_total uint64 |
329 } |
354 } |
330 |
355 |
331 type cpuMask uint64 |
356 type cpuMask uint64 |
332 |
357 |
333 const ( |
358 const ( |
653 PPS_GETPARAMS = 0x800870a1 |
678 PPS_GETPARAMS = 0x800870a1 |
654 PPS_SETPARAMS = 0x400870a2 |
679 PPS_SETPARAMS = 0x400870a2 |
655 PPS_GETCAP = 0x800870a3 |
680 PPS_GETCAP = 0x800870a3 |
656 PPS_FETCH = 0xc00870a4 |
681 PPS_FETCH = 0xc00870a4 |
657 ) |
682 ) |
|
683 |
|
684 const ( |
|
685 PIDFD_NONBLOCK = 0x800 |
|
686 ) |
|
687 |
|
688 type SysvIpcPerm struct { |
|
689 Key int32 |
|
690 Uid uint32 |
|
691 Gid uint32 |
|
692 Cuid uint32 |
|
693 Cgid uint32 |
|
694 Mode uint32 |
|
695 _ [0]uint8 |
|
696 Seq uint16 |
|
697 _ uint16 |
|
698 _ uint64 |
|
699 _ uint64 |
|
700 } |
|
701 type SysvShmDesc struct { |
|
702 Perm SysvIpcPerm |
|
703 Segsz uint64 |
|
704 Atime int64 |
|
705 Dtime int64 |
|
706 Ctime int64 |
|
707 Cpid int32 |
|
708 Lpid int32 |
|
709 Nattch uint64 |
|
710 _ uint64 |
|
711 _ uint64 |
|
712 } |