@zigc/lib 0.17.0-dev.607 → 0.17.0-dev.633

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (723) hide show
  1. package/compiler/Maker/PkgConfig.zig +14 -7
  2. package/compiler/Maker/Step/Compile.zig +6 -6
  3. package/compiler/Maker/Step/Fmt.zig +1 -1
  4. package/compiler/Maker/Step/Run.zig +42 -39
  5. package/compiler/Maker/Step/TranslateC.zig +1 -1
  6. package/compiler/Maker/Step.zig +47 -16
  7. package/compiler/Maker.zig +54 -44
  8. package/libc/include/aarch64-netbsd-none/aarch64/armreg.h +259 -22
  9. package/libc/include/aarch64-netbsd-none/aarch64/byte_swap.h +3 -2
  10. package/libc/include/aarch64-netbsd-none/aarch64/cpu.h +26 -1
  11. package/libc/include/aarch64-netbsd-none/aarch64/lwp_private.h +3 -0
  12. package/libc/include/aarch64-netbsd-none/aarch64/pmap.h +7 -33
  13. package/libc/include/aarch64-netbsd-none/aarch64/sljit_machdep.h +1 -1
  14. package/libc/include/aarch64-netbsd-none/aarch64/vmparam.h +4 -4
  15. package/libc/include/aarch64-netbsd-none/machine/armreg.h +259 -22
  16. package/libc/include/aarch64-netbsd-none/machine/byte_swap.h +3 -2
  17. package/libc/include/aarch64-netbsd-none/machine/cpu.h +26 -1
  18. package/libc/include/aarch64-netbsd-none/machine/lwp_private.h +3 -0
  19. package/libc/include/aarch64-netbsd-none/machine/pmap.h +7 -33
  20. package/libc/include/aarch64-netbsd-none/machine/sljit_machdep.h +1 -1
  21. package/libc/include/aarch64-netbsd-none/machine/vmparam.h +4 -4
  22. package/libc/include/arm-netbsd-eabi/float.h +2 -1
  23. package/libc/include/arm-netbsd-eabi/machine/asm.h +48 -19
  24. package/libc/include/arm-netbsd-eabi/machine/byte_swap.h +121 -0
  25. package/libc/include/arm-netbsd-eabi/machine/cpu.h +1 -3
  26. package/libc/include/arm-netbsd-eabi/machine/float.h +2 -1
  27. package/libc/include/arm-netbsd-eabi/machine/lwp_private.h +81 -0
  28. package/libc/include/arm-netbsd-eabi/machine/mcontext.h +5 -51
  29. package/libc/include/arm-netbsd-eabi/machine/mutex.h +1 -1
  30. package/libc/include/arm-netbsd-eabi/machine/proc.h +2 -2
  31. package/libc/include/arm-netbsd-eabi/machine/profile.h +28 -96
  32. package/libc/include/arm-netbsd-eabi/machine/setjmp.h +7 -6
  33. package/libc/include/arm-netbsd-eabi/machine/sysarch.h +85 -0
  34. package/libc/include/generic-netbsd/altq/altq.h +2 -2
  35. package/libc/include/generic-netbsd/altq/altq_afmap.h +2 -1
  36. package/libc/include/generic-netbsd/altq/altq_classq.h +8 -6
  37. package/libc/include/generic-netbsd/altq/altq_jobs.h +37 -37
  38. package/libc/include/generic-netbsd/altq/altq_rmclass.h +8 -8
  39. package/libc/include/generic-netbsd/altq/altq_var.h +2 -2
  40. package/libc/include/generic-netbsd/arm/arm32/pmap.h +8 -32
  41. package/libc/include/generic-netbsd/arm/arm32/vmparam.h +5 -5
  42. package/libc/include/generic-netbsd/arm/asm.h +48 -19
  43. package/libc/include/generic-netbsd/arm/byte_swap.h +2 -2
  44. package/libc/include/generic-netbsd/arm/cpu.h +1 -3
  45. package/libc/include/generic-netbsd/arm/cputypes.h +12 -1
  46. package/libc/include/generic-netbsd/arm/float.h +2 -1
  47. package/libc/include/generic-netbsd/arm/lwp_private.h +81 -0
  48. package/libc/include/generic-netbsd/arm/mcontext.h +5 -51
  49. package/libc/include/generic-netbsd/arm/mutex.h +1 -1
  50. package/libc/include/generic-netbsd/arm/proc.h +2 -2
  51. package/libc/include/generic-netbsd/arm/profile.h +28 -96
  52. package/libc/include/generic-netbsd/arm/setjmp.h +7 -6
  53. package/libc/include/generic-netbsd/arpa/nameser.h +3 -3
  54. package/libc/include/generic-netbsd/arpa/nameser_compat.h +3 -3
  55. package/libc/include/generic-netbsd/assert.h +12 -22
  56. package/libc/include/generic-netbsd/bitstring.h +5 -5
  57. package/libc/include/generic-netbsd/cdbw.h +2 -2
  58. package/libc/include/generic-netbsd/crypto/cryptodev.h +99 -92
  59. package/libc/include/generic-netbsd/dev/i2c/emcfaninfo.h +234 -0
  60. package/libc/include/generic-netbsd/dev/i2c/emcfanreg.h +127 -0
  61. package/libc/include/generic-netbsd/dev/i2o/i2o.h +3 -366
  62. package/libc/include/generic-netbsd/dev/ic/hd44780var.h +3 -1
  63. package/libc/include/generic-netbsd/dev/ic/scmdreg.h +2 -2
  64. package/libc/include/generic-netbsd/dev/ic/stireg.h +777 -0
  65. package/libc/include/generic-netbsd/dev/ic/summitreg.h +214 -0
  66. package/libc/include/generic-netbsd/dev/iscsi/iscsi.h +1 -1
  67. package/libc/include/generic-netbsd/dev/pci/amrreg.h +2 -2
  68. package/libc/include/generic-netbsd/dev/pci/mlyreg.h +2 -2
  69. package/libc/include/generic-netbsd/dev/pci/pcidevs.h +177 -22
  70. package/libc/include/generic-netbsd/dev/pci/pcidevs_data.h +14971 -14588
  71. package/libc/include/generic-netbsd/dev/pci/pcireg.h +14 -14
  72. package/libc/include/generic-netbsd/dev/pckbc/pckbdreg.h +2 -1
  73. package/libc/include/generic-netbsd/dev/pcmcia/if_rayreg.h +2 -2
  74. package/libc/include/generic-netbsd/dev/raidframe/raidframeio.h +1 -1
  75. package/libc/include/generic-netbsd/dev/scsipi/scsi_disk.h +42 -7
  76. package/libc/include/generic-netbsd/dev/scsipi/scsi_spc.h +2 -2
  77. package/libc/include/generic-netbsd/dev/scsipi/scsipi_all.h +83 -2
  78. package/libc/include/generic-netbsd/dev/scsipi/scsipiconf.h +3 -1
  79. package/libc/include/generic-netbsd/dev/tc/sfbreg.h +3 -3
  80. package/libc/include/generic-netbsd/dev/tc/sticio.h +2 -2
  81. package/libc/include/generic-netbsd/dev/usb/umcpmio_hid_reports.h +499 -0
  82. package/libc/include/generic-netbsd/dev/usb/umcpmio_io.h +45 -0
  83. package/libc/include/generic-netbsd/dev/usb/usb.h +44 -6
  84. package/libc/include/generic-netbsd/dev/vndvar.h +2 -2
  85. package/libc/include/generic-netbsd/dev/wscons/wsconsio.h +19 -1
  86. package/libc/include/generic-netbsd/dev/wscons/wsksymdef.h +2 -2
  87. package/libc/include/generic-netbsd/dirent.h +1 -1
  88. package/libc/include/generic-netbsd/dlfcn.h +4 -2
  89. package/libc/include/generic-netbsd/elf.h +32 -20
  90. package/libc/include/generic-netbsd/elfdefinitions.h +1 -1
  91. package/libc/include/generic-netbsd/evbarm/intr.h +1 -1
  92. package/libc/include/generic-netbsd/evbmips/lwp_private.h +3 -0
  93. package/libc/include/generic-netbsd/execinfo.h +4 -2
  94. package/libc/include/generic-netbsd/fcntl.h +26 -2
  95. package/libc/include/generic-netbsd/float.h +58 -2
  96. package/libc/include/generic-netbsd/fmtmsg.h +2 -2
  97. package/libc/include/generic-netbsd/fs/hfs/libhfs.h +1 -1
  98. package/libc/include/generic-netbsd/fs/nilfs/nilfs_fs.h +2 -2
  99. package/libc/include/generic-netbsd/gelf.h +2 -2
  100. package/libc/include/generic-netbsd/i386/asm.h +12 -4
  101. package/libc/include/generic-netbsd/i386/byte_swap.h +2 -2
  102. package/libc/include/generic-netbsd/i386/cpu.h +15 -4
  103. package/libc/include/generic-netbsd/i386/elf_machdep.h +2 -1
  104. package/libc/include/generic-netbsd/i386/lwp_private.h +3 -0
  105. package/libc/include/generic-netbsd/i386/mcontext.h +6 -24
  106. package/libc/include/generic-netbsd/i386/param.h +9 -1
  107. package/libc/include/generic-netbsd/i386/pcb.h +6 -2
  108. package/libc/include/generic-netbsd/i386/ptrace.h +2 -2
  109. package/libc/include/generic-netbsd/i386/types.h +2 -1
  110. package/libc/include/generic-netbsd/i386/wchar_limits.h +1 -1
  111. package/libc/include/generic-netbsd/isofs/cd9660/cd9660_extern.h +6 -1
  112. package/libc/include/generic-netbsd/isofs/cd9660/cd9660_mount.h +7 -1
  113. package/libc/include/generic-netbsd/langinfo.h +2 -1
  114. package/libc/include/generic-netbsd/lauxlib.h +1 -1
  115. package/libc/include/generic-netbsd/libelf.h +6 -15
  116. package/libc/include/generic-netbsd/limits.h +1 -1
  117. package/libc/include/generic-netbsd/lua.h +1 -1
  118. package/libc/include/generic-netbsd/luaconf.h +1 -1
  119. package/libc/include/generic-netbsd/lualib.h +1 -1
  120. package/libc/include/generic-netbsd/lwp.h +1 -1
  121. package/libc/include/generic-netbsd/machine/ansi.h +2 -2
  122. package/libc/include/generic-netbsd/machine/aout_machdep.h +39 -2
  123. package/libc/include/generic-netbsd/machine/arm32/pmap.h +8 -32
  124. package/libc/include/generic-netbsd/machine/arm32/vmparam.h +5 -5
  125. package/libc/include/generic-netbsd/machine/asm.h +271 -2
  126. package/libc/include/generic-netbsd/machine/bswap.h +9 -1
  127. package/libc/include/generic-netbsd/machine/byte_swap.h +42 -64
  128. package/libc/include/generic-netbsd/machine/cdefs.h +7 -2
  129. package/libc/include/generic-netbsd/machine/cpu.h +207 -30
  130. package/libc/include/generic-netbsd/machine/cputypes.h +12 -1
  131. package/libc/include/generic-netbsd/machine/disklabel.h +41 -42
  132. package/libc/include/generic-netbsd/machine/elf_machdep.h +143 -2
  133. package/libc/include/generic-netbsd/machine/endian.h +1 -1
  134. package/libc/include/generic-netbsd/machine/fenv.h +35 -2
  135. package/libc/include/generic-netbsd/machine/float.h +58 -2
  136. package/libc/include/generic-netbsd/machine/frame.h +129 -2
  137. package/libc/include/generic-netbsd/machine/ieee.h +3 -2
  138. package/libc/include/generic-netbsd/machine/ieeefp.h +43 -2
  139. package/libc/include/generic-netbsd/machine/int_const.h +32 -2
  140. package/libc/include/generic-netbsd/machine/int_fmtio.h +380 -2
  141. package/libc/include/generic-netbsd/machine/int_limits.h +2 -2
  142. package/libc/include/generic-netbsd/machine/int_mwgwtypes.h +2 -2
  143. package/libc/include/generic-netbsd/machine/int_types.h +2 -2
  144. package/libc/include/generic-netbsd/machine/kcore.h +39 -2
  145. package/libc/include/generic-netbsd/machine/limits.h +2 -2
  146. package/libc/include/generic-netbsd/machine/lock.h +2 -2
  147. package/libc/include/generic-netbsd/machine/lwp_private.h +83 -0
  148. package/libc/include/generic-netbsd/machine/math.h +3 -2
  149. package/libc/include/generic-netbsd/machine/mcontext.h +149 -2
  150. package/libc/include/generic-netbsd/machine/mutex.h +127 -2
  151. package/libc/include/generic-netbsd/machine/param.h +90 -23
  152. package/libc/include/generic-netbsd/machine/pcb.h +54 -2
  153. package/libc/include/generic-netbsd/machine/pmap.h +262 -2
  154. package/libc/include/generic-netbsd/machine/proc.h +75 -2
  155. package/libc/include/generic-netbsd/machine/profile.h +116 -2
  156. package/libc/include/generic-netbsd/machine/psl.h +2 -2
  157. package/libc/include/generic-netbsd/machine/pte.h +346 -2
  158. package/libc/include/generic-netbsd/machine/ptrace.h +62 -2
  159. package/libc/include/generic-netbsd/machine/reg.h +124 -2
  160. package/libc/include/generic-netbsd/machine/reloc.h +2 -2
  161. package/libc/include/generic-netbsd/machine/setjmp.h +69 -2
  162. package/libc/include/generic-netbsd/machine/signal.h +39 -2
  163. package/libc/include/generic-netbsd/machine/sljit_machdep.h +1 -1
  164. package/libc/include/generic-netbsd/machine/sysarch.h +2 -84
  165. package/libc/include/generic-netbsd/machine/sysreg.h +354 -0
  166. package/libc/include/generic-netbsd/machine/trap.h +2 -2
  167. package/libc/include/generic-netbsd/machine/types.h +118 -6
  168. package/libc/include/generic-netbsd/machine/vmparam.h +235 -2
  169. package/libc/include/generic-netbsd/machine/wchar_limits.h +2 -2
  170. package/libc/include/generic-netbsd/math.h +19 -6
  171. package/libc/include/generic-netbsd/md2.h +6 -3
  172. package/libc/include/generic-netbsd/mips/asm.h +69 -17
  173. package/libc/include/generic-netbsd/mips/bswap.h +3 -1
  174. package/libc/include/generic-netbsd/mips/cpu.h +7 -7
  175. package/libc/include/generic-netbsd/mips/elf_machdep.h +2 -1
  176. package/libc/include/generic-netbsd/mips/fenv.h +2 -1
  177. package/libc/include/generic-netbsd/mips/float.h +3 -2
  178. package/libc/include/generic-netbsd/mips/frame.h +3 -2
  179. package/libc/include/generic-netbsd/mips/limits.h +4 -13
  180. package/libc/include/generic-netbsd/mips/lwp_private.h +87 -0
  181. package/libc/include/generic-netbsd/mips/mcontext.h +2 -53
  182. package/libc/include/generic-netbsd/mips/mips3_pte.h +2 -2
  183. package/libc/include/generic-netbsd/mips/mips_param.h +16 -2
  184. package/libc/include/generic-netbsd/mips/mutex.h +1 -1
  185. package/libc/include/generic-netbsd/mips/types.h +1 -1
  186. package/libc/include/generic-netbsd/mips/vmparam.h +1 -1
  187. package/libc/include/generic-netbsd/miscfs/kernfs/kernfs.h +2 -2
  188. package/libc/include/generic-netbsd/miscfs/procfs/procfs.h +33 -2
  189. package/libc/include/generic-netbsd/miscfs/specfs/specdev.h +1 -2
  190. package/libc/include/generic-netbsd/monetary.h +2 -1
  191. package/libc/include/generic-netbsd/net/agr/if_agrioctl.h +2 -2
  192. package/libc/include/generic-netbsd/net/bpf.h +11 -4
  193. package/libc/include/generic-netbsd/net/bpfdesc.h +1 -1
  194. package/libc/include/generic-netbsd/net/dlt.h +222 -48
  195. package/libc/include/generic-netbsd/net/if.h +20 -5
  196. package/libc/include/generic-netbsd/net/if_bridgevar.h +2 -3
  197. package/libc/include/generic-netbsd/net/if_ether.h +4 -3
  198. package/libc/include/generic-netbsd/net/if_lagg.h +2 -2
  199. package/libc/include/generic-netbsd/net/if_media.h +2 -2
  200. package/libc/include/generic-netbsd/net/if_ppp.h +1 -3
  201. package/libc/include/generic-netbsd/net/if_stats.h +19 -5
  202. package/libc/include/generic-netbsd/net/net_stats.h +13 -6
  203. package/libc/include/generic-netbsd/net/npf.h +33 -5
  204. package/libc/include/generic-netbsd/net/pfkeyv2.h +1 -1
  205. package/libc/include/generic-netbsd/net/route.h +4 -4
  206. package/libc/include/generic-netbsd/net80211/ieee80211_node.h +3 -2
  207. package/libc/include/generic-netbsd/net80211/ieee80211_var.h +2 -2
  208. package/libc/include/generic-netbsd/netbt/hci.h +3 -3
  209. package/libc/include/generic-netbsd/netdb.h +2 -2
  210. package/libc/include/generic-netbsd/netinet/icmp6.h +6 -2
  211. package/libc/include/generic-netbsd/netinet/in.h +17 -17
  212. package/libc/include/generic-netbsd/netinet/in_var.h +5 -9
  213. package/libc/include/generic-netbsd/netinet/ip_mroute.h +24 -28
  214. package/libc/include/generic-netbsd/netinet/ip_var.h +2 -2
  215. package/libc/include/generic-netbsd/netinet/sctp.h +4 -4
  216. package/libc/include/generic-netbsd/netinet/tcp_var.h +2 -2
  217. package/libc/include/generic-netbsd/netinet/tcp_vtw.h +2 -2
  218. package/libc/include/generic-netbsd/netinet6/in6_var.h +7 -33
  219. package/libc/include/generic-netbsd/netinet6/ip6_var.h +2 -2
  220. package/libc/include/generic-netbsd/nfs/krpc.h +9 -4
  221. package/libc/include/generic-netbsd/nfs/nfs.h +5 -3
  222. package/libc/include/generic-netbsd/nfs/nfsdiskless.h +37 -20
  223. package/libc/include/generic-netbsd/nfs/nfsm_subs.h +4 -7
  224. package/libc/include/generic-netbsd/nfs/nfsmount.h +3 -4
  225. package/libc/include/generic-netbsd/nfs/nfsnode.h +9 -6
  226. package/libc/include/generic-netbsd/nfs/nfsproto.h +5 -2
  227. package/libc/include/generic-netbsd/nfs/nfsrtt.h +8 -4
  228. package/libc/include/generic-netbsd/nfs/nfsrvcache.h +9 -3
  229. package/libc/include/generic-netbsd/nfs/rpcv2.h +5 -3
  230. package/libc/include/generic-netbsd/nfs/xdr_subs.h +6 -5
  231. package/libc/include/generic-netbsd/nl_types.h +3 -1
  232. package/libc/include/generic-netbsd/ntfs/ntfs_inode.h +2 -2
  233. package/libc/include/generic-netbsd/poll.h +8 -2
  234. package/libc/include/generic-netbsd/prop/prop_object.h +48 -3
  235. package/libc/include/generic-netbsd/protocols/talkd.h +2 -2
  236. package/libc/include/generic-netbsd/pthread.h +51 -12
  237. package/libc/include/generic-netbsd/regex.h +2 -1
  238. package/libc/include/generic-netbsd/riscv/ansi.h +3 -0
  239. package/libc/include/generic-netbsd/riscv/aout_machdep.h +40 -0
  240. package/libc/include/generic-netbsd/riscv/asm.h +272 -0
  241. package/libc/include/generic-netbsd/riscv/bswap.h +11 -0
  242. package/libc/include/generic-netbsd/riscv/byte_swap.h +99 -0
  243. package/libc/include/generic-netbsd/riscv/cdefs.h +8 -0
  244. package/libc/include/generic-netbsd/riscv/cpu.h +242 -0
  245. package/libc/include/generic-netbsd/riscv/disklabel.h +68 -0
  246. package/libc/include/generic-netbsd/riscv/elf_machdep.h +144 -0
  247. package/libc/include/generic-netbsd/riscv/endian.h +3 -0
  248. package/libc/include/generic-netbsd/riscv/endian_machdep.h +3 -0
  249. package/libc/include/generic-netbsd/riscv/fenv.h +36 -0
  250. package/libc/include/generic-netbsd/riscv/float.h +59 -0
  251. package/libc/include/generic-netbsd/riscv/ieee.h +4 -0
  252. package/libc/include/generic-netbsd/riscv/ieeefp.h +44 -0
  253. package/libc/include/generic-netbsd/riscv/int_const.h +33 -0
  254. package/libc/include/generic-netbsd/riscv/int_fmtio.h +381 -0
  255. package/libc/include/generic-netbsd/riscv/int_limits.h +3 -0
  256. package/libc/include/generic-netbsd/riscv/int_mwgwtypes.h +3 -0
  257. package/libc/include/generic-netbsd/riscv/int_types.h +3 -0
  258. package/libc/include/generic-netbsd/riscv/kcore.h +40 -0
  259. package/libc/include/generic-netbsd/riscv/limits.h +3 -0
  260. package/libc/include/generic-netbsd/riscv/lock.h +3 -0
  261. package/libc/include/generic-netbsd/riscv/lwp_private.h +83 -0
  262. package/libc/include/generic-netbsd/riscv/math.h +4 -0
  263. package/libc/include/generic-netbsd/riscv/mcontext.h +150 -0
  264. package/libc/include/generic-netbsd/riscv/mutex.h +128 -0
  265. package/libc/include/generic-netbsd/riscv/param.h +110 -0
  266. package/libc/include/generic-netbsd/riscv/pcb.h +55 -0
  267. package/libc/include/generic-netbsd/riscv/pmap.h +263 -0
  268. package/libc/include/generic-netbsd/riscv/proc.h +76 -0
  269. package/libc/include/generic-netbsd/riscv/profile.h +117 -0
  270. package/libc/include/generic-netbsd/riscv/pte.h +347 -0
  271. package/libc/include/generic-netbsd/riscv/ptrace.h +63 -0
  272. package/libc/include/generic-netbsd/riscv/reg.h +125 -0
  273. package/libc/include/generic-netbsd/riscv/rwlock.h +1 -0
  274. package/libc/include/generic-netbsd/riscv/setjmp.h +70 -0
  275. package/libc/include/generic-netbsd/riscv/signal.h +40 -0
  276. package/libc/include/generic-netbsd/riscv/sysarch.h +3 -0
  277. package/libc/include/generic-netbsd/riscv/sysreg.h +354 -0
  278. package/libc/include/generic-netbsd/riscv/types.h +123 -0
  279. package/libc/include/generic-netbsd/riscv/vmparam.h +236 -0
  280. package/libc/include/generic-netbsd/riscv/wchar_limits.h +13 -0
  281. package/libc/include/generic-netbsd/rmd160.h +3 -3
  282. package/libc/include/generic-netbsd/rpc/xdr.h +3 -3
  283. package/libc/include/generic-netbsd/rpcsvc/yp_prot.h +3 -2
  284. package/libc/include/generic-netbsd/rump/rump_namei.h +2 -2
  285. package/libc/include/generic-netbsd/rump/rump_syscalls.h +4 -4
  286. package/libc/include/generic-netbsd/rump/rumpuser.h +6 -1
  287. package/libc/include/generic-netbsd/rump/rumpvnode_if.h +2 -2
  288. package/libc/include/generic-netbsd/sha1.h +3 -3
  289. package/libc/include/generic-netbsd/sha2.h +8 -1
  290. package/libc/include/generic-netbsd/signal.h +4 -4
  291. package/libc/include/generic-netbsd/sparc/asm.h +10 -1
  292. package/libc/include/generic-netbsd/sparc/bswap.h +9 -1
  293. package/libc/include/generic-netbsd/sparc/cgtworeg.h +2 -2
  294. package/libc/include/generic-netbsd/sparc/cpu.h +1 -1
  295. package/libc/include/generic-netbsd/sparc/float.h +3 -1
  296. package/libc/include/generic-netbsd/sparc/limits.h +4 -6
  297. package/libc/include/generic-netbsd/sparc/lwp_private.h +51 -0
  298. package/libc/include/generic-netbsd/sparc/mcontext.h +4 -22
  299. package/libc/include/generic-netbsd/sparc/mutex.h +1 -1
  300. package/libc/include/generic-netbsd/sparc/param.h +4 -2
  301. package/libc/include/generic-netbsd/sparc/pmap.h +2 -2
  302. package/libc/include/generic-netbsd/sparc/psl.h +6 -3
  303. package/libc/include/generic-netbsd/sparc/types.h +2 -2
  304. package/libc/include/generic-netbsd/sparc64/bswap.h +9 -1
  305. package/libc/include/generic-netbsd/sparc64/cpu.h +2 -2
  306. package/libc/include/generic-netbsd/sparc64/ctlreg.h +8 -7
  307. package/libc/include/generic-netbsd/sparc64/intr.h +1 -1
  308. package/libc/include/generic-netbsd/sparc64/lwp_private.h +3 -0
  309. package/libc/include/generic-netbsd/sparc64/mcontext.h +4 -4
  310. package/libc/include/generic-netbsd/sparc64/mutex.h +1 -1
  311. package/libc/include/generic-netbsd/sparc64/param.h +8 -2
  312. package/libc/include/generic-netbsd/sparc64/psl.h +7 -2
  313. package/libc/include/generic-netbsd/sparc64/pte.h +2 -2
  314. package/libc/include/generic-netbsd/sparc64/vmparam.h +1 -1
  315. package/libc/include/generic-netbsd/ssp/ssp.h +16 -6
  316. package/libc/include/generic-netbsd/stdalign.h +3 -3
  317. package/libc/include/generic-netbsd/stdarg.h +2 -2
  318. package/libc/include/generic-netbsd/stddef.h +90 -12
  319. package/libc/include/generic-netbsd/stdlib.h +11 -2
  320. package/libc/include/generic-netbsd/stdnoreturn.h +2 -2
  321. package/libc/include/generic-netbsd/string.h +66 -39
  322. package/libc/include/generic-netbsd/strings.h +17 -3
  323. package/libc/include/generic-netbsd/sys/atomic.h +10 -5
  324. package/libc/include/generic-netbsd/sys/bitops.h +2 -2
  325. package/libc/include/generic-netbsd/sys/bootblock.h +13 -2
  326. package/libc/include/generic-netbsd/sys/bswap.h +46 -20
  327. package/libc/include/generic-netbsd/sys/buf.h +3 -3
  328. package/libc/include/generic-netbsd/sys/cdefs.h +44 -6
  329. package/libc/include/generic-netbsd/sys/cdefs_aout.h +8 -1
  330. package/libc/include/generic-netbsd/sys/cdefs_elf.h +9 -2
  331. package/libc/include/generic-netbsd/sys/chio.h +2 -2
  332. package/libc/include/generic-netbsd/sys/clock.h +5 -1
  333. package/libc/include/generic-netbsd/sys/common_limits.h +3 -1
  334. package/libc/include/generic-netbsd/sys/condvar.h +1 -1
  335. package/libc/include/generic-netbsd/sys/conf.h +4 -3
  336. package/libc/include/generic-netbsd/sys/container_of.h +75 -0
  337. package/libc/include/generic-netbsd/sys/device.h +20 -13
  338. package/libc/include/generic-netbsd/sys/disk.h +8 -1
  339. package/libc/include/generic-netbsd/sys/disklabel.h +2 -2
  340. package/libc/include/generic-netbsd/sys/disklabel_gpt.h +7 -1
  341. package/libc/include/generic-netbsd/sys/efiio.h +1 -1
  342. package/libc/include/generic-netbsd/sys/elfdefinitions.h +2368 -1591
  343. package/libc/include/generic-netbsd/sys/endian.h +17 -17
  344. package/libc/include/generic-netbsd/sys/evcnt.h +15 -2
  345. package/libc/include/generic-netbsd/sys/event.h +3 -2
  346. package/libc/include/generic-netbsd/sys/exec.h +2 -2
  347. package/libc/include/generic-netbsd/sys/exec_elf.h +32 -20
  348. package/libc/include/generic-netbsd/sys/fcntl.h +26 -2
  349. package/libc/include/generic-netbsd/sys/fd_set.h +3 -3
  350. package/libc/include/generic-netbsd/sys/featuretest.h +24 -6
  351. package/libc/include/generic-netbsd/sys/file.h +18 -6
  352. package/libc/include/generic-netbsd/sys/filedesc.h +8 -4
  353. package/libc/include/generic-netbsd/sys/futex.h +11 -11
  354. package/libc/include/generic-netbsd/sys/ieee754.h +2 -2
  355. package/libc/include/generic-netbsd/sys/ipc.h +2 -2
  356. package/libc/include/generic-netbsd/sys/ipmi.h +4 -2
  357. package/libc/include/generic-netbsd/sys/ksem.h +1 -1
  358. package/libc/include/generic-netbsd/sys/ktrace.h +6 -4
  359. package/libc/include/generic-netbsd/sys/lock.h +2 -2
  360. package/libc/include/generic-netbsd/sys/lua.h +1 -1
  361. package/libc/include/generic-netbsd/sys/lwp.h +25 -92
  362. package/libc/include/generic-netbsd/sys/mbuf.h +15 -13
  363. package/libc/include/generic-netbsd/sys/mman.h +11 -3
  364. package/libc/include/generic-netbsd/sys/mount.h +1 -2
  365. package/libc/include/generic-netbsd/sys/msg.h +3 -3
  366. package/libc/include/generic-netbsd/sys/mutex.h +1 -3
  367. package/libc/include/generic-netbsd/sys/namei.h +32 -17
  368. package/libc/include/generic-netbsd/sys/param.h +11 -8
  369. package/libc/include/generic-netbsd/sys/pipe.h +10 -11
  370. package/libc/include/generic-netbsd/sys/poll.h +8 -2
  371. package/libc/include/generic-netbsd/sys/proc.h +15 -15
  372. package/libc/include/generic-netbsd/sys/ptrace.h +24 -7
  373. package/libc/include/generic-netbsd/sys/ptree.h +2 -1
  374. package/libc/include/generic-netbsd/sys/queue.h +37 -37
  375. package/libc/include/generic-netbsd/sys/rbtree.h +23 -9
  376. package/libc/include/generic-netbsd/sys/resourcevar.h +2 -2
  377. package/libc/include/generic-netbsd/sys/rmd160.h +3 -3
  378. package/libc/include/generic-netbsd/sys/rndio.h +1 -1
  379. package/libc/include/generic-netbsd/sys/rwlock.h +1 -2
  380. package/libc/include/generic-netbsd/sys/sched.h +1 -1
  381. package/libc/include/generic-netbsd/sys/sdt.h +181 -111
  382. package/libc/include/generic-netbsd/sys/sem.h +7 -2
  383. package/libc/include/generic-netbsd/sys/sha1.h +3 -3
  384. package/libc/include/generic-netbsd/sys/sha2.h +8 -1
  385. package/libc/include/generic-netbsd/sys/shm.h +2 -2
  386. package/libc/include/generic-netbsd/sys/siginfo.h +5 -5
  387. package/libc/include/generic-netbsd/sys/signal.h +1 -1
  388. package/libc/include/generic-netbsd/sys/sigtypes.h +4 -4
  389. package/libc/include/generic-netbsd/sys/sleepq.h +14 -27
  390. package/libc/include/generic-netbsd/sys/socket.h +3 -1
  391. package/libc/include/generic-netbsd/sys/socketvar.h +4 -4
  392. package/libc/include/generic-netbsd/sys/stat.h +5 -5
  393. package/libc/include/generic-netbsd/sys/stdalign.h +55 -0
  394. package/libc/include/generic-netbsd/sys/stdarg.h +2 -2
  395. package/libc/include/generic-netbsd/sys/stddef.h +156 -0
  396. package/libc/include/generic-netbsd/sys/swap.h +2 -2
  397. package/libc/include/generic-netbsd/sys/syncobj.h +9 -6
  398. package/libc/include/generic-netbsd/sys/syscall.h +29 -8
  399. package/libc/include/generic-netbsd/sys/syscallargs.h +89 -12
  400. package/libc/include/generic-netbsd/sys/sysctl.h +94 -86
  401. package/libc/include/generic-netbsd/sys/syslimits.h +8 -1
  402. package/libc/include/generic-netbsd/sys/syslog.h +6 -7
  403. package/libc/include/generic-netbsd/sys/time.h +10 -8
  404. package/libc/include/generic-netbsd/sys/tree.h +13 -13
  405. package/libc/include/generic-netbsd/sys/tty.h +2 -2
  406. package/libc/include/generic-netbsd/sys/ttycom.h +7 -1
  407. package/libc/include/generic-netbsd/sys/types.h +1 -1
  408. package/libc/include/generic-netbsd/sys/ucontext.h +46 -49
  409. package/libc/include/generic-netbsd/sys/un.h +12 -4
  410. package/libc/include/generic-netbsd/sys/unistd.h +103 -102
  411. package/libc/include/generic-netbsd/sys/unpcb.h +2 -2
  412. package/libc/include/generic-netbsd/sys/vmmeter.h +1 -39
  413. package/libc/include/generic-netbsd/sys/vnode_if.h +2 -2
  414. package/libc/include/generic-netbsd/sys/vnode_impl.h +6 -3
  415. package/libc/include/generic-netbsd/sys/wapbl_replay.h +2 -2
  416. package/libc/include/generic-netbsd/sys/wchan.h +37 -0
  417. package/libc/include/generic-netbsd/syslog.h +6 -7
  418. package/libc/include/generic-netbsd/time.h +44 -8
  419. package/libc/include/generic-netbsd/tzfile.h +11 -6
  420. package/libc/include/generic-netbsd/uchar.h +1 -1
  421. package/libc/include/generic-netbsd/ucontext.h +2 -1
  422. package/libc/include/generic-netbsd/ufs/ext2fs/ext2fs.h +31 -16
  423. package/libc/include/generic-netbsd/ufs/ext2fs/ext2fs_dir.h +1 -1
  424. package/libc/include/generic-netbsd/ufs/ext2fs/ext2fs_extents.h +5 -5
  425. package/libc/include/generic-netbsd/ufs/ext2fs/ext2fs_extern.h +4 -4
  426. package/libc/include/generic-netbsd/ufs/ffs/ffs_extern.h +1 -1
  427. package/libc/include/generic-netbsd/ufs/ffs/fs.h +3 -3
  428. package/libc/include/generic-netbsd/ufs/ufs/quota2.h +2 -2
  429. package/libc/include/generic-netbsd/unistd.h +11 -5
  430. package/libc/include/generic-netbsd/unwind.h +1 -1
  431. package/libc/include/generic-netbsd/util.h +15 -1
  432. package/libc/include/generic-netbsd/uvm/uvm.h +1 -5
  433. package/libc/include/generic-netbsd/uvm/uvm_extern.h +3 -4
  434. package/libc/include/generic-netbsd/uvm/uvm_object.h +2 -2
  435. package/libc/include/generic-netbsd/uvm/uvm_param.h +1 -1
  436. package/libc/include/generic-netbsd/uvm/uvm_swap.h +14 -3
  437. package/libc/include/generic-netbsd/wchar.h +7 -2
  438. package/libc/include/generic-netbsd/x86/bootinfo.h +4 -1
  439. package/libc/include/generic-netbsd/x86/cpu.h +18 -1
  440. package/libc/include/generic-netbsd/x86/cpu_extended_state.h +3 -1
  441. package/libc/include/generic-netbsd/x86/cpuvar.h +4 -1
  442. package/libc/include/generic-netbsd/x86/float.h +24 -1
  443. package/libc/include/generic-netbsd/x86/ieee.h +11 -7
  444. package/libc/include/generic-netbsd/x86/lwp_private.h +56 -0
  445. package/libc/include/generic-netbsd/x86/mutex.h +1 -1
  446. package/libc/include/generic-netbsd/x86/specialreg.h +111 -23
  447. package/libc/include/m68k-netbsd-none/m68k/asm.h +11 -2
  448. package/libc/include/m68k-netbsd-none/m68k/bus_dma.h +2 -2
  449. package/libc/include/m68k-netbsd-none/m68k/byte_swap.h +2 -2
  450. package/libc/include/m68k-netbsd-none/m68k/cacheops_30.h +2 -2
  451. package/libc/include/m68k-netbsd-none/m68k/cacheops_40.h +3 -1
  452. package/libc/include/m68k-netbsd-none/m68k/cacheops_60.h +5 -3
  453. package/libc/include/m68k-netbsd-none/m68k/cpu.h +86 -59
  454. package/libc/include/m68k-netbsd-none/m68k/cpuframe.h +5 -5
  455. package/libc/include/m68k-netbsd-none/m68k/fenv.h +6 -4
  456. package/libc/include/m68k-netbsd-none/m68k/float.h +26 -1
  457. package/libc/include/m68k-netbsd-none/m68k/frame.h +31 -19
  458. package/libc/include/m68k-netbsd-none/m68k/ieee.h +13 -8
  459. package/libc/include/m68k-netbsd-none/m68k/ieeefp.h +3 -3
  460. package/libc/include/m68k-netbsd-none/m68k/int_limits.h +2 -2
  461. package/libc/include/m68k-netbsd-none/m68k/intr.h +211 -0
  462. package/libc/include/m68k-netbsd-none/m68k/kcore.h +31 -31
  463. package/libc/include/m68k-netbsd-none/m68k/lwp_private.h +64 -0
  464. package/libc/include/m68k-netbsd-none/m68k/m68k.h +3 -7
  465. package/libc/include/m68k-netbsd-none/m68k/mcontext.h +5 -36
  466. package/libc/include/m68k-netbsd-none/m68k/mmu_30.h +105 -0
  467. package/libc/include/m68k-netbsd-none/m68k/mmu_40.h +232 -0
  468. package/libc/include/m68k-netbsd-none/m68k/mmu_51.h +273 -0
  469. package/libc/include/m68k-netbsd-none/m68k/mutex.h +1 -1
  470. package/libc/include/m68k-netbsd-none/m68k/pcb.h +2 -2
  471. package/libc/include/m68k-netbsd-none/m68k/pmap_motorola.h +32 -23
  472. package/libc/include/m68k-netbsd-none/m68k/psl.h +26 -7
  473. package/libc/include/m68k-netbsd-none/m68k/pte_motorola.h +37 -26
  474. package/libc/include/m68k-netbsd-none/m68k/trap.h +7 -7
  475. package/libc/include/m68k-netbsd-none/mac68k/cpu.h +1 -57
  476. package/libc/include/m68k-netbsd-none/mac68k/intr.h +3 -2
  477. package/libc/include/m68k-netbsd-none/mac68k/lwp_private.h +3 -0
  478. package/libc/include/m68k-netbsd-none/mac68k/pmap.h +20 -2
  479. package/libc/include/m68k-netbsd-none/mac68k/z8530var.h +2 -2
  480. package/libc/include/m68k-netbsd-none/machine/cpu.h +1 -57
  481. package/libc/include/m68k-netbsd-none/machine/intr.h +3 -2
  482. package/libc/include/m68k-netbsd-none/machine/lwp_private.h +3 -0
  483. package/libc/include/m68k-netbsd-none/machine/pmap.h +20 -2
  484. package/libc/include/m68k-netbsd-none/machine/z8530var.h +2 -2
  485. package/libc/include/mips-netbsd-eabi/machine/lwp_private.h +3 -0
  486. package/libc/include/powerpc-netbsd-eabi/evbppc/lwp_private.h +3 -0
  487. package/libc/include/powerpc-netbsd-eabi/float.h +3 -0
  488. package/libc/include/powerpc-netbsd-eabi/machine/ansi.h +3 -0
  489. package/libc/include/powerpc-netbsd-eabi/machine/aout_machdep.h +3 -0
  490. package/libc/include/powerpc-netbsd-eabi/machine/asm.h +3 -0
  491. package/libc/include/powerpc-netbsd-eabi/machine/cdefs.h +3 -0
  492. package/libc/include/powerpc-netbsd-eabi/machine/cpu.h +65 -0
  493. package/libc/include/powerpc-netbsd-eabi/machine/disklabel.h +69 -0
  494. package/libc/include/powerpc-netbsd-eabi/machine/elf_machdep.h +3 -0
  495. package/libc/include/powerpc-netbsd-eabi/machine/endian.h +3 -0
  496. package/libc/include/powerpc-netbsd-eabi/machine/fenv.h +3 -0
  497. package/libc/include/powerpc-netbsd-eabi/machine/float.h +3 -0
  498. package/libc/include/powerpc-netbsd-eabi/machine/frame.h +3 -0
  499. package/libc/include/powerpc-netbsd-eabi/machine/ieee.h +3 -0
  500. package/libc/include/powerpc-netbsd-eabi/machine/ieeefp.h +3 -0
  501. package/libc/include/powerpc-netbsd-eabi/machine/int_const.h +3 -0
  502. package/libc/include/powerpc-netbsd-eabi/machine/int_fmtio.h +3 -0
  503. package/libc/include/powerpc-netbsd-eabi/machine/int_limits.h +3 -0
  504. package/libc/include/powerpc-netbsd-eabi/machine/int_mwgwtypes.h +3 -0
  505. package/libc/include/powerpc-netbsd-eabi/machine/int_types.h +3 -0
  506. package/libc/include/powerpc-netbsd-eabi/machine/kcore.h +3 -0
  507. package/libc/include/powerpc-netbsd-eabi/machine/limits.h +3 -0
  508. package/libc/include/powerpc-netbsd-eabi/machine/lock.h +3 -0
  509. package/libc/include/powerpc-netbsd-eabi/machine/lwp_private.h +3 -0
  510. package/libc/include/powerpc-netbsd-eabi/machine/math.h +3 -0
  511. package/libc/include/powerpc-netbsd-eabi/machine/mcontext.h +3 -0
  512. package/libc/include/powerpc-netbsd-eabi/machine/mutex.h +3 -0
  513. package/libc/include/powerpc-netbsd-eabi/machine/param.h +43 -0
  514. package/libc/include/powerpc-netbsd-eabi/machine/pcb.h +3 -0
  515. package/libc/include/powerpc-netbsd-eabi/machine/pmap.h +3 -0
  516. package/libc/include/powerpc-netbsd-eabi/machine/proc.h +3 -0
  517. package/libc/include/powerpc-netbsd-eabi/machine/profile.h +3 -0
  518. package/libc/include/powerpc-netbsd-eabi/machine/psl.h +3 -0
  519. package/libc/include/powerpc-netbsd-eabi/machine/pte.h +3 -0
  520. package/libc/include/powerpc-netbsd-eabi/machine/ptrace.h +3 -0
  521. package/libc/include/powerpc-netbsd-eabi/machine/reg.h +3 -0
  522. package/libc/include/powerpc-netbsd-eabi/machine/reloc.h +3 -0
  523. package/libc/include/powerpc-netbsd-eabi/machine/setjmp.h +3 -0
  524. package/libc/include/powerpc-netbsd-eabi/machine/signal.h +3 -0
  525. package/libc/include/{mips-netbsd-eabi → powerpc-netbsd-eabi}/machine/sljit_machdep.h +1 -1
  526. package/libc/include/powerpc-netbsd-eabi/machine/trap.h +3 -0
  527. package/libc/include/powerpc-netbsd-eabi/machine/types.h +11 -0
  528. package/libc/include/powerpc-netbsd-eabi/machine/vmparam.h +3 -0
  529. package/libc/include/powerpc-netbsd-eabi/machine/wchar_limits.h +3 -0
  530. package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/asm.h +12 -2
  531. package/libc/include/powerpc-netbsd-eabi/powerpc/bswap.h +14 -0
  532. package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/cpu.h +3 -3
  533. package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/fenv.h +2 -1
  534. package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ibm4xx/pmap.h +3 -3
  535. package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ieee.h +7 -2
  536. package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/limits.h +4 -13
  537. package/libc/include/powerpc-netbsd-eabi/powerpc/lwp_private.h +79 -0
  538. package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/mcontext.h +6 -50
  539. package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/mutex.h +1 -1
  540. package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/hid.h +2 -2
  541. package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/pmap.h +2 -2
  542. package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/pmap.h +1 -1
  543. package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/psl.h +2 -2
  544. package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/vmparam.h +1 -1
  545. package/libc/include/riscv32-netbsd-none/machine/bswap.h +11 -0
  546. package/libc/include/riscv32-netbsd-none/machine/endian_machdep.h +3 -0
  547. package/libc/include/riscv32-netbsd-none/machine/rwlock.h +1 -0
  548. package/libc/include/riscv32-netbsd-none/machine/wchar_limits.h +4 -0
  549. package/libc/include/riscv64-netbsd-none/machine/bswap.h +11 -0
  550. package/libc/include/riscv64-netbsd-none/machine/endian_machdep.h +3 -0
  551. package/libc/include/riscv64-netbsd-none/machine/rwlock.h +1 -0
  552. package/libc/include/riscv64-netbsd-none/machine/wchar_limits.h +4 -0
  553. package/libc/include/sparc-netbsd-none/float.h +3 -1
  554. package/libc/include/sparc-netbsd-none/machine/asm.h +10 -1
  555. package/libc/include/sparc-netbsd-none/machine/cgtworeg.h +2 -2
  556. package/libc/include/sparc-netbsd-none/machine/cpu.h +1 -1
  557. package/libc/include/sparc-netbsd-none/machine/float.h +3 -1
  558. package/libc/include/sparc-netbsd-none/machine/limits.h +4 -6
  559. package/libc/include/sparc-netbsd-none/machine/lwp_private.h +51 -0
  560. package/libc/include/sparc-netbsd-none/machine/mcontext.h +4 -22
  561. package/libc/include/sparc-netbsd-none/machine/mutex.h +1 -1
  562. package/libc/include/sparc-netbsd-none/machine/param.h +4 -2
  563. package/libc/include/sparc-netbsd-none/machine/pmap.h +2 -2
  564. package/libc/include/sparc-netbsd-none/machine/psl.h +6 -3
  565. package/libc/include/sparc-netbsd-none/machine/sxreg.h +5 -1
  566. package/libc/include/sparc-netbsd-none/machine/types.h +2 -2
  567. package/libc/include/sparc-netbsd-none/sparc/sxreg.h +5 -1
  568. package/libc/include/sparc64-netbsd-none/machine/cpu.h +2 -2
  569. package/libc/include/sparc64-netbsd-none/machine/ctlreg.h +8 -7
  570. package/libc/include/sparc64-netbsd-none/machine/intr.h +1 -1
  571. package/libc/include/sparc64-netbsd-none/machine/lwp_private.h +3 -0
  572. package/libc/include/sparc64-netbsd-none/machine/mcontext.h +4 -4
  573. package/libc/include/sparc64-netbsd-none/machine/mutex.h +1 -1
  574. package/libc/include/sparc64-netbsd-none/machine/param.h +8 -2
  575. package/libc/include/sparc64-netbsd-none/machine/psl.h +7 -2
  576. package/libc/include/sparc64-netbsd-none/machine/pte.h +2 -2
  577. package/libc/include/sparc64-netbsd-none/machine/vmparam.h +1 -1
  578. package/libc/include/x86-netbsd-none/machine/asm.h +12 -4
  579. package/libc/include/x86-netbsd-none/machine/byte_swap.h +2 -2
  580. package/libc/include/x86-netbsd-none/machine/cpu.h +15 -4
  581. package/libc/include/x86-netbsd-none/machine/elf_machdep.h +2 -1
  582. package/libc/include/x86-netbsd-none/machine/lwp_private.h +3 -0
  583. package/libc/include/x86-netbsd-none/machine/mcontext.h +6 -24
  584. package/libc/include/x86-netbsd-none/machine/param.h +9 -1
  585. package/libc/include/x86-netbsd-none/machine/pcb.h +6 -2
  586. package/libc/include/x86-netbsd-none/machine/ptrace.h +2 -2
  587. package/libc/include/x86-netbsd-none/machine/types.h +2 -1
  588. package/libc/include/x86_64-netbsd-none/amd64/asm.h +11 -3
  589. package/libc/include/x86_64-netbsd-none/amd64/byte_swap.h +2 -2
  590. package/libc/include/x86_64-netbsd-none/amd64/cpu.h +13 -3
  591. package/libc/include/x86_64-netbsd-none/amd64/frame.h +2 -2
  592. package/libc/include/x86_64-netbsd-none/amd64/lwp_private.h +3 -0
  593. package/libc/include/x86_64-netbsd-none/amd64/mcontext.h +5 -23
  594. package/libc/include/x86_64-netbsd-none/amd64/param.h +23 -4
  595. package/libc/include/x86_64-netbsd-none/amd64/pcb.h +14 -3
  596. package/libc/include/x86_64-netbsd-none/amd64/ptrace.h +2 -2
  597. package/libc/include/x86_64-netbsd-none/amd64/types.h +2 -1
  598. package/libc/include/x86_64-netbsd-none/machine/asm.h +11 -3
  599. package/libc/include/x86_64-netbsd-none/machine/byte_swap.h +2 -2
  600. package/libc/include/x86_64-netbsd-none/machine/cpu.h +13 -3
  601. package/libc/include/x86_64-netbsd-none/machine/frame.h +2 -2
  602. package/libc/include/x86_64-netbsd-none/machine/lwp_private.h +3 -0
  603. package/libc/include/x86_64-netbsd-none/machine/mcontext.h +5 -23
  604. package/libc/include/x86_64-netbsd-none/machine/param.h +23 -4
  605. package/libc/include/x86_64-netbsd-none/machine/pcb.h +14 -3
  606. package/libc/include/x86_64-netbsd-none/machine/ptrace.h +2 -2
  607. package/libc/include/x86_64-netbsd-none/machine/types.h +2 -1
  608. package/libc/netbsd/abilists +0 -0
  609. package/libc/netbsd/lib/csu/arch/riscv/crt0.S +62 -0
  610. package/libc/netbsd/lib/csu/common/crt0-common.c +32 -7
  611. package/libc/netbsd/lib/csu/common/csu-common.h +2 -0
  612. package/package.json +1 -1
  613. package/std/Build/Cache/Path.zig +27 -28
  614. package/std/Build/Cache.zig +1 -0
  615. package/std/Build/Configuration.zig +0 -8
  616. package/std/Build/Step/Compile.zig +2 -8
  617. package/std/Build/Step/ObjCopy.zig +2 -2
  618. package/std/Build/Step/Options.zig +2 -2
  619. package/std/Build/Step/Run.zig +0 -33
  620. package/std/Build.zig +1 -1
  621. package/std/Target.zig +3 -1
  622. package/std/debug/Pdb.zig +61 -34
  623. package/std/debug/SelfInfo/Elf.zig +12 -9
  624. package/std/debug/SelfInfo/Windows.zig +3 -5
  625. package/std/debug/cpu_context.zig +62 -14
  626. package/std/zig/target.zig +2 -1
  627. package/std/zig.zig +12 -0
  628. package/libc/include/arm-netbsd-eabi/machine/frame.h +0 -130
  629. package/libc/include/generic-netbsd/powerpc/bswap.h +0 -8
  630. package/libc/include/mips-netbsd-eabi/machine/psl.h +0 -3
  631. package/libc/include/mips-netbsd-eabi/machine/reloc.h +0 -3
  632. package/libc/include/mips-netbsd-eabi/machine/trap.h +0 -3
  633. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/ansi.h +0 -0
  634. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/aout_machdep.h +0 -0
  635. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/asm.h +0 -0
  636. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/bswap.h +0 -0
  637. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/cdefs.h +0 -0
  638. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/cpu.h +0 -0
  639. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/disklabel.h +0 -0
  640. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/elf_machdep.h +0 -0
  641. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/endian.h +0 -0
  642. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/endian_machdep.h +0 -0
  643. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/fenv.h +0 -0
  644. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/float.h +0 -0
  645. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/fpu.h +0 -0
  646. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/frame.h +0 -0
  647. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/ieee.h +0 -0
  648. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/ieeefp.h +0 -0
  649. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/int_const.h +0 -0
  650. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/int_fmtio.h +0 -0
  651. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/int_limits.h +0 -0
  652. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/int_mwgwtypes.h +0 -0
  653. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/int_types.h +0 -0
  654. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/intr.h +0 -0
  655. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/kcore.h +0 -0
  656. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/limits.h +0 -0
  657. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/lock.h +0 -0
  658. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/math.h +0 -0
  659. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/mcontext.h +0 -0
  660. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/mutex.h +0 -0
  661. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/param.h +0 -0
  662. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/pcb.h +0 -0
  663. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/pmap.h +0 -0
  664. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/proc.h +0 -0
  665. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/profile.h +0 -0
  666. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/psl.h +0 -0
  667. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/pte.h +0 -0
  668. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/ptrace.h +0 -0
  669. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/reg.h +0 -0
  670. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/reloc.h +0 -0
  671. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/rwlock.h +0 -0
  672. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/setjmp.h +0 -0
  673. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/signal.h +0 -0
  674. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/sljit_machdep.h +0 -0
  675. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/trap.h +0 -0
  676. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/types.h +0 -0
  677. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/vmparam.h +0 -0
  678. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/wchar_limits.h +0 -0
  679. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/machine/fpu.h +0 -0
  680. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/machine/intr.h +0 -0
  681. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ansi.h +0 -0
  682. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/aout_machdep.h +0 -0
  683. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/cdefs.h +0 -0
  684. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/elf_machdep.h +0 -0
  685. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/endian.h +0 -0
  686. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/endian_machdep.h +0 -0
  687. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/float.h +0 -0
  688. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/fpu.h +0 -0
  689. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/frame.h +0 -0
  690. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ibm4xx/cpu.h +0 -0
  691. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ibm4xx/spr.h +0 -0
  692. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ibm4xx/tlb.h +0 -0
  693. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ieeefp.h +0 -0
  694. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/int_const.h +0 -0
  695. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/int_fmtio.h +0 -0
  696. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/int_limits.h +0 -0
  697. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/int_mwgwtypes.h +0 -0
  698. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/int_types.h +0 -0
  699. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/kcore.h +0 -0
  700. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/lock.h +0 -0
  701. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/math.h +0 -0
  702. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/bat.h +0 -0
  703. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/hid_601.h +0 -0
  704. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/pte.h +0 -0
  705. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/spr.h +0 -0
  706. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/sr_601.h +0 -0
  707. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/vmparam.h +0 -0
  708. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/param.h +0 -0
  709. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/pcb.h +0 -0
  710. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/proc.h +0 -0
  711. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/profile.h +0 -0
  712. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/pte.h +0 -0
  713. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ptrace.h +0 -0
  714. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/reg.h +0 -0
  715. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/reloc.h +0 -0
  716. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/rwlock.h +0 -0
  717. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/setjmp.h +0 -0
  718. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/signal.h +0 -0
  719. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/sljit_machdep.h +0 -0
  720. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/spr.h +0 -0
  721. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/trap.h +0 -0
  722. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/types.h +0 -0
  723. /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/wchar_limits.h +0 -0
@@ -1,4 +1,4 @@
1
- /* $NetBSD: pcb.h,v 1.59 2019/10/12 06:31:03 maxv Exp $ */
1
+ /* $NetBSD: pcb.h,v 1.61 2025/04/24 09:29:09 kre Exp $ */
2
2
 
3
3
  /*
4
4
  * Copyright (c) 1998, 2009 The NetBSD Foundation, Inc.
@@ -99,12 +99,16 @@ struct pcb {
99
99
  int not_used[15];
100
100
 
101
101
  /* floating point state */
102
- union savefpu pcb_savefpu __aligned(64);
102
+ union savefpu pcb_savefpu[1] __aligned(64);
103
+ #define pcb_savefpusmall pcb_savefpu
103
104
  /* **** DO NOT ADD ANYTHING HERE **** */
104
105
 
105
106
  };
106
107
  #ifndef __lint__
108
+ #include <sys/stddef.h> /* for offsetof() */
109
+
107
110
  /* This doesn't really matter, but there is a lot of implied padding */
111
+ __CTASSERT(offsetof(struct pcb, pcb_savefpu) == 128);
108
112
  __CTASSERT(sizeof(struct pcb) - sizeof (union savefpu) == 128);
109
113
  #endif
110
114
 
@@ -1,4 +1,4 @@
1
- /* $NetBSD: ptrace.h,v 1.26 2020/05/30 08:41:23 maxv Exp $ */
1
+ /* $NetBSD: ptrace.h,v 1.27 2023/11/20 03:05:48 simonb Exp $ */
2
2
 
3
3
  /*
4
4
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -162,7 +162,7 @@
162
162
  #define PT32_GETXSTATE PT_GETXSTATE
163
163
  #define COREDUMP_MACHDEP_LWP_NOTES(l, ns, name) \
164
164
  { \
165
- struct xstate xstate; \
165
+ struct xstate xstate; /* XXX FIXME big stack object */ \
166
166
  memset(&xstate, 0, sizeof(xstate)); \
167
167
  if (!process_read_xstate(l, &xstate)) \
168
168
  { \
@@ -1,4 +1,4 @@
1
- /* $NetBSD: types.h,v 1.93 2021/04/01 04:35:46 simonb Exp $ */
1
+ /* $NetBSD: types.h,v 1.95 2025/05/08 05:31:16 imil Exp $ */
2
2
 
3
3
  /*-
4
4
  * Copyright (c) 1990 The Regents of the University of California.
@@ -134,5 +134,6 @@ typedef __register_t register_t;
134
134
  #define __HAVE_COMMON___TLS_GET_ADDR
135
135
  #define __HAVE_UCAS_FULL
136
136
  #define __HAVE_RAS
137
+ #define __HAVE_BOOT_DURATION
137
138
 
138
139
  #endif /* _I386_MACHTYPES_H_ */
@@ -44,4 +44,4 @@
44
44
  #define WINT_MIN (-0x7fffffff-1) /* wint_t */
45
45
  #define WINT_MAX 0x7fffffff /* wint_t */
46
46
 
47
- #endif /* !_I386_WCHAR_LIMITS_H_ */
47
+ #endif /* !_I386_WCHAR_LIMITS_H_ */
@@ -1,4 +1,4 @@
1
- /* $NetBSD: cd9660_extern.h,v 1.27.30.1 2024/06/22 10:57:10 martin Exp $ */
1
+ /* $NetBSD: cd9660_extern.h,v 1.29 2024/05/19 15:41:53 tsutsui Exp $ */
2
2
 
3
3
  /*-
4
4
  * Copyright (c) 1994
@@ -62,6 +62,11 @@ struct iso_mnt {
62
62
  dev_t im_dev;
63
63
  struct vnode *im_devvp;
64
64
 
65
+ uid_t im_uid;
66
+ gid_t im_gid;
67
+ mode_t im_fmask;
68
+ mode_t im_dmask;
69
+
65
70
  int logical_block_size;
66
71
  int im_bshift;
67
72
  int im_bmask;
@@ -1,4 +1,4 @@
1
- /* $NetBSD: cd9660_mount.h,v 1.6 2005/12/03 17:34:43 christos Exp $ */
1
+ /* $NetBSD: cd9660_mount.h,v 1.7 2024/02/02 20:27:26 christos Exp $ */
2
2
  /*
3
3
  * Copyright (c) 1995
4
4
  * The Regents of the University of California. All rights reserved.
@@ -45,6 +45,10 @@ struct iso_args {
45
45
  const char *fspec; /* block special device to mount */
46
46
  struct export_args30 _pad1; /* compat with old userland tools */
47
47
  int flags; /* mounting flags, see below */
48
+ uid_t uid; /* uid that owns ISO-9660 files */
49
+ gid_t gid; /* gid that owns ISO-9660 files */
50
+ mode_t fmask; /* file mask to be applied for files */
51
+ mode_t dmask; /* file mask to be applied for directories */
48
52
  };
49
53
  #define ISOFSMNT_NORRIP 0x00000001 /* disable Rock Ridge Ext.*/
50
54
  #define ISOFSMNT_GENS 0x00000002 /* enable generation numbers */
@@ -52,6 +56,8 @@ struct iso_args {
52
56
  #define ISOFSMNT_NOJOLIET 0x00000008 /* disable Joliet extensions */
53
57
  #define ISOFSMNT_NOCASETRANS 0x00000010 /* do not make names lower case */
54
58
  #define ISOFSMNT_RRCASEINS 0x00000020 /* case insensitive Rock Ridge */
59
+ #define ISOFSMNT_UID 0x00000100 /* override uid */
60
+ #define ISOFSMNT_GID 0x00000200 /* override gid */
55
61
 
56
62
  #define ISOFSMNT_BITS "\177\20" \
57
63
  "b\00norrip\0b\01gens\0b\02extatt\0b\03nojoliet\0" \
@@ -1,4 +1,4 @@
1
- /* $NetBSD: langinfo.h,v 1.10 2013/08/19 08:03:33 joerg Exp $ */
1
+ /* $NetBSD: langinfo.h,v 1.11 2024/10/30 15:56:10 riastradh Exp $ */
2
2
 
3
3
  /*
4
4
  * Written by J.T. Conklin <jtc@NetBSD.org>
@@ -9,6 +9,7 @@
9
9
  #define _LANGINFO_H_
10
10
 
11
11
  #include <sys/cdefs.h>
12
+ #include <sys/featuretest.h>
12
13
  #include <nl_types.h>
13
14
 
14
15
  #define D_T_FMT ((nl_item)0) /* String for formatting date and
@@ -1,4 +1,4 @@
1
- /* $NetBSD: lauxlib.h,v 1.8.10.1 2023/08/11 16:22:06 martin Exp $ */
1
+ /* $NetBSD: lauxlib.h,v 1.9 2023/04/16 20:46:17 nikita Exp $ */
2
2
 
3
3
  /*
4
4
  ** Id: lauxlib.h
@@ -1,4 +1,4 @@
1
- /* $NetBSD: libelf.h,v 1.5 2016/02/20 02:43:42 christos Exp $ */
1
+ /* $NetBSD: libelf.h,v 1.7 2024/04/01 18:33:22 riastradh Exp $ */
2
2
 
3
3
  /*-
4
4
  * Copyright (c) 2006,2008-2010 Joseph Koshy
@@ -25,7 +25,7 @@
25
25
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26
26
  * SUCH DAMAGE.
27
27
  *
28
- * Id: libelf.h 3174 2015-03-27 17:13:41Z emaste
28
+ * Id: libelf.h 3984 2022-05-06 11:22:42Z jkoshy
29
29
  */
30
30
 
31
31
  #ifndef _LIBELF_H_
@@ -33,22 +33,12 @@
33
33
 
34
34
  #if HAVE_NBTOOL_CONFIG_H
35
35
  # include "nbtool_config.h"
36
- #endif
37
-
38
-
39
- #if HAVE_NBTOOL_CONFIG_H
40
- # include <nbinclude/sys/exec_elf.h>
41
- #elif defined(__NetBSD__)
42
- # include <sys/types.h>
43
- # include <sys/exec_elf.h>
44
- #elif defined(__FreeBSD__)
45
- # include <sys/types.h>
46
- # include <sys/elf32.h>
47
- # include <sys/elf64.h>
48
36
  #else
49
- # error "Unsupported platform"
37
+ # include <sys/types.h>
50
38
  #endif
51
39
 
40
+ #include "elfdefinitions.h"
41
+
52
42
  /* Library private data structures */
53
43
  typedef struct _Elf Elf;
54
44
  typedef struct _Elf_Scn Elf_Scn;
@@ -222,6 +212,7 @@ int elf_getshdrnum(Elf *_elf, size_t *_dst);
222
212
  int elf_getshnum(Elf *_elf, size_t *_dst); /* Deprecated */
223
213
  int elf_getshdrstrndx(Elf *_elf, size_t *_dst);
224
214
  int elf_getshstrndx(Elf *_elf, size_t *_dst); /* Deprecated */
215
+ unsigned int elf_getversion(Elf *_elf);
225
216
  unsigned long elf_hash(const void *_name);
226
217
  Elf_Kind elf_kind(Elf *_elf);
227
218
  Elf *elf_memory(char *_image, size_t _size);
@@ -1,4 +1,4 @@
1
- /* $NetBSD: limits.h,v 1.43.2.2 2024/10/11 17:26:32 martin Exp $ */
1
+ /* $NetBSD: limits.h,v 1.45 2024/09/09 12:01:01 riastradh Exp $ */
2
2
 
3
3
  /*
4
4
  * Copyright (c) 1988, 1993
@@ -1,4 +1,4 @@
1
- /* $NetBSD: lua.h,v 1.11.10.1 2023/08/11 16:22:07 martin Exp $ */
1
+ /* $NetBSD: lua.h,v 1.14 2023/06/08 21:12:08 nikita Exp $ */
2
2
 
3
3
  /*
4
4
  ** Id: lua.h
@@ -1,4 +1,4 @@
1
- /* $NetBSD: luaconf.h,v 1.23.10.1 2023/08/11 16:22:07 martin Exp $ */
1
+ /* $NetBSD: luaconf.h,v 1.25 2023/06/08 21:12:08 nikita Exp $ */
2
2
 
3
3
  /*
4
4
  ** Id: luaconf.h
@@ -1,4 +1,4 @@
1
- /* $NetBSD: lualib.h,v 1.7.10.1 2023/08/11 16:22:07 martin Exp $ */
1
+ /* $NetBSD: lualib.h,v 1.8 2023/04/16 20:46:17 nikita Exp $ */
2
2
 
3
3
  /*
4
4
  ** Id: lualib.h
@@ -1,4 +1,4 @@
1
- /* $NetBSD: lwp.h,v 1.13 2017/12/08 01:19:29 christos Exp $ */
1
+ /* $NetBSD: lwp.h,v 1.15 2024/11/04 15:45:22 christos Exp $ */
2
2
 
3
3
  /*-
4
4
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -1,3 +1,3 @@
1
- /* $NetBSD: ansi.h,v 1.1 2002/12/09 12:15:56 scw Exp $ */
1
+ /* $NetBSD: ansi.h,v 1.1 2014/09/19 17:36:26 matt Exp $ */
2
2
 
3
- #include <powerpc/ansi.h>
3
+ #include <sys/common_ansi.h>
@@ -1,3 +1,40 @@
1
- /* $NetBSD: aout_machdep.h,v 1.1 2002/12/09 12:15:56 scw Exp $ */
1
+ /* $NetBSD: aout_machdep.h,v 1.1 2014/09/19 17:36:26 matt Exp $ */
2
2
 
3
- #include <powerpc/aout_machdep.h>
3
+ /*-
4
+ * Copyright (c) 2014 The NetBSD Foundation, Inc.
5
+ * All rights reserved.
6
+ *
7
+ * This code is derived from software contributed to The NetBSD Foundation
8
+ * by Matt Thomas of 3am Software Foundry.
9
+ *
10
+ * Redistribution and use in source and binary forms, with or without
11
+ * modification, are permitted provided that the following conditions
12
+ * are met:
13
+ * 1. Redistributions of source code must retain the above copyright
14
+ * notice, this list of conditions and the following disclaimer.
15
+ * 2. Redistributions in binary form must reproduce the above copyright
16
+ * notice, this list of conditions and the following disclaimer in the
17
+ * documentation and/or other materials provided with the distribution.
18
+ *
19
+ * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
20
+ * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21
+ * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
23
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29
+ * POSSIBILITY OF SUCH DAMAGE.
30
+ */
31
+
32
+ #ifndef _RISCV_AOUT_MACHDEP_H_
33
+ #define _RISCV_AOUT_MACHDEP_H_
34
+
35
+ #define cpu_exec_aout_makecmds(p, epp) ENOEXEC
36
+
37
+ /* Size of a page in an object file. */
38
+ #define AOUT_LDPGSZ 4096
39
+
40
+ #endif /* !_RISCV_AOUT_MACHDEP_H_ */
@@ -1,4 +1,4 @@
1
- /* $NetBSD: pmap.h,v 1.173.4.1 2023/10/14 06:52:17 martin Exp $ */
1
+ /* $NetBSD: pmap.h,v 1.177 2023/10/12 11:33:37 skrll Exp $ */
2
2
 
3
3
  /*
4
4
  * Copyright (c) 2002, 2003 Wasabi Systems, Inc.
@@ -79,7 +79,10 @@
79
79
  #endif
80
80
  #include <arm/cpufunc.h>
81
81
  #include <arm/locore.h>
82
+
82
83
  #include <uvm/uvm_object.h>
84
+
85
+ #include <uvm/pmap/pmap_devmap.h>
83
86
  #include <uvm/pmap/pmap_pvt.h>
84
87
  #endif
85
88
 
@@ -91,12 +94,7 @@
91
94
  #endif
92
95
  #define PMAP_TLB_FLUSH_ASID_ON_RESET arm_has_tlbiasid_p
93
96
  #define PMAP_TLB_NUM_PIDS 256
94
- #define cpu_set_tlb_info(ci, ti) ((void)((ci)->ci_tlb_info = (ti)))
95
- #if PMAP_TLB_MAX > 1
96
- #define cpu_tlb_info(ci) ((ci)->ci_tlb_info)
97
- #else
98
- #define cpu_tlb_info(ci) (&pmap_tlb0_info)
99
- #endif
97
+
100
98
  #define pmap_md_tlb_asid_max() (PMAP_TLB_NUM_PIDS - 1)
101
99
  #include <uvm/pmap/tlb.h>
102
100
  #include <uvm/pmap/pmap_tlb.h>
@@ -201,29 +199,10 @@ union pmap_cache_state {
201
199
  #define PMAP_CACHE_STATE_ALL 0xffffffffu
202
200
  #endif /* !ARM_MMU_EXTENDED */
203
201
 
204
- /*
205
- * This structure is used by machine-dependent code to describe
206
- * static mappings of devices, created at bootstrap time.
207
- */
208
- struct pmap_devmap {
209
- vaddr_t pd_va; /* virtual address */
210
- paddr_t pd_pa; /* physical address */
211
- psize_t pd_size; /* size of region */
212
- vm_prot_t pd_prot; /* protection code */
213
- int pd_cache; /* cache attributes */
214
- };
215
202
 
216
203
  #define DEVMAP_ALIGN(a) ((a) & ~L1_S_OFFSET)
217
204
  #define DEVMAP_SIZE(s) roundup2((s), L1_S_SIZE)
218
- #define DEVMAP_ENTRY(va, pa, sz) \
219
- { \
220
- .pd_va = DEVMAP_ALIGN(va), \
221
- .pd_pa = DEVMAP_ALIGN(pa), \
222
- .pd_size = DEVMAP_SIZE(sz), \
223
- .pd_prot = VM_PROT_READ|VM_PROT_WRITE, \
224
- .pd_cache = PTE_DEV \
225
- }
226
- #define DEVMAP_ENTRY_END { 0 }
205
+ #define DEVMAP_FLAGS PMAP_DEV
227
206
 
228
207
  /*
229
208
  * The pmap structure itself
@@ -419,17 +398,14 @@ void pmap_postinit(void);
419
398
 
420
399
  void vector_page_setprot(int);
421
400
 
422
- const struct pmap_devmap *pmap_devmap_find_pa(paddr_t, psize_t);
423
- const struct pmap_devmap *pmap_devmap_find_va(vaddr_t, vsize_t);
424
-
425
401
  /* Bootstrapping routines. */
426
402
  void pmap_map_section(vaddr_t, vaddr_t, paddr_t, int, int);
427
403
  void pmap_map_entry(vaddr_t, vaddr_t, paddr_t, int, int);
428
404
  vsize_t pmap_map_chunk(vaddr_t, vaddr_t, paddr_t, vsize_t, int, int);
429
405
  void pmap_unmap_chunk(vaddr_t, vaddr_t, vsize_t);
430
406
  void pmap_link_l2pt(vaddr_t, vaddr_t, pv_addr_t *);
431
- void pmap_devmap_bootstrap(vaddr_t, const struct pmap_devmap *);
432
- void pmap_devmap_register(const struct pmap_devmap *);
407
+
408
+ vsize_t pmap_kenter_range(vaddr_t, paddr_t, vsize_t, vm_prot_t, u_int);
433
409
 
434
410
  /*
435
411
  * Special page zero routine for use by the idle loop (no cache cleans).
@@ -1,4 +1,4 @@
1
- /* $NetBSD: vmparam.h,v 1.56 2020/10/08 12:49:06 he Exp $ */
1
+ /* $NetBSD: vmparam.h,v 1.58 2024/09/07 06:17:37 andvar Exp $ */
2
2
 
3
3
  /*
4
4
  * Copyright (c) 2001, 2002 Wasabi Systems, Inc.
@@ -54,7 +54,7 @@
54
54
  #define USRSTACK VM_MAXUSER_ADDRESS
55
55
 
56
56
  /*
57
- * ARMv4 systems are normaly configured for 256MB KVA only, so restrict
57
+ * ARMv4 systems are normally configured for 256MB KVA only, so restrict
58
58
  * the size of the pager map to 4MB.
59
59
  */
60
60
  #ifndef _ARM_ARCH_5
@@ -131,7 +131,7 @@
131
131
  #define VM_KERNEL_KASAN_END (VM_KERNEL_KASAN_BASE + VM_KERNEL_KASAN_SIZE)
132
132
  #define VM_KERNEL_VM_END VM_KERNEL_KASAN_BASE
133
133
  #else
134
- #define VM_KERNEL_VM_END VM_KERNEL_IO_ADDRESS
134
+ #define VM_KERNEL_VM_END VM_KERNEL_IO_BASE
135
135
  #endif
136
136
 
137
137
  #ifdef __HAVE_MM_MD_DIRECT_MAPPED_PHYS
@@ -146,8 +146,8 @@
146
146
  #define VM_KERNEL_ADDR_SIZE (VM_KERNEL_VM_END - KERNEL_BASE)
147
147
  #define VM_KERNEL_VM_SIZE (VM_KERNEL_VM_END - VM_KERNEL_VM_BASE)
148
148
 
149
- #define VM_KERNEL_IO_ADDRESS 0xf0000000
150
- #define VM_KERNEL_IO_SIZE (VM_MAX_KERNEL_ADDRESS - VM_KERNEL_IO_ADDRESS)
149
+ #define VM_KERNEL_IO_BASE 0xf0000000
150
+ #define VM_KERNEL_IO_SIZE (VM_MAX_KERNEL_ADDRESS - VM_KERNEL_IO_BASE)
151
151
  #endif
152
152
 
153
153
  #endif /* _ARM_ARM32_VMPARAM_H_ */
@@ -1,3 +1,272 @@
1
- /* $NetBSD: asm.h,v 1.1 2002/12/09 12:15:57 scw Exp $ */
1
+ /* $NetBSD: asm.h,v 1.11.2.1 2026/04/02 15:59:59 martin Exp $ */
2
2
 
3
- #include <powerpc/asm.h>
3
+ /*-
4
+ * Copyright (c) 2014 The NetBSD Foundation, Inc.
5
+ * All rights reserved.
6
+ *
7
+ * This code is derived from software contributed to The NetBSD Foundation
8
+ * by Matt Thomas of 3am Software Foundry.
9
+ *
10
+ * Redistribution and use in source and binary forms, with or without
11
+ * modification, are permitted provided that the following conditions
12
+ * are met:
13
+ * 1. Redistributions of source code must retain the above copyright
14
+ * notice, this list of conditions and the following disclaimer.
15
+ * 2. Redistributions in binary form must reproduce the above copyright
16
+ * notice, this list of conditions and the following disclaimer in the
17
+ * documentation and/or other materials provided with the distribution.
18
+ *
19
+ * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
20
+ * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21
+ * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
23
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29
+ * POSSIBILITY OF SUCH DAMAGE.
30
+ */
31
+
32
+ #ifndef _RISCV_ASM_H
33
+ #define _RISCV_ASM_H
34
+
35
+ #define _C_LABEL(x) x
36
+
37
+ #define __CONCAT(x,y) x ## y
38
+ #define __STRING(x) #x
39
+
40
+ #define ___CONCAT(x,y) __CONCAT(x,y)
41
+
42
+ /*
43
+ * Define -pg profile entry code.
44
+ */
45
+ #define _KERN_MCOUNT \
46
+ addi sp, sp, -CALLFRAME_SIZ; \
47
+ REG_S ra, CALLFRAME_RA(sp); \
48
+ REG_S a0, CALLFRAME_S1(sp); \
49
+ mv a0, ra; \
50
+ call PLT(_mcount); \
51
+ REG_L ra, CALLFRAME_RA(sp); \
52
+ REG_L a0, CALLFRAME_S1(sp); \
53
+ addi sp, sp, CALLFRAME_SIZ
54
+
55
+ #ifdef GPROF
56
+ #define _PROF_PROLOGUE _KERN_MCOUNT
57
+ #else
58
+ #define _PROF_PROLOGUE
59
+ #endif
60
+
61
+ #ifdef __PIC__
62
+ #define PLT(x) x##@plt
63
+ #else
64
+ #define PLT(x) x
65
+ #endif
66
+
67
+ /*
68
+ * WEAK_ALIAS: create a weak alias.
69
+ */
70
+ #define WEAK_ALIAS(alias,sym) \
71
+ .weak alias; \
72
+ alias = sym
73
+ /*
74
+ * STRONG_ALIAS: create a strong alias.
75
+ */
76
+ #define STRONG_ALIAS(alias,sym) \
77
+ .globl alias; \
78
+ alias = sym
79
+
80
+ /*
81
+ * WARN_REFERENCES: create a warning if the specified symbol is referenced.
82
+ */
83
+ #define WARN_REFERENCES(sym,msg) \
84
+ .pushsection __CONCAT(.gnu.warning.,sym); \
85
+ .ascii msg; \
86
+ .popsection
87
+
88
+ #define _ENTRY(x) \
89
+ .globl _C_LABEL(x); \
90
+ .type _C_LABEL(x), @function; \
91
+ _C_LABEL(x):
92
+
93
+ #define ENTRY_NP(x) .text; .align 2; _ENTRY(x)
94
+ #define ENTRY(x) ENTRY_NP(x); _PROF_PROLOGUE
95
+ #define ALTENTRY(x) _ENTRY(x)
96
+ #define END(x) .size _C_LABEL(x), . - _C_LABEL(x)
97
+
98
+ /*
99
+ * Macros to panic and printf from assembly language.
100
+ */
101
+ #define PANIC(msg) \
102
+ la a0, 9f; \
103
+ call _C_LABEL(panic); \
104
+ MSG(msg)
105
+
106
+ #define PRINTF(msg) \
107
+ la a0, 9f; \
108
+ call _C_LABEL(printf); \
109
+ MSG(msg)
110
+
111
+ #define MSG(msg) \
112
+ .pushsection .rodata.str1.8,"aMS",@progbits,1; \
113
+ 9: .asciiz msg; \
114
+ .popsection
115
+
116
+ #define ASMSTR(str) \
117
+ .asciiz str; \
118
+ .align 3
119
+
120
+ #ifdef _NETBSD_REVISIONID
121
+ #define __RCSID(x) .pushsection ".ident","MS",@progbits,1; \
122
+ .asciz x; \
123
+ .ascii "$"; .ascii "NetBSD: "; .ascii __FILE__; \
124
+ .ascii " "; .ascii _NETBSD_REVISIONID; \
125
+ .asciz " $"; \
126
+ .popsection
127
+ #else
128
+ #define __RCSID(x) .pushsection ".ident","MS",@progbits,1; \
129
+ .asciz x; \
130
+ .popsection
131
+ #endif
132
+ #define RCSID(name) __RCSID(name)
133
+
134
+ #if defined(_LP64)
135
+ #define SZREG 8
136
+ #else
137
+ #define SZREG 4
138
+ #endif
139
+
140
+ #define ALSK 15 /* stack alignment */
141
+ #define ALMASK -15 /* stack alignment */
142
+ #define SZFPREG 8
143
+ #define FP_L fld
144
+ #define FP_S fsd
145
+
146
+ /*
147
+ * standard callframe {
148
+ * register_t cf_sp; frame pointer
149
+ * register_t cf_ra; return address
150
+ * };
151
+ */
152
+ #define CALLFRAME_SIZ (SZREG * 4)
153
+ #define CALLFRAME_S1 (CALLFRAME_SIZ - 4 * SZREG)
154
+ #define CALLFRAME_S0 (CALLFRAME_SIZ - 3 * SZREG)
155
+ #define CALLFRAME_SP (CALLFRAME_SIZ - 2 * SZREG)
156
+ #define CALLFRAME_RA (CALLFRAME_SIZ - 1 * SZREG)
157
+
158
+ /*
159
+ * These macros hide the use of rv32 and rv64 instructions from the
160
+ * assembler to prevent the assembler from generating 64-bit style
161
+ * ABI calls.
162
+ */
163
+ #define PTR_ADD add
164
+ #define PTR_ADDI addi
165
+ #define PTR_SUB sub
166
+ #define PTR_SUBI subi
167
+ #define PTR_LA la
168
+ #define PTR_SLLI slli
169
+ #define PTR_SLL sll
170
+ #define PTR_SRLI srli
171
+ #define PTR_SRL srl
172
+ #define PTR_SRAI srai
173
+ #define PTR_SRA sra
174
+ #if _LP64
175
+ #define PTR_L ld
176
+ #define PTR_S sd
177
+ #define PTR_LR lr.d
178
+ #define PTR_SC sc.d
179
+ #define PTR_WORD .dword
180
+ #define PTR_SCALESHIFT 3
181
+ #else
182
+ #define PTR_L lw
183
+ #define PTR_S sw
184
+ #define PTR_LR lr.w
185
+ #define PTR_SC sc.w
186
+ #define PTR_WORD .word
187
+ #define PTR_SCALESHIFT 2
188
+ #endif
189
+
190
+ #define INT_L lw
191
+ #define INT_LA la
192
+ #define INT_S sw
193
+ #define INT_LR lr.w
194
+ #define INT_SC sc.w
195
+ #define INT_WORD .word
196
+ #define INT_SCALESHIFT 2
197
+ #ifdef _LP64
198
+ #define INT_ADD addw
199
+ #define INT_ADDI addwi
200
+ #define INT_SUB subw
201
+ #define INT_SUBI subwi
202
+ #define INT_SLL sllwi
203
+ #define INT_SLLV sllw
204
+ #define INT_SRL srlwi
205
+ #define INT_SRLV srlw
206
+ #define INT_SRA srawi
207
+ #define INT_SRAV sraw
208
+ #else
209
+ #define INT_ADD add
210
+ #define INT_ADDI addi
211
+ #define INT_SUB sub
212
+ #define INT_SUBI subi
213
+ #define INT_SLLI slli
214
+ #define INT_SLL sll
215
+ #define INT_SRLI srli
216
+ #define INT_SRL srl
217
+ #define INT_SRAI srai
218
+ #define INT_SRA sra
219
+ #endif
220
+
221
+ #define LONG_LA la
222
+ #define LONG_ADD add
223
+ #define LONG_ADDI addi
224
+ #define LONG_SUB sub
225
+ #define LONG_SUBI subi
226
+ #define LONG_SLLI slli
227
+ #define LONG_SLL sll
228
+ #define LONG_SRLI srli
229
+ #define LONG_SRL srl
230
+ #define LONG_SRAI srai
231
+ #define LONG_SRA sra
232
+ #ifdef _LP64
233
+ #define LONG_L ld
234
+ #define LONG_S sd
235
+ #define LONG_LR lr.d
236
+ #define LONG_SC sc.d
237
+ #define LONG_WORD .quad
238
+ #define LONG_SCALESHIFT 3
239
+ #else
240
+ #define LONG_L lw
241
+ #define LONG_S sw
242
+ #define LONG_LR lr.w
243
+ #define LONG_SC sc.w
244
+ #define LONG_WORD .word
245
+ #define LONG_SCALESHIFT 2
246
+ #endif
247
+
248
+ #define REG_LI li
249
+ #define REG_ADD add
250
+ #define REG_SLLI slli
251
+ #define REG_SLL sll
252
+ #define REG_SRLI srli
253
+ #define REG_SRL srl
254
+ #define REG_SRAI srai
255
+ #define REG_SRA sra
256
+ #if _LP64
257
+ #define REG_L ld
258
+ #define REG_S sd
259
+ #define REG_LR lr.d
260
+ #define REG_SC sc.d
261
+ #define REG_SCALESHIFT 3
262
+ #else
263
+ #define REG_L lw
264
+ #define REG_S sw
265
+ #define REG_LR lr.w
266
+ #define REG_SC sc.w
267
+ #define REG_SCALESHIFT 2
268
+ #endif
269
+
270
+ #define CPUVAR(off) _C_LABEL(cpu_info_store)+__CONCAT(CPU_INFO_,off)
271
+
272
+ #endif /* _RISCV_ASM_H */
@@ -1,8 +1,16 @@
1
- /* $NetBSD: bswap.h,v 1.2 1999/08/21 05:39:55 simonb Exp $ */
1
+ /* $NetBSD: bswap.h,v 1.2.264.1 2025/11/28 10:58:02 martin Exp $ */
2
2
 
3
3
  #ifndef _MACHINE_BSWAP_H_
4
4
  #define _MACHINE_BSWAP_H_
5
5
 
6
+ /*
7
+ * GCC doesn't generate inline calls to bswapX on sparc and instead
8
+ * generates function calls.
9
+ */
10
+ #if !defined(__clang__)
11
+ #define __HAVE_SLOW_BSWAP_BUILTIN
12
+ #endif
13
+
6
14
  #include <sys/bswap.h>
7
15
 
8
16
  #endif /* !_MACHINE_BSWAP_H_ */