@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.
- package/compiler/Maker/PkgConfig.zig +14 -7
- package/compiler/Maker/Step/Compile.zig +6 -6
- package/compiler/Maker/Step/Fmt.zig +1 -1
- package/compiler/Maker/Step/Run.zig +42 -39
- package/compiler/Maker/Step/TranslateC.zig +1 -1
- package/compiler/Maker/Step.zig +47 -16
- package/compiler/Maker.zig +54 -44
- package/libc/include/aarch64-netbsd-none/aarch64/armreg.h +259 -22
- package/libc/include/aarch64-netbsd-none/aarch64/byte_swap.h +3 -2
- package/libc/include/aarch64-netbsd-none/aarch64/cpu.h +26 -1
- package/libc/include/aarch64-netbsd-none/aarch64/lwp_private.h +3 -0
- package/libc/include/aarch64-netbsd-none/aarch64/pmap.h +7 -33
- package/libc/include/aarch64-netbsd-none/aarch64/sljit_machdep.h +1 -1
- package/libc/include/aarch64-netbsd-none/aarch64/vmparam.h +4 -4
- package/libc/include/aarch64-netbsd-none/machine/armreg.h +259 -22
- package/libc/include/aarch64-netbsd-none/machine/byte_swap.h +3 -2
- package/libc/include/aarch64-netbsd-none/machine/cpu.h +26 -1
- package/libc/include/aarch64-netbsd-none/machine/lwp_private.h +3 -0
- package/libc/include/aarch64-netbsd-none/machine/pmap.h +7 -33
- package/libc/include/aarch64-netbsd-none/machine/sljit_machdep.h +1 -1
- package/libc/include/aarch64-netbsd-none/machine/vmparam.h +4 -4
- package/libc/include/arm-netbsd-eabi/float.h +2 -1
- package/libc/include/arm-netbsd-eabi/machine/asm.h +48 -19
- package/libc/include/arm-netbsd-eabi/machine/byte_swap.h +121 -0
- package/libc/include/arm-netbsd-eabi/machine/cpu.h +1 -3
- package/libc/include/arm-netbsd-eabi/machine/float.h +2 -1
- package/libc/include/arm-netbsd-eabi/machine/lwp_private.h +81 -0
- package/libc/include/arm-netbsd-eabi/machine/mcontext.h +5 -51
- package/libc/include/arm-netbsd-eabi/machine/mutex.h +1 -1
- package/libc/include/arm-netbsd-eabi/machine/proc.h +2 -2
- package/libc/include/arm-netbsd-eabi/machine/profile.h +28 -96
- package/libc/include/arm-netbsd-eabi/machine/setjmp.h +7 -6
- package/libc/include/arm-netbsd-eabi/machine/sysarch.h +85 -0
- package/libc/include/generic-netbsd/altq/altq.h +2 -2
- package/libc/include/generic-netbsd/altq/altq_afmap.h +2 -1
- package/libc/include/generic-netbsd/altq/altq_classq.h +8 -6
- package/libc/include/generic-netbsd/altq/altq_jobs.h +37 -37
- package/libc/include/generic-netbsd/altq/altq_rmclass.h +8 -8
- package/libc/include/generic-netbsd/altq/altq_var.h +2 -2
- package/libc/include/generic-netbsd/arm/arm32/pmap.h +8 -32
- package/libc/include/generic-netbsd/arm/arm32/vmparam.h +5 -5
- package/libc/include/generic-netbsd/arm/asm.h +48 -19
- package/libc/include/generic-netbsd/arm/byte_swap.h +2 -2
- package/libc/include/generic-netbsd/arm/cpu.h +1 -3
- package/libc/include/generic-netbsd/arm/cputypes.h +12 -1
- package/libc/include/generic-netbsd/arm/float.h +2 -1
- package/libc/include/generic-netbsd/arm/lwp_private.h +81 -0
- package/libc/include/generic-netbsd/arm/mcontext.h +5 -51
- package/libc/include/generic-netbsd/arm/mutex.h +1 -1
- package/libc/include/generic-netbsd/arm/proc.h +2 -2
- package/libc/include/generic-netbsd/arm/profile.h +28 -96
- package/libc/include/generic-netbsd/arm/setjmp.h +7 -6
- package/libc/include/generic-netbsd/arpa/nameser.h +3 -3
- package/libc/include/generic-netbsd/arpa/nameser_compat.h +3 -3
- package/libc/include/generic-netbsd/assert.h +12 -22
- package/libc/include/generic-netbsd/bitstring.h +5 -5
- package/libc/include/generic-netbsd/cdbw.h +2 -2
- package/libc/include/generic-netbsd/crypto/cryptodev.h +99 -92
- package/libc/include/generic-netbsd/dev/i2c/emcfaninfo.h +234 -0
- package/libc/include/generic-netbsd/dev/i2c/emcfanreg.h +127 -0
- package/libc/include/generic-netbsd/dev/i2o/i2o.h +3 -366
- package/libc/include/generic-netbsd/dev/ic/hd44780var.h +3 -1
- package/libc/include/generic-netbsd/dev/ic/scmdreg.h +2 -2
- package/libc/include/generic-netbsd/dev/ic/stireg.h +777 -0
- package/libc/include/generic-netbsd/dev/ic/summitreg.h +214 -0
- package/libc/include/generic-netbsd/dev/iscsi/iscsi.h +1 -1
- package/libc/include/generic-netbsd/dev/pci/amrreg.h +2 -2
- package/libc/include/generic-netbsd/dev/pci/mlyreg.h +2 -2
- package/libc/include/generic-netbsd/dev/pci/pcidevs.h +177 -22
- package/libc/include/generic-netbsd/dev/pci/pcidevs_data.h +14971 -14588
- package/libc/include/generic-netbsd/dev/pci/pcireg.h +14 -14
- package/libc/include/generic-netbsd/dev/pckbc/pckbdreg.h +2 -1
- package/libc/include/generic-netbsd/dev/pcmcia/if_rayreg.h +2 -2
- package/libc/include/generic-netbsd/dev/raidframe/raidframeio.h +1 -1
- package/libc/include/generic-netbsd/dev/scsipi/scsi_disk.h +42 -7
- package/libc/include/generic-netbsd/dev/scsipi/scsi_spc.h +2 -2
- package/libc/include/generic-netbsd/dev/scsipi/scsipi_all.h +83 -2
- package/libc/include/generic-netbsd/dev/scsipi/scsipiconf.h +3 -1
- package/libc/include/generic-netbsd/dev/tc/sfbreg.h +3 -3
- package/libc/include/generic-netbsd/dev/tc/sticio.h +2 -2
- package/libc/include/generic-netbsd/dev/usb/umcpmio_hid_reports.h +499 -0
- package/libc/include/generic-netbsd/dev/usb/umcpmio_io.h +45 -0
- package/libc/include/generic-netbsd/dev/usb/usb.h +44 -6
- package/libc/include/generic-netbsd/dev/vndvar.h +2 -2
- package/libc/include/generic-netbsd/dev/wscons/wsconsio.h +19 -1
- package/libc/include/generic-netbsd/dev/wscons/wsksymdef.h +2 -2
- package/libc/include/generic-netbsd/dirent.h +1 -1
- package/libc/include/generic-netbsd/dlfcn.h +4 -2
- package/libc/include/generic-netbsd/elf.h +32 -20
- package/libc/include/generic-netbsd/elfdefinitions.h +1 -1
- package/libc/include/generic-netbsd/evbarm/intr.h +1 -1
- package/libc/include/generic-netbsd/evbmips/lwp_private.h +3 -0
- package/libc/include/generic-netbsd/execinfo.h +4 -2
- package/libc/include/generic-netbsd/fcntl.h +26 -2
- package/libc/include/generic-netbsd/float.h +58 -2
- package/libc/include/generic-netbsd/fmtmsg.h +2 -2
- package/libc/include/generic-netbsd/fs/hfs/libhfs.h +1 -1
- package/libc/include/generic-netbsd/fs/nilfs/nilfs_fs.h +2 -2
- package/libc/include/generic-netbsd/gelf.h +2 -2
- package/libc/include/generic-netbsd/i386/asm.h +12 -4
- package/libc/include/generic-netbsd/i386/byte_swap.h +2 -2
- package/libc/include/generic-netbsd/i386/cpu.h +15 -4
- package/libc/include/generic-netbsd/i386/elf_machdep.h +2 -1
- package/libc/include/generic-netbsd/i386/lwp_private.h +3 -0
- package/libc/include/generic-netbsd/i386/mcontext.h +6 -24
- package/libc/include/generic-netbsd/i386/param.h +9 -1
- package/libc/include/generic-netbsd/i386/pcb.h +6 -2
- package/libc/include/generic-netbsd/i386/ptrace.h +2 -2
- package/libc/include/generic-netbsd/i386/types.h +2 -1
- package/libc/include/generic-netbsd/i386/wchar_limits.h +1 -1
- package/libc/include/generic-netbsd/isofs/cd9660/cd9660_extern.h +6 -1
- package/libc/include/generic-netbsd/isofs/cd9660/cd9660_mount.h +7 -1
- package/libc/include/generic-netbsd/langinfo.h +2 -1
- package/libc/include/generic-netbsd/lauxlib.h +1 -1
- package/libc/include/generic-netbsd/libelf.h +6 -15
- package/libc/include/generic-netbsd/limits.h +1 -1
- package/libc/include/generic-netbsd/lua.h +1 -1
- package/libc/include/generic-netbsd/luaconf.h +1 -1
- package/libc/include/generic-netbsd/lualib.h +1 -1
- package/libc/include/generic-netbsd/lwp.h +1 -1
- package/libc/include/generic-netbsd/machine/ansi.h +2 -2
- package/libc/include/generic-netbsd/machine/aout_machdep.h +39 -2
- package/libc/include/generic-netbsd/machine/arm32/pmap.h +8 -32
- package/libc/include/generic-netbsd/machine/arm32/vmparam.h +5 -5
- package/libc/include/generic-netbsd/machine/asm.h +271 -2
- package/libc/include/generic-netbsd/machine/bswap.h +9 -1
- package/libc/include/generic-netbsd/machine/byte_swap.h +42 -64
- package/libc/include/generic-netbsd/machine/cdefs.h +7 -2
- package/libc/include/generic-netbsd/machine/cpu.h +207 -30
- package/libc/include/generic-netbsd/machine/cputypes.h +12 -1
- package/libc/include/generic-netbsd/machine/disklabel.h +41 -42
- package/libc/include/generic-netbsd/machine/elf_machdep.h +143 -2
- package/libc/include/generic-netbsd/machine/endian.h +1 -1
- package/libc/include/generic-netbsd/machine/fenv.h +35 -2
- package/libc/include/generic-netbsd/machine/float.h +58 -2
- package/libc/include/generic-netbsd/machine/frame.h +129 -2
- package/libc/include/generic-netbsd/machine/ieee.h +3 -2
- package/libc/include/generic-netbsd/machine/ieeefp.h +43 -2
- package/libc/include/generic-netbsd/machine/int_const.h +32 -2
- package/libc/include/generic-netbsd/machine/int_fmtio.h +380 -2
- package/libc/include/generic-netbsd/machine/int_limits.h +2 -2
- package/libc/include/generic-netbsd/machine/int_mwgwtypes.h +2 -2
- package/libc/include/generic-netbsd/machine/int_types.h +2 -2
- package/libc/include/generic-netbsd/machine/kcore.h +39 -2
- package/libc/include/generic-netbsd/machine/limits.h +2 -2
- package/libc/include/generic-netbsd/machine/lock.h +2 -2
- package/libc/include/generic-netbsd/machine/lwp_private.h +83 -0
- package/libc/include/generic-netbsd/machine/math.h +3 -2
- package/libc/include/generic-netbsd/machine/mcontext.h +149 -2
- package/libc/include/generic-netbsd/machine/mutex.h +127 -2
- package/libc/include/generic-netbsd/machine/param.h +90 -23
- package/libc/include/generic-netbsd/machine/pcb.h +54 -2
- package/libc/include/generic-netbsd/machine/pmap.h +262 -2
- package/libc/include/generic-netbsd/machine/proc.h +75 -2
- package/libc/include/generic-netbsd/machine/profile.h +116 -2
- package/libc/include/generic-netbsd/machine/psl.h +2 -2
- package/libc/include/generic-netbsd/machine/pte.h +346 -2
- package/libc/include/generic-netbsd/machine/ptrace.h +62 -2
- package/libc/include/generic-netbsd/machine/reg.h +124 -2
- package/libc/include/generic-netbsd/machine/reloc.h +2 -2
- package/libc/include/generic-netbsd/machine/setjmp.h +69 -2
- package/libc/include/generic-netbsd/machine/signal.h +39 -2
- package/libc/include/generic-netbsd/machine/sljit_machdep.h +1 -1
- package/libc/include/generic-netbsd/machine/sysarch.h +2 -84
- package/libc/include/generic-netbsd/machine/sysreg.h +354 -0
- package/libc/include/generic-netbsd/machine/trap.h +2 -2
- package/libc/include/generic-netbsd/machine/types.h +118 -6
- package/libc/include/generic-netbsd/machine/vmparam.h +235 -2
- package/libc/include/generic-netbsd/machine/wchar_limits.h +2 -2
- package/libc/include/generic-netbsd/math.h +19 -6
- package/libc/include/generic-netbsd/md2.h +6 -3
- package/libc/include/generic-netbsd/mips/asm.h +69 -17
- package/libc/include/generic-netbsd/mips/bswap.h +3 -1
- package/libc/include/generic-netbsd/mips/cpu.h +7 -7
- package/libc/include/generic-netbsd/mips/elf_machdep.h +2 -1
- package/libc/include/generic-netbsd/mips/fenv.h +2 -1
- package/libc/include/generic-netbsd/mips/float.h +3 -2
- package/libc/include/generic-netbsd/mips/frame.h +3 -2
- package/libc/include/generic-netbsd/mips/limits.h +4 -13
- package/libc/include/generic-netbsd/mips/lwp_private.h +87 -0
- package/libc/include/generic-netbsd/mips/mcontext.h +2 -53
- package/libc/include/generic-netbsd/mips/mips3_pte.h +2 -2
- package/libc/include/generic-netbsd/mips/mips_param.h +16 -2
- package/libc/include/generic-netbsd/mips/mutex.h +1 -1
- package/libc/include/generic-netbsd/mips/types.h +1 -1
- package/libc/include/generic-netbsd/mips/vmparam.h +1 -1
- package/libc/include/generic-netbsd/miscfs/kernfs/kernfs.h +2 -2
- package/libc/include/generic-netbsd/miscfs/procfs/procfs.h +33 -2
- package/libc/include/generic-netbsd/miscfs/specfs/specdev.h +1 -2
- package/libc/include/generic-netbsd/monetary.h +2 -1
- package/libc/include/generic-netbsd/net/agr/if_agrioctl.h +2 -2
- package/libc/include/generic-netbsd/net/bpf.h +11 -4
- package/libc/include/generic-netbsd/net/bpfdesc.h +1 -1
- package/libc/include/generic-netbsd/net/dlt.h +222 -48
- package/libc/include/generic-netbsd/net/if.h +20 -5
- package/libc/include/generic-netbsd/net/if_bridgevar.h +2 -3
- package/libc/include/generic-netbsd/net/if_ether.h +4 -3
- package/libc/include/generic-netbsd/net/if_lagg.h +2 -2
- package/libc/include/generic-netbsd/net/if_media.h +2 -2
- package/libc/include/generic-netbsd/net/if_ppp.h +1 -3
- package/libc/include/generic-netbsd/net/if_stats.h +19 -5
- package/libc/include/generic-netbsd/net/net_stats.h +13 -6
- package/libc/include/generic-netbsd/net/npf.h +33 -5
- package/libc/include/generic-netbsd/net/pfkeyv2.h +1 -1
- package/libc/include/generic-netbsd/net/route.h +4 -4
- package/libc/include/generic-netbsd/net80211/ieee80211_node.h +3 -2
- package/libc/include/generic-netbsd/net80211/ieee80211_var.h +2 -2
- package/libc/include/generic-netbsd/netbt/hci.h +3 -3
- package/libc/include/generic-netbsd/netdb.h +2 -2
- package/libc/include/generic-netbsd/netinet/icmp6.h +6 -2
- package/libc/include/generic-netbsd/netinet/in.h +17 -17
- package/libc/include/generic-netbsd/netinet/in_var.h +5 -9
- package/libc/include/generic-netbsd/netinet/ip_mroute.h +24 -28
- package/libc/include/generic-netbsd/netinet/ip_var.h +2 -2
- package/libc/include/generic-netbsd/netinet/sctp.h +4 -4
- package/libc/include/generic-netbsd/netinet/tcp_var.h +2 -2
- package/libc/include/generic-netbsd/netinet/tcp_vtw.h +2 -2
- package/libc/include/generic-netbsd/netinet6/in6_var.h +7 -33
- package/libc/include/generic-netbsd/netinet6/ip6_var.h +2 -2
- package/libc/include/generic-netbsd/nfs/krpc.h +9 -4
- package/libc/include/generic-netbsd/nfs/nfs.h +5 -3
- package/libc/include/generic-netbsd/nfs/nfsdiskless.h +37 -20
- package/libc/include/generic-netbsd/nfs/nfsm_subs.h +4 -7
- package/libc/include/generic-netbsd/nfs/nfsmount.h +3 -4
- package/libc/include/generic-netbsd/nfs/nfsnode.h +9 -6
- package/libc/include/generic-netbsd/nfs/nfsproto.h +5 -2
- package/libc/include/generic-netbsd/nfs/nfsrtt.h +8 -4
- package/libc/include/generic-netbsd/nfs/nfsrvcache.h +9 -3
- package/libc/include/generic-netbsd/nfs/rpcv2.h +5 -3
- package/libc/include/generic-netbsd/nfs/xdr_subs.h +6 -5
- package/libc/include/generic-netbsd/nl_types.h +3 -1
- package/libc/include/generic-netbsd/ntfs/ntfs_inode.h +2 -2
- package/libc/include/generic-netbsd/poll.h +8 -2
- package/libc/include/generic-netbsd/prop/prop_object.h +48 -3
- package/libc/include/generic-netbsd/protocols/talkd.h +2 -2
- package/libc/include/generic-netbsd/pthread.h +51 -12
- package/libc/include/generic-netbsd/regex.h +2 -1
- package/libc/include/generic-netbsd/riscv/ansi.h +3 -0
- package/libc/include/generic-netbsd/riscv/aout_machdep.h +40 -0
- package/libc/include/generic-netbsd/riscv/asm.h +272 -0
- package/libc/include/generic-netbsd/riscv/bswap.h +11 -0
- package/libc/include/generic-netbsd/riscv/byte_swap.h +99 -0
- package/libc/include/generic-netbsd/riscv/cdefs.h +8 -0
- package/libc/include/generic-netbsd/riscv/cpu.h +242 -0
- package/libc/include/generic-netbsd/riscv/disklabel.h +68 -0
- package/libc/include/generic-netbsd/riscv/elf_machdep.h +144 -0
- package/libc/include/generic-netbsd/riscv/endian.h +3 -0
- package/libc/include/generic-netbsd/riscv/endian_machdep.h +3 -0
- package/libc/include/generic-netbsd/riscv/fenv.h +36 -0
- package/libc/include/generic-netbsd/riscv/float.h +59 -0
- package/libc/include/generic-netbsd/riscv/ieee.h +4 -0
- package/libc/include/generic-netbsd/riscv/ieeefp.h +44 -0
- package/libc/include/generic-netbsd/riscv/int_const.h +33 -0
- package/libc/include/generic-netbsd/riscv/int_fmtio.h +381 -0
- package/libc/include/generic-netbsd/riscv/int_limits.h +3 -0
- package/libc/include/generic-netbsd/riscv/int_mwgwtypes.h +3 -0
- package/libc/include/generic-netbsd/riscv/int_types.h +3 -0
- package/libc/include/generic-netbsd/riscv/kcore.h +40 -0
- package/libc/include/generic-netbsd/riscv/limits.h +3 -0
- package/libc/include/generic-netbsd/riscv/lock.h +3 -0
- package/libc/include/generic-netbsd/riscv/lwp_private.h +83 -0
- package/libc/include/generic-netbsd/riscv/math.h +4 -0
- package/libc/include/generic-netbsd/riscv/mcontext.h +150 -0
- package/libc/include/generic-netbsd/riscv/mutex.h +128 -0
- package/libc/include/generic-netbsd/riscv/param.h +110 -0
- package/libc/include/generic-netbsd/riscv/pcb.h +55 -0
- package/libc/include/generic-netbsd/riscv/pmap.h +263 -0
- package/libc/include/generic-netbsd/riscv/proc.h +76 -0
- package/libc/include/generic-netbsd/riscv/profile.h +117 -0
- package/libc/include/generic-netbsd/riscv/pte.h +347 -0
- package/libc/include/generic-netbsd/riscv/ptrace.h +63 -0
- package/libc/include/generic-netbsd/riscv/reg.h +125 -0
- package/libc/include/generic-netbsd/riscv/rwlock.h +1 -0
- package/libc/include/generic-netbsd/riscv/setjmp.h +70 -0
- package/libc/include/generic-netbsd/riscv/signal.h +40 -0
- package/libc/include/generic-netbsd/riscv/sysarch.h +3 -0
- package/libc/include/generic-netbsd/riscv/sysreg.h +354 -0
- package/libc/include/generic-netbsd/riscv/types.h +123 -0
- package/libc/include/generic-netbsd/riscv/vmparam.h +236 -0
- package/libc/include/generic-netbsd/riscv/wchar_limits.h +13 -0
- package/libc/include/generic-netbsd/rmd160.h +3 -3
- package/libc/include/generic-netbsd/rpc/xdr.h +3 -3
- package/libc/include/generic-netbsd/rpcsvc/yp_prot.h +3 -2
- package/libc/include/generic-netbsd/rump/rump_namei.h +2 -2
- package/libc/include/generic-netbsd/rump/rump_syscalls.h +4 -4
- package/libc/include/generic-netbsd/rump/rumpuser.h +6 -1
- package/libc/include/generic-netbsd/rump/rumpvnode_if.h +2 -2
- package/libc/include/generic-netbsd/sha1.h +3 -3
- package/libc/include/generic-netbsd/sha2.h +8 -1
- package/libc/include/generic-netbsd/signal.h +4 -4
- package/libc/include/generic-netbsd/sparc/asm.h +10 -1
- package/libc/include/generic-netbsd/sparc/bswap.h +9 -1
- package/libc/include/generic-netbsd/sparc/cgtworeg.h +2 -2
- package/libc/include/generic-netbsd/sparc/cpu.h +1 -1
- package/libc/include/generic-netbsd/sparc/float.h +3 -1
- package/libc/include/generic-netbsd/sparc/limits.h +4 -6
- package/libc/include/generic-netbsd/sparc/lwp_private.h +51 -0
- package/libc/include/generic-netbsd/sparc/mcontext.h +4 -22
- package/libc/include/generic-netbsd/sparc/mutex.h +1 -1
- package/libc/include/generic-netbsd/sparc/param.h +4 -2
- package/libc/include/generic-netbsd/sparc/pmap.h +2 -2
- package/libc/include/generic-netbsd/sparc/psl.h +6 -3
- package/libc/include/generic-netbsd/sparc/types.h +2 -2
- package/libc/include/generic-netbsd/sparc64/bswap.h +9 -1
- package/libc/include/generic-netbsd/sparc64/cpu.h +2 -2
- package/libc/include/generic-netbsd/sparc64/ctlreg.h +8 -7
- package/libc/include/generic-netbsd/sparc64/intr.h +1 -1
- package/libc/include/generic-netbsd/sparc64/lwp_private.h +3 -0
- package/libc/include/generic-netbsd/sparc64/mcontext.h +4 -4
- package/libc/include/generic-netbsd/sparc64/mutex.h +1 -1
- package/libc/include/generic-netbsd/sparc64/param.h +8 -2
- package/libc/include/generic-netbsd/sparc64/psl.h +7 -2
- package/libc/include/generic-netbsd/sparc64/pte.h +2 -2
- package/libc/include/generic-netbsd/sparc64/vmparam.h +1 -1
- package/libc/include/generic-netbsd/ssp/ssp.h +16 -6
- package/libc/include/generic-netbsd/stdalign.h +3 -3
- package/libc/include/generic-netbsd/stdarg.h +2 -2
- package/libc/include/generic-netbsd/stddef.h +90 -12
- package/libc/include/generic-netbsd/stdlib.h +11 -2
- package/libc/include/generic-netbsd/stdnoreturn.h +2 -2
- package/libc/include/generic-netbsd/string.h +66 -39
- package/libc/include/generic-netbsd/strings.h +17 -3
- package/libc/include/generic-netbsd/sys/atomic.h +10 -5
- package/libc/include/generic-netbsd/sys/bitops.h +2 -2
- package/libc/include/generic-netbsd/sys/bootblock.h +13 -2
- package/libc/include/generic-netbsd/sys/bswap.h +46 -20
- package/libc/include/generic-netbsd/sys/buf.h +3 -3
- package/libc/include/generic-netbsd/sys/cdefs.h +44 -6
- package/libc/include/generic-netbsd/sys/cdefs_aout.h +8 -1
- package/libc/include/generic-netbsd/sys/cdefs_elf.h +9 -2
- package/libc/include/generic-netbsd/sys/chio.h +2 -2
- package/libc/include/generic-netbsd/sys/clock.h +5 -1
- package/libc/include/generic-netbsd/sys/common_limits.h +3 -1
- package/libc/include/generic-netbsd/sys/condvar.h +1 -1
- package/libc/include/generic-netbsd/sys/conf.h +4 -3
- package/libc/include/generic-netbsd/sys/container_of.h +75 -0
- package/libc/include/generic-netbsd/sys/device.h +20 -13
- package/libc/include/generic-netbsd/sys/disk.h +8 -1
- package/libc/include/generic-netbsd/sys/disklabel.h +2 -2
- package/libc/include/generic-netbsd/sys/disklabel_gpt.h +7 -1
- package/libc/include/generic-netbsd/sys/efiio.h +1 -1
- package/libc/include/generic-netbsd/sys/elfdefinitions.h +2368 -1591
- package/libc/include/generic-netbsd/sys/endian.h +17 -17
- package/libc/include/generic-netbsd/sys/evcnt.h +15 -2
- package/libc/include/generic-netbsd/sys/event.h +3 -2
- package/libc/include/generic-netbsd/sys/exec.h +2 -2
- package/libc/include/generic-netbsd/sys/exec_elf.h +32 -20
- package/libc/include/generic-netbsd/sys/fcntl.h +26 -2
- package/libc/include/generic-netbsd/sys/fd_set.h +3 -3
- package/libc/include/generic-netbsd/sys/featuretest.h +24 -6
- package/libc/include/generic-netbsd/sys/file.h +18 -6
- package/libc/include/generic-netbsd/sys/filedesc.h +8 -4
- package/libc/include/generic-netbsd/sys/futex.h +11 -11
- package/libc/include/generic-netbsd/sys/ieee754.h +2 -2
- package/libc/include/generic-netbsd/sys/ipc.h +2 -2
- package/libc/include/generic-netbsd/sys/ipmi.h +4 -2
- package/libc/include/generic-netbsd/sys/ksem.h +1 -1
- package/libc/include/generic-netbsd/sys/ktrace.h +6 -4
- package/libc/include/generic-netbsd/sys/lock.h +2 -2
- package/libc/include/generic-netbsd/sys/lua.h +1 -1
- package/libc/include/generic-netbsd/sys/lwp.h +25 -92
- package/libc/include/generic-netbsd/sys/mbuf.h +15 -13
- package/libc/include/generic-netbsd/sys/mman.h +11 -3
- package/libc/include/generic-netbsd/sys/mount.h +1 -2
- package/libc/include/generic-netbsd/sys/msg.h +3 -3
- package/libc/include/generic-netbsd/sys/mutex.h +1 -3
- package/libc/include/generic-netbsd/sys/namei.h +32 -17
- package/libc/include/generic-netbsd/sys/param.h +11 -8
- package/libc/include/generic-netbsd/sys/pipe.h +10 -11
- package/libc/include/generic-netbsd/sys/poll.h +8 -2
- package/libc/include/generic-netbsd/sys/proc.h +15 -15
- package/libc/include/generic-netbsd/sys/ptrace.h +24 -7
- package/libc/include/generic-netbsd/sys/ptree.h +2 -1
- package/libc/include/generic-netbsd/sys/queue.h +37 -37
- package/libc/include/generic-netbsd/sys/rbtree.h +23 -9
- package/libc/include/generic-netbsd/sys/resourcevar.h +2 -2
- package/libc/include/generic-netbsd/sys/rmd160.h +3 -3
- package/libc/include/generic-netbsd/sys/rndio.h +1 -1
- package/libc/include/generic-netbsd/sys/rwlock.h +1 -2
- package/libc/include/generic-netbsd/sys/sched.h +1 -1
- package/libc/include/generic-netbsd/sys/sdt.h +181 -111
- package/libc/include/generic-netbsd/sys/sem.h +7 -2
- package/libc/include/generic-netbsd/sys/sha1.h +3 -3
- package/libc/include/generic-netbsd/sys/sha2.h +8 -1
- package/libc/include/generic-netbsd/sys/shm.h +2 -2
- package/libc/include/generic-netbsd/sys/siginfo.h +5 -5
- package/libc/include/generic-netbsd/sys/signal.h +1 -1
- package/libc/include/generic-netbsd/sys/sigtypes.h +4 -4
- package/libc/include/generic-netbsd/sys/sleepq.h +14 -27
- package/libc/include/generic-netbsd/sys/socket.h +3 -1
- package/libc/include/generic-netbsd/sys/socketvar.h +4 -4
- package/libc/include/generic-netbsd/sys/stat.h +5 -5
- package/libc/include/generic-netbsd/sys/stdalign.h +55 -0
- package/libc/include/generic-netbsd/sys/stdarg.h +2 -2
- package/libc/include/generic-netbsd/sys/stddef.h +156 -0
- package/libc/include/generic-netbsd/sys/swap.h +2 -2
- package/libc/include/generic-netbsd/sys/syncobj.h +9 -6
- package/libc/include/generic-netbsd/sys/syscall.h +29 -8
- package/libc/include/generic-netbsd/sys/syscallargs.h +89 -12
- package/libc/include/generic-netbsd/sys/sysctl.h +94 -86
- package/libc/include/generic-netbsd/sys/syslimits.h +8 -1
- package/libc/include/generic-netbsd/sys/syslog.h +6 -7
- package/libc/include/generic-netbsd/sys/time.h +10 -8
- package/libc/include/generic-netbsd/sys/tree.h +13 -13
- package/libc/include/generic-netbsd/sys/tty.h +2 -2
- package/libc/include/generic-netbsd/sys/ttycom.h +7 -1
- package/libc/include/generic-netbsd/sys/types.h +1 -1
- package/libc/include/generic-netbsd/sys/ucontext.h +46 -49
- package/libc/include/generic-netbsd/sys/un.h +12 -4
- package/libc/include/generic-netbsd/sys/unistd.h +103 -102
- package/libc/include/generic-netbsd/sys/unpcb.h +2 -2
- package/libc/include/generic-netbsd/sys/vmmeter.h +1 -39
- package/libc/include/generic-netbsd/sys/vnode_if.h +2 -2
- package/libc/include/generic-netbsd/sys/vnode_impl.h +6 -3
- package/libc/include/generic-netbsd/sys/wapbl_replay.h +2 -2
- package/libc/include/generic-netbsd/sys/wchan.h +37 -0
- package/libc/include/generic-netbsd/syslog.h +6 -7
- package/libc/include/generic-netbsd/time.h +44 -8
- package/libc/include/generic-netbsd/tzfile.h +11 -6
- package/libc/include/generic-netbsd/uchar.h +1 -1
- package/libc/include/generic-netbsd/ucontext.h +2 -1
- package/libc/include/generic-netbsd/ufs/ext2fs/ext2fs.h +31 -16
- package/libc/include/generic-netbsd/ufs/ext2fs/ext2fs_dir.h +1 -1
- package/libc/include/generic-netbsd/ufs/ext2fs/ext2fs_extents.h +5 -5
- package/libc/include/generic-netbsd/ufs/ext2fs/ext2fs_extern.h +4 -4
- package/libc/include/generic-netbsd/ufs/ffs/ffs_extern.h +1 -1
- package/libc/include/generic-netbsd/ufs/ffs/fs.h +3 -3
- package/libc/include/generic-netbsd/ufs/ufs/quota2.h +2 -2
- package/libc/include/generic-netbsd/unistd.h +11 -5
- package/libc/include/generic-netbsd/unwind.h +1 -1
- package/libc/include/generic-netbsd/util.h +15 -1
- package/libc/include/generic-netbsd/uvm/uvm.h +1 -5
- package/libc/include/generic-netbsd/uvm/uvm_extern.h +3 -4
- package/libc/include/generic-netbsd/uvm/uvm_object.h +2 -2
- package/libc/include/generic-netbsd/uvm/uvm_param.h +1 -1
- package/libc/include/generic-netbsd/uvm/uvm_swap.h +14 -3
- package/libc/include/generic-netbsd/wchar.h +7 -2
- package/libc/include/generic-netbsd/x86/bootinfo.h +4 -1
- package/libc/include/generic-netbsd/x86/cpu.h +18 -1
- package/libc/include/generic-netbsd/x86/cpu_extended_state.h +3 -1
- package/libc/include/generic-netbsd/x86/cpuvar.h +4 -1
- package/libc/include/generic-netbsd/x86/float.h +24 -1
- package/libc/include/generic-netbsd/x86/ieee.h +11 -7
- package/libc/include/generic-netbsd/x86/lwp_private.h +56 -0
- package/libc/include/generic-netbsd/x86/mutex.h +1 -1
- package/libc/include/generic-netbsd/x86/specialreg.h +111 -23
- package/libc/include/m68k-netbsd-none/m68k/asm.h +11 -2
- package/libc/include/m68k-netbsd-none/m68k/bus_dma.h +2 -2
- package/libc/include/m68k-netbsd-none/m68k/byte_swap.h +2 -2
- package/libc/include/m68k-netbsd-none/m68k/cacheops_30.h +2 -2
- package/libc/include/m68k-netbsd-none/m68k/cacheops_40.h +3 -1
- package/libc/include/m68k-netbsd-none/m68k/cacheops_60.h +5 -3
- package/libc/include/m68k-netbsd-none/m68k/cpu.h +86 -59
- package/libc/include/m68k-netbsd-none/m68k/cpuframe.h +5 -5
- package/libc/include/m68k-netbsd-none/m68k/fenv.h +6 -4
- package/libc/include/m68k-netbsd-none/m68k/float.h +26 -1
- package/libc/include/m68k-netbsd-none/m68k/frame.h +31 -19
- package/libc/include/m68k-netbsd-none/m68k/ieee.h +13 -8
- package/libc/include/m68k-netbsd-none/m68k/ieeefp.h +3 -3
- package/libc/include/m68k-netbsd-none/m68k/int_limits.h +2 -2
- package/libc/include/m68k-netbsd-none/m68k/intr.h +211 -0
- package/libc/include/m68k-netbsd-none/m68k/kcore.h +31 -31
- package/libc/include/m68k-netbsd-none/m68k/lwp_private.h +64 -0
- package/libc/include/m68k-netbsd-none/m68k/m68k.h +3 -7
- package/libc/include/m68k-netbsd-none/m68k/mcontext.h +5 -36
- package/libc/include/m68k-netbsd-none/m68k/mmu_30.h +105 -0
- package/libc/include/m68k-netbsd-none/m68k/mmu_40.h +232 -0
- package/libc/include/m68k-netbsd-none/m68k/mmu_51.h +273 -0
- package/libc/include/m68k-netbsd-none/m68k/mutex.h +1 -1
- package/libc/include/m68k-netbsd-none/m68k/pcb.h +2 -2
- package/libc/include/m68k-netbsd-none/m68k/pmap_motorola.h +32 -23
- package/libc/include/m68k-netbsd-none/m68k/psl.h +26 -7
- package/libc/include/m68k-netbsd-none/m68k/pte_motorola.h +37 -26
- package/libc/include/m68k-netbsd-none/m68k/trap.h +7 -7
- package/libc/include/m68k-netbsd-none/mac68k/cpu.h +1 -57
- package/libc/include/m68k-netbsd-none/mac68k/intr.h +3 -2
- package/libc/include/m68k-netbsd-none/mac68k/lwp_private.h +3 -0
- package/libc/include/m68k-netbsd-none/mac68k/pmap.h +20 -2
- package/libc/include/m68k-netbsd-none/mac68k/z8530var.h +2 -2
- package/libc/include/m68k-netbsd-none/machine/cpu.h +1 -57
- package/libc/include/m68k-netbsd-none/machine/intr.h +3 -2
- package/libc/include/m68k-netbsd-none/machine/lwp_private.h +3 -0
- package/libc/include/m68k-netbsd-none/machine/pmap.h +20 -2
- package/libc/include/m68k-netbsd-none/machine/z8530var.h +2 -2
- package/libc/include/mips-netbsd-eabi/machine/lwp_private.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/evbppc/lwp_private.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/float.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/ansi.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/aout_machdep.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/asm.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/cdefs.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/cpu.h +65 -0
- package/libc/include/powerpc-netbsd-eabi/machine/disklabel.h +69 -0
- package/libc/include/powerpc-netbsd-eabi/machine/elf_machdep.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/endian.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/fenv.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/float.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/frame.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/ieee.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/ieeefp.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/int_const.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/int_fmtio.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/int_limits.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/int_mwgwtypes.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/int_types.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/kcore.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/limits.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/lock.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/lwp_private.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/math.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/mcontext.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/mutex.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/param.h +43 -0
- package/libc/include/powerpc-netbsd-eabi/machine/pcb.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/pmap.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/proc.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/profile.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/psl.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/pte.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/ptrace.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/reg.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/reloc.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/setjmp.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/signal.h +3 -0
- package/libc/include/{mips-netbsd-eabi → powerpc-netbsd-eabi}/machine/sljit_machdep.h +1 -1
- package/libc/include/powerpc-netbsd-eabi/machine/trap.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/types.h +11 -0
- package/libc/include/powerpc-netbsd-eabi/machine/vmparam.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/wchar_limits.h +3 -0
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/asm.h +12 -2
- package/libc/include/powerpc-netbsd-eabi/powerpc/bswap.h +14 -0
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/cpu.h +3 -3
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/fenv.h +2 -1
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ibm4xx/pmap.h +3 -3
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ieee.h +7 -2
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/limits.h +4 -13
- package/libc/include/powerpc-netbsd-eabi/powerpc/lwp_private.h +79 -0
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/mcontext.h +6 -50
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/mutex.h +1 -1
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/hid.h +2 -2
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/pmap.h +2 -2
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/pmap.h +1 -1
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/psl.h +2 -2
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/vmparam.h +1 -1
- package/libc/include/riscv32-netbsd-none/machine/bswap.h +11 -0
- package/libc/include/riscv32-netbsd-none/machine/endian_machdep.h +3 -0
- package/libc/include/riscv32-netbsd-none/machine/rwlock.h +1 -0
- package/libc/include/riscv32-netbsd-none/machine/wchar_limits.h +4 -0
- package/libc/include/riscv64-netbsd-none/machine/bswap.h +11 -0
- package/libc/include/riscv64-netbsd-none/machine/endian_machdep.h +3 -0
- package/libc/include/riscv64-netbsd-none/machine/rwlock.h +1 -0
- package/libc/include/riscv64-netbsd-none/machine/wchar_limits.h +4 -0
- package/libc/include/sparc-netbsd-none/float.h +3 -1
- package/libc/include/sparc-netbsd-none/machine/asm.h +10 -1
- package/libc/include/sparc-netbsd-none/machine/cgtworeg.h +2 -2
- package/libc/include/sparc-netbsd-none/machine/cpu.h +1 -1
- package/libc/include/sparc-netbsd-none/machine/float.h +3 -1
- package/libc/include/sparc-netbsd-none/machine/limits.h +4 -6
- package/libc/include/sparc-netbsd-none/machine/lwp_private.h +51 -0
- package/libc/include/sparc-netbsd-none/machine/mcontext.h +4 -22
- package/libc/include/sparc-netbsd-none/machine/mutex.h +1 -1
- package/libc/include/sparc-netbsd-none/machine/param.h +4 -2
- package/libc/include/sparc-netbsd-none/machine/pmap.h +2 -2
- package/libc/include/sparc-netbsd-none/machine/psl.h +6 -3
- package/libc/include/sparc-netbsd-none/machine/sxreg.h +5 -1
- package/libc/include/sparc-netbsd-none/machine/types.h +2 -2
- package/libc/include/sparc-netbsd-none/sparc/sxreg.h +5 -1
- package/libc/include/sparc64-netbsd-none/machine/cpu.h +2 -2
- package/libc/include/sparc64-netbsd-none/machine/ctlreg.h +8 -7
- package/libc/include/sparc64-netbsd-none/machine/intr.h +1 -1
- package/libc/include/sparc64-netbsd-none/machine/lwp_private.h +3 -0
- package/libc/include/sparc64-netbsd-none/machine/mcontext.h +4 -4
- package/libc/include/sparc64-netbsd-none/machine/mutex.h +1 -1
- package/libc/include/sparc64-netbsd-none/machine/param.h +8 -2
- package/libc/include/sparc64-netbsd-none/machine/psl.h +7 -2
- package/libc/include/sparc64-netbsd-none/machine/pte.h +2 -2
- package/libc/include/sparc64-netbsd-none/machine/vmparam.h +1 -1
- package/libc/include/x86-netbsd-none/machine/asm.h +12 -4
- package/libc/include/x86-netbsd-none/machine/byte_swap.h +2 -2
- package/libc/include/x86-netbsd-none/machine/cpu.h +15 -4
- package/libc/include/x86-netbsd-none/machine/elf_machdep.h +2 -1
- package/libc/include/x86-netbsd-none/machine/lwp_private.h +3 -0
- package/libc/include/x86-netbsd-none/machine/mcontext.h +6 -24
- package/libc/include/x86-netbsd-none/machine/param.h +9 -1
- package/libc/include/x86-netbsd-none/machine/pcb.h +6 -2
- package/libc/include/x86-netbsd-none/machine/ptrace.h +2 -2
- package/libc/include/x86-netbsd-none/machine/types.h +2 -1
- package/libc/include/x86_64-netbsd-none/amd64/asm.h +11 -3
- package/libc/include/x86_64-netbsd-none/amd64/byte_swap.h +2 -2
- package/libc/include/x86_64-netbsd-none/amd64/cpu.h +13 -3
- package/libc/include/x86_64-netbsd-none/amd64/frame.h +2 -2
- package/libc/include/x86_64-netbsd-none/amd64/lwp_private.h +3 -0
- package/libc/include/x86_64-netbsd-none/amd64/mcontext.h +5 -23
- package/libc/include/x86_64-netbsd-none/amd64/param.h +23 -4
- package/libc/include/x86_64-netbsd-none/amd64/pcb.h +14 -3
- package/libc/include/x86_64-netbsd-none/amd64/ptrace.h +2 -2
- package/libc/include/x86_64-netbsd-none/amd64/types.h +2 -1
- package/libc/include/x86_64-netbsd-none/machine/asm.h +11 -3
- package/libc/include/x86_64-netbsd-none/machine/byte_swap.h +2 -2
- package/libc/include/x86_64-netbsd-none/machine/cpu.h +13 -3
- package/libc/include/x86_64-netbsd-none/machine/frame.h +2 -2
- package/libc/include/x86_64-netbsd-none/machine/lwp_private.h +3 -0
- package/libc/include/x86_64-netbsd-none/machine/mcontext.h +5 -23
- package/libc/include/x86_64-netbsd-none/machine/param.h +23 -4
- package/libc/include/x86_64-netbsd-none/machine/pcb.h +14 -3
- package/libc/include/x86_64-netbsd-none/machine/ptrace.h +2 -2
- package/libc/include/x86_64-netbsd-none/machine/types.h +2 -1
- package/libc/netbsd/abilists +0 -0
- package/libc/netbsd/lib/csu/arch/riscv/crt0.S +62 -0
- package/libc/netbsd/lib/csu/common/crt0-common.c +32 -7
- package/libc/netbsd/lib/csu/common/csu-common.h +2 -0
- package/package.json +1 -1
- package/std/Build/Cache/Path.zig +27 -28
- package/std/Build/Cache.zig +1 -0
- package/std/Build/Configuration.zig +0 -8
- package/std/Build/Step/Compile.zig +2 -8
- package/std/Build/Step/ObjCopy.zig +2 -2
- package/std/Build/Step/Options.zig +2 -2
- package/std/Build/Step/Run.zig +0 -33
- package/std/Build.zig +1 -1
- package/std/Target.zig +3 -1
- package/std/debug/Pdb.zig +61 -34
- package/std/debug/SelfInfo/Elf.zig +12 -9
- package/std/debug/SelfInfo/Windows.zig +3 -5
- package/std/debug/cpu_context.zig +62 -14
- package/std/zig/target.zig +2 -1
- package/std/zig.zig +12 -0
- package/libc/include/arm-netbsd-eabi/machine/frame.h +0 -130
- package/libc/include/generic-netbsd/powerpc/bswap.h +0 -8
- package/libc/include/mips-netbsd-eabi/machine/psl.h +0 -3
- package/libc/include/mips-netbsd-eabi/machine/reloc.h +0 -3
- package/libc/include/mips-netbsd-eabi/machine/trap.h +0 -3
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/ansi.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/aout_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/asm.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/bswap.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/cdefs.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/cpu.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/disklabel.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/elf_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/endian.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/endian_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/fenv.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/float.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/fpu.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/frame.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/ieee.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/ieeefp.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/int_const.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/int_fmtio.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/int_limits.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/int_mwgwtypes.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/int_types.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/intr.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/kcore.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/limits.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/lock.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/math.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/mcontext.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/mutex.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/param.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/pcb.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/pmap.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/proc.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/profile.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/psl.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/pte.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/ptrace.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/reg.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/reloc.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/rwlock.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/setjmp.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/signal.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/sljit_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/trap.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/types.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/vmparam.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/wchar_limits.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/machine/fpu.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/machine/intr.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ansi.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/aout_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/cdefs.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/elf_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/endian.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/endian_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/float.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/fpu.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/frame.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ibm4xx/cpu.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ibm4xx/spr.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ibm4xx/tlb.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ieeefp.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/int_const.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/int_fmtio.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/int_limits.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/int_mwgwtypes.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/int_types.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/kcore.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/lock.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/math.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/bat.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/hid_601.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/pte.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/spr.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/sr_601.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/vmparam.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/param.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/pcb.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/proc.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/profile.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/pte.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ptrace.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/reg.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/reloc.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/rwlock.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/setjmp.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/signal.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/sljit_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/spr.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/trap.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/types.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/wchar_limits.h +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: time.h,v 1.
|
|
1
|
+
/* $NetBSD: time.h,v 1.56.2.1 2026/05/07 15:43:06 martin Exp $ */
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* Copyright (c) 1989, 1993
|
|
@@ -81,11 +81,22 @@ struct tm {
|
|
|
81
81
|
int tm_year; /* years since 1900 */
|
|
82
82
|
int tm_wday; /* days since Sunday [0-6] */
|
|
83
83
|
int tm_yday; /* days since January 1 [0-365] */
|
|
84
|
-
int tm_isdst; /* Daylight
|
|
84
|
+
int tm_isdst; /* Daylight Saving Time flag */
|
|
85
85
|
long tm_gmtoff; /* offset from UTC in seconds */
|
|
86
86
|
__aconst char *tm_zone; /* timezone abbreviation */
|
|
87
87
|
};
|
|
88
88
|
|
|
89
|
+
/*
|
|
90
|
+
* This represents the minimum value for how long a timezone abbreviation
|
|
91
|
+
* name is allowed to be, it is also (if >= 254) the default for the max length
|
|
92
|
+
* we currently allow (that can be changed by compiling libc(localtime.c)
|
|
93
|
+
* with -DTZNAME_MAXIMUM=N specifying a value at least this long, no less).
|
|
94
|
+
*
|
|
95
|
+
* This one should probably be made less, and localtime then use a longer value
|
|
96
|
+
* (it will use 254 at least), so this would never need to change in the future.
|
|
97
|
+
*/
|
|
98
|
+
#define _TZNAME_MAXIMUM 254
|
|
99
|
+
|
|
89
100
|
__BEGIN_DECLS
|
|
90
101
|
char *asctime(const struct tm *);
|
|
91
102
|
clock_t clock(void);
|
|
@@ -137,7 +148,7 @@ struct tm *getdate(const char *);
|
|
|
137
148
|
extern int getdate_err;
|
|
138
149
|
#endif
|
|
139
150
|
|
|
140
|
-
/* ISO/IEC 9899:
|
|
151
|
+
/* ISO/IEC 9899:2011 7.27.1/3 Components of time */
|
|
141
152
|
#include <sys/timespec.h>
|
|
142
153
|
|
|
143
154
|
#if (_POSIX_C_SOURCE - 0) >= 199309L || (_XOPEN_SOURCE - 0) >= 500 || \
|
|
@@ -171,11 +182,17 @@ int timer_delete(timer_t);
|
|
|
171
182
|
int timer_getoverrun(timer_t);
|
|
172
183
|
#endif /* _POSIX_C_SOURCE >= 199309 || _XOPEN_SOURCE >= 500 || ... */
|
|
173
184
|
|
|
174
|
-
#if (_POSIX_C_SOURCE - 0) >= 199506L
|
|
175
|
-
defined(_REENTRANT) || defined(_NETBSD_SOURCE)
|
|
185
|
+
#if ((_POSIX_C_SOURCE - 0) >= 199506L && (_POSIX_C_SOURCE - 0) < 202405L) || \
|
|
186
|
+
(_XOPEN_SOURCE - 0) >= 500 || defined(_REENTRANT) || defined(_NETBSD_SOURCE)
|
|
176
187
|
char *asctime_r(const struct tm * __restrict, char * __restrict);
|
|
177
188
|
#ifndef __LIBC12_SOURCE__
|
|
178
189
|
char *ctime_r(const time_t *, char *) __RENAME(__ctime_r50);
|
|
190
|
+
#endif
|
|
191
|
+
#endif
|
|
192
|
+
|
|
193
|
+
#if (_POSIX_C_SOURCE - 0) >= 199506L || \
|
|
194
|
+
(_XOPEN_SOURCE - 0) >= 500 || defined(_REENTRANT) || defined(_NETBSD_SOURCE)
|
|
195
|
+
#ifndef __LIBC12_SOURCE__
|
|
179
196
|
struct tm *gmtime_r(const time_t * __restrict, struct tm * __restrict)
|
|
180
197
|
__RENAME(__gmtime_r50);
|
|
181
198
|
struct tm *localtime_r(const time_t * __restrict, struct tm * __restrict)
|
|
@@ -193,14 +210,19 @@ size_t strftime_l(char * __restrict, size_t, const char * __restrict,
|
|
|
193
210
|
__attribute__((__format__(__strftime__, 3, 0)));
|
|
194
211
|
#endif
|
|
195
212
|
|
|
196
|
-
#if defined(
|
|
213
|
+
#if (__STDC_VERSION__ - 0 >= 202311L) || defined(_ISOC23_SOURCE) || \
|
|
214
|
+
defined(_NETBSD_SOURCE)
|
|
215
|
+
#ifndef __LIBC12_SOURCE__
|
|
216
|
+
time_t timegm(struct tm *) __RENAME(__timegm50);
|
|
217
|
+
#endif
|
|
218
|
+
#endif
|
|
197
219
|
|
|
220
|
+
#if defined(_NETBSD_SOURCE)
|
|
198
221
|
typedef struct __state *timezone_t;
|
|
199
222
|
|
|
200
223
|
#ifndef __LIBC12_SOURCE__
|
|
201
224
|
time_t time2posix(time_t) __RENAME(__time2posix50);
|
|
202
225
|
time_t posix2time(time_t) __RENAME(__posix2time50);
|
|
203
|
-
time_t timegm(struct tm *) __RENAME(__timegm50);
|
|
204
226
|
time_t timeoff(struct tm *, long) __RENAME(__timeoff50);
|
|
205
227
|
time_t timelocal(struct tm *) __RENAME(__timelocal50);
|
|
206
228
|
struct tm *offtime(const time_t *, long) __RENAME(__offtime50);
|
|
@@ -234,9 +256,23 @@ char *strptime_l(const char * __restrict, const char * __restrict,
|
|
|
234
256
|
|
|
235
257
|
#endif /* _NETBSD_SOURCE */
|
|
236
258
|
|
|
237
|
-
/* ISO/IEC 9899:
|
|
259
|
+
/* ISO/IEC 9899:2011 7.27.2.5 The timespec_get function */
|
|
260
|
+
#if defined(_ISOC11_SOURCE) || (__STDC_VERSION__ - 0) >= 201101L || \
|
|
261
|
+
defined(_NETBSD_SOURCE) || (__cplusplus - 0) >= 201103L || \
|
|
262
|
+
(_POSIX_C_SOURCE - 0) >= 202405L
|
|
263
|
+
|
|
238
264
|
#define TIME_UTC 1 /* time elapsed since epoch */
|
|
265
|
+
#if (__STDC_VERSION__ - 0 >= 202311L) || defined(_ISOC23_SOURCE) || \
|
|
266
|
+
defined(_NETBSD_SOURCE)
|
|
267
|
+
#define TIME_MONOTONIC 2
|
|
268
|
+
#endif
|
|
269
|
+
|
|
239
270
|
int timespec_get(struct timespec *ts, int base);
|
|
271
|
+
#if (__STDC_VERSION__ - 0 >= 202311L) || defined(_ISOC23_SOURCE) || \
|
|
272
|
+
defined(_NETBSD_SOURCE)
|
|
273
|
+
int timespec_getres(struct timespec *ts, int base);
|
|
274
|
+
#endif
|
|
275
|
+
#endif
|
|
240
276
|
|
|
241
277
|
__END_DECLS
|
|
242
278
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: tzfile.h,v 1.
|
|
1
|
+
/* $NetBSD: tzfile.h,v 1.14 2025/01/31 18:23:52 christos Exp $ */
|
|
2
2
|
|
|
3
3
|
#ifndef _TZFILE_H_
|
|
4
4
|
#define _TZFILE_H_
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
#endif /* !defined TZDEFRULES */
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
/* See Internet RFC
|
|
36
|
+
/* See Internet RFC 9636 for more details about the following format. */
|
|
37
37
|
|
|
38
38
|
/*
|
|
39
39
|
** Each file begins with. . .
|
|
@@ -85,11 +85,11 @@ struct tzhead {
|
|
|
85
85
|
** time uses 8 rather than 4 chars,
|
|
86
86
|
** then a POSIX-TZ-environment-variable-style string for use in handling
|
|
87
87
|
** instants after the last transition time stored in the file
|
|
88
|
-
** (with nothing between the newlines if there is no POSIX
|
|
89
|
-
** such instants).
|
|
88
|
+
** (with nothing between the newlines if there is no POSIX.1-2017
|
|
89
|
+
** representation for such instants).
|
|
90
90
|
**
|
|
91
91
|
** If tz_version is '3' or greater, the above is extended as follows.
|
|
92
|
-
** First, the
|
|
92
|
+
** First, the TZ string's hour offset may range from -167
|
|
93
93
|
** through 167 as compared to the POSIX-required 0 through 24.
|
|
94
94
|
** Second, its DST start time may be January 1 at 00:00 and its stop
|
|
95
95
|
** time December 31 at 24:00 plus the difference between DST and
|
|
@@ -102,20 +102,24 @@ struct tzhead {
|
|
|
102
102
|
*/
|
|
103
103
|
|
|
104
104
|
#ifndef TZ_MAX_TIMES
|
|
105
|
+
/* This must be at least 242 for Europe/London with 'zic -b fat'. */
|
|
105
106
|
# define TZ_MAX_TIMES 2000
|
|
106
107
|
#endif /* !defined TZ_MAX_TIMES */
|
|
107
108
|
|
|
108
109
|
#ifndef TZ_MAX_TYPES
|
|
109
|
-
/* This must be at least
|
|
110
|
+
/* This must be at least 18 for Europe/Vilnius with 'zic -b fat'. */
|
|
110
111
|
# define TZ_MAX_TYPES 256 /* Limited by what (unsigned char)'s can hold */
|
|
111
112
|
#endif /* !defined TZ_MAX_TYPES */
|
|
112
113
|
|
|
113
114
|
#ifndef TZ_MAX_CHARS
|
|
115
|
+
/* This must be at least 40 for America/Anchorage. */
|
|
114
116
|
# define TZ_MAX_CHARS 50 /* Maximum number of abbreviation characters */
|
|
115
117
|
/* (limited by what unsigned chars can hold) */
|
|
116
118
|
#endif /* !defined TZ_MAX_CHARS */
|
|
117
119
|
|
|
118
120
|
#ifndef TZ_MAX_LEAPS
|
|
121
|
+
/* This must be at least 27 for leap seconds from 1972 through mid-2023.
|
|
122
|
+
There's a plan to discontinue leap seconds by 2035. */
|
|
119
123
|
# define TZ_MAX_LEAPS 50 /* Maximum number of leap second corrections */
|
|
120
124
|
#endif /* !defined TZ_MAX_LEAPS */
|
|
121
125
|
|
|
@@ -128,6 +132,7 @@ struct tzhead {
|
|
|
128
132
|
#define SECSPERHOUR (SECSPERMIN * MINSPERHOUR)
|
|
129
133
|
#define SECSPERDAY ((int_fast32_t) SECSPERHOUR * HOURSPERDAY)
|
|
130
134
|
#define MONSPERYEAR 12
|
|
135
|
+
#define YEARSPERREPEAT 400
|
|
131
136
|
|
|
132
137
|
#define TM_SUNDAY 0
|
|
133
138
|
#define TM_MONDAY 1
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: ucontext.h,v 1.
|
|
1
|
+
/* $NetBSD: ucontext.h,v 1.12 2025/03/13 06:36:20 rillig Exp $ */
|
|
2
2
|
|
|
3
3
|
/*-
|
|
4
4
|
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
|
@@ -42,6 +42,7 @@ int setcontext(const ucontext_t *);
|
|
|
42
42
|
#pragma GCC diagnostic push
|
|
43
43
|
#ifndef __cplusplus
|
|
44
44
|
#pragma GCC diagnostic ignored "-Wstrict-prototypes"
|
|
45
|
+
/* LINTED 287 "function declaration is not a prototype" */
|
|
45
46
|
#endif
|
|
46
47
|
void makecontext(ucontext_t *, void (*)(), int, ...);
|
|
47
48
|
#pragma GCC diagnostic pop
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: ext2fs.h,v 1.
|
|
1
|
+
/* $NetBSD: ext2fs.h,v 1.53 2025/05/04 20:26:56 rillig Exp $ */
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* Copyright (c) 1982, 1986, 1993
|
|
@@ -177,7 +177,7 @@ struct ext2fs {
|
|
|
177
177
|
uint8_t e2fs_prealloc; /* # of blocks to preallocate */
|
|
178
178
|
uint8_t e2fs_dir_prealloc; /* # of blocks to preallocate for dir */
|
|
179
179
|
uint16_t e2fs_reserved_ngdb; /* # of reserved gd blocks for resize */
|
|
180
|
-
|
|
180
|
+
|
|
181
181
|
/* Additional fields */
|
|
182
182
|
char e3fs_journal_uuid[16];/* uuid of journal superblock */
|
|
183
183
|
uint32_t e3fs_journal_inum; /* inode number of journal file */
|
|
@@ -252,6 +252,7 @@ struct m_ext2fs {
|
|
|
252
252
|
int32_t e2fs_ngdb; /* number of group descriptor blocks */
|
|
253
253
|
int32_t e2fs_ipb; /* number of inodes per block */
|
|
254
254
|
int32_t e2fs_itpg; /* number of inode table blocks per group */
|
|
255
|
+
uint8_t e2fs_group_desc_shift; /* binary log group desc size */
|
|
255
256
|
struct ext2_gd *e2fs_gd; /* group descriptors (data not byteswapped) */
|
|
256
257
|
};
|
|
257
258
|
|
|
@@ -301,11 +302,11 @@ struct m_ext2fs {
|
|
|
301
302
|
"\20" \
|
|
302
303
|
"\16ROCOMPAT_PROJECT" \
|
|
303
304
|
"\15ROCOMPAT_READONLY" \
|
|
304
|
-
"\14" \
|
|
305
|
+
"\14?" \
|
|
305
306
|
"\13ROCOMPAT_METADATA_CKSUM" \
|
|
306
307
|
"\12ROCOMPAT_BIGALLOC" \
|
|
307
308
|
"\11ROCOMPAT_QUOTA" \
|
|
308
|
-
"\10" \
|
|
309
|
+
"\10?" \
|
|
309
310
|
"\07ROCOMPAT_EXTRA_ISIZE" \
|
|
310
311
|
"\06ROCOMPAT_DIR_NLINK" \
|
|
311
312
|
"\05ROCOMPAT_GDT_CSUM" \
|
|
@@ -336,7 +337,7 @@ struct m_ext2fs {
|
|
|
336
337
|
"\017INCOMPAT_LARGEDIR" \
|
|
337
338
|
"\016INCOMPAT_CSUM_SEED" \
|
|
338
339
|
"\015INCOMPAT_DIRDATA" \
|
|
339
|
-
"\014" \
|
|
340
|
+
"\014?" \
|
|
340
341
|
"\013INCOMPAT_EA_INODE" \
|
|
341
342
|
"\012INCOMPAT_FLEX_BG" \
|
|
342
343
|
"\011INCOMPAT_MMP" \
|
|
@@ -355,7 +356,7 @@ struct m_ext2fs {
|
|
|
355
356
|
* - EXT2F_ROCOMPAT_SPARSESUPER
|
|
356
357
|
* superblock backups stored only in cg_has_sb(bno) groups
|
|
357
358
|
* - EXT2F_ROCOMPAT_LARGEFILE
|
|
358
|
-
* use e2di_size_high in struct ext2fs_dinode to store
|
|
359
|
+
* use e2di_size_high in struct ext2fs_dinode to store
|
|
359
360
|
* upper 32bit of size for >2GB files
|
|
360
361
|
* - EXT2F_INCOMPAT_FTYPE
|
|
361
362
|
* store file type to e2d_type in struct ext2fs_direct
|
|
@@ -370,7 +371,8 @@ struct m_ext2fs {
|
|
|
370
371
|
| EXT2F_ROCOMPAT_GDT_CSUM)
|
|
371
372
|
#define EXT2F_INCOMPAT_SUPP (EXT2F_INCOMPAT_FTYPE \
|
|
372
373
|
| EXT2F_INCOMPAT_EXTENTS \
|
|
373
|
-
| EXT2F_INCOMPAT_FLEX_BG
|
|
374
|
+
| EXT2F_INCOMPAT_FLEX_BG \
|
|
375
|
+
| EXT2F_INCOMPAT_64BIT)
|
|
374
376
|
|
|
375
377
|
/*
|
|
376
378
|
* Feature set definitions
|
|
@@ -422,7 +424,7 @@ struct ext2_gd {
|
|
|
422
424
|
uint16_t ext2bgd_ndirs; /* number of directories */
|
|
423
425
|
|
|
424
426
|
/*
|
|
425
|
-
* Following only valid when either GDT_CSUM (AKA uninit_bg)
|
|
427
|
+
* Following only valid when either GDT_CSUM (AKA uninit_bg)
|
|
426
428
|
* or METADATA_CKSUM feature is on
|
|
427
429
|
*/
|
|
428
430
|
uint16_t ext2bgd_flags; /* ext4 bg flags (INODE_UNINIT, ...)*/
|
|
@@ -432,19 +434,24 @@ struct ext2_gd {
|
|
|
432
434
|
uint16_t ext2bgd_itable_unused_lo; /* Low unused inode offset */
|
|
433
435
|
uint16_t ext2bgd_checksum; /* Group desc checksum */
|
|
434
436
|
|
|
435
|
-
/*
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
437
|
+
uint32_t ext2bgd_b_bitmap_hi; /* blocks bitmap block (high bits) */
|
|
438
|
+
uint32_t ext2bgd_i_bitmap_hi; /* inodes bitmap block (high bits) */
|
|
439
|
+
uint32_t ext2bgd_i_tables_hi; /* inodes table block (high bits) */
|
|
440
|
+
uint16_t ext2bgd_nbfree_hi; /* number of free blocks (high bits) */
|
|
441
|
+
uint16_t ext2bgd_nifree_hi; /* number of free inodes (high bits) */
|
|
442
|
+
uint16_t ext2bgd_ndirs_hi; /* number of directories (high bits) */
|
|
443
|
+
uint16_t reserved_hi;
|
|
444
|
+
uint32_t reserved2_hi[3];
|
|
439
445
|
};
|
|
440
446
|
|
|
447
|
+
#define E2FS_REV0_GD_SIZE (sizeof(struct ext2_gd) / 2) /* 32 */
|
|
441
448
|
#define E2FS_BG_INODE_UNINIT 0x0001 /* Inode bitmap not used/initialized */
|
|
442
449
|
#define E2FS_BG_BLOCK_UNINIT 0x0002 /* Block bitmap not used/initialized */
|
|
443
450
|
#define E2FS_BG_INODE_ZEROED 0x0004 /* On-disk inode table initialized */
|
|
444
451
|
|
|
445
452
|
#define E2FS_HAS_GD_CSUM(fs) \
|
|
446
453
|
EXT2F_HAS_ROCOMPAT_FEATURE(fs, EXT2F_ROCOMPAT_GDT_CSUM|EXT2F_ROCOMPAT_METADATA_CKSUM) != 0
|
|
447
|
-
|
|
454
|
+
|
|
448
455
|
/*
|
|
449
456
|
* If the EXT2F_ROCOMPAT_SPARSESUPER flag is set, the cylinder group has a
|
|
450
457
|
* copy of the super and cylinder group descriptors blocks only if it's
|
|
@@ -492,15 +499,21 @@ void e2fs_sb_bswap(struct ext2fs *, struct ext2fs *);
|
|
|
492
499
|
# define e2fs_sbsave(old, new) e2fs_sb_bswap((old), (new))
|
|
493
500
|
#endif
|
|
494
501
|
|
|
502
|
+
#ifndef _KERNEL /* XXX */
|
|
495
503
|
/* Group descriptors are not byte swapped */
|
|
496
504
|
#define e2fs_cgload(old, new, size) memcpy((new), (old), (size))
|
|
497
505
|
#define e2fs_cgsave(old, new, size) memcpy((new), (old), (size))
|
|
506
|
+
#endif
|
|
498
507
|
|
|
499
508
|
/*
|
|
500
509
|
* Turn file system block numbers into disk block addresses.
|
|
501
510
|
* This maps file system blocks to device size blocks.
|
|
502
511
|
*/
|
|
503
512
|
#define EXT2_FSBTODB(fs, b) ((b) << (fs)->e2fs_fsbtodb)
|
|
513
|
+
#define EXT2_FSBTODB64(fs, b, b_hi) \
|
|
514
|
+
(((((uint64_t)(b_hi)) << 32) | (b)) << (fs)->e2fs_fsbtodb)
|
|
515
|
+
#define EXT2_FSBTODB64OFF(fs, b, b_hi, off) \
|
|
516
|
+
((((((uint64_t)(b_hi)) << 32) | (b)) + (off)) << (fs)->e2fs_fsbtodb)
|
|
504
517
|
#define EXT2_DBTOFSB(fs, b) ((b) >> (fs)->e2fs_fsbtodb)
|
|
505
518
|
|
|
506
519
|
/*
|
|
@@ -510,9 +523,11 @@ void e2fs_sb_bswap(struct ext2fs *, struct ext2fs *);
|
|
|
510
523
|
* inode number to file system block address.
|
|
511
524
|
*/
|
|
512
525
|
#define ino_to_cg(fs, x) (((x) - 1) / (fs)->e2fs.e2fs_ipg)
|
|
513
|
-
#define
|
|
514
|
-
(
|
|
515
|
-
|
|
526
|
+
#define _e2fs_gd(fs, x) (fs)->e2fs_gd[ino_to_cg((fs), (x))]
|
|
527
|
+
#define ino_to_fsba(fs, x) \
|
|
528
|
+
(fs2h32(_e2fs_gd(fs, x).ext2bgd_i_tables) + \
|
|
529
|
+
(((uint64_t)fs2h32(_e2fs_gd(fs, x).ext2bgd_i_tables_hi)) << 32) + \
|
|
530
|
+
(((x) - 1) % (fs)->e2fs.e2fs_ipg) / (fs)->e2fs_ipb)
|
|
516
531
|
#define ino_to_fsbo(fs, x) (((x) - 1) % (fs)->e2fs_ipb)
|
|
517
532
|
|
|
518
533
|
/*
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/* $NetBSD: ext2fs_extents.h,v 1.
|
|
1
|
+
/* $NetBSD: ext2fs_extents.h,v 1.5 2023/08/26 05:22:50 riastradh Exp $ */
|
|
2
2
|
|
|
3
3
|
/*-
|
|
4
4
|
* Copyright (c) 2012, 2010 Zheng Liu <lz@freebsd.org>
|
|
5
5
|
* All rights reserved.
|
|
6
|
-
*
|
|
6
|
+
*
|
|
7
7
|
* Redistribution and use in source and binary forms, with or without
|
|
8
8
|
* modification, are permitted provided that the following conditions
|
|
9
9
|
* are met:
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* 2. Redistributions in binary form must reproduce the above copyright
|
|
13
13
|
* notice, this list of conditions and the following disclaimer in the
|
|
14
14
|
* documentation and/or other materials provided with the distribution.
|
|
15
|
-
*
|
|
15
|
+
*
|
|
16
16
|
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
17
17
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
18
18
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
25
25
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
26
26
|
* SUCH DAMAGE.
|
|
27
|
-
*
|
|
27
|
+
*
|
|
28
28
|
* $FreeBSD: head/sys/fs/ext2fs/ext2_extents.h 295523 2016-02-11 15:27:14Z pfg $
|
|
29
|
-
*/
|
|
29
|
+
*/
|
|
30
30
|
|
|
31
31
|
#ifndef _UFS_EXT2FS_EXT2FS_EXTENTS_H_
|
|
32
32
|
#define _UFS_EXT2FS_EXT2FS_EXTENTS_H_
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: ext2fs_extern.h,v 1.
|
|
1
|
+
/* $NetBSD: ext2fs_extern.h,v 1.57 2023/08/26 05:22:50 riastradh Exp $ */
|
|
2
2
|
|
|
3
3
|
/*-
|
|
4
4
|
* Copyright (c) 1991, 1993, 1994
|
|
@@ -135,7 +135,7 @@ int ext2fs_dirrewrite(struct inode *, const struct ufs_lookup_results *,
|
|
|
135
135
|
struct inode *, struct componentname *);
|
|
136
136
|
int ext2fs_dirempty(struct inode *, ino_t, kauth_cred_t);
|
|
137
137
|
int ext2fs_add_entry(struct vnode *, struct ext2fs_direct *,
|
|
138
|
-
const struct ufs_lookup_results *, size_t);
|
|
138
|
+
const struct ufs_lookup_results *, size_t);
|
|
139
139
|
|
|
140
140
|
/* ext2fs_subr.c */
|
|
141
141
|
int ext2fs_blkatoff(struct vnode *, off_t, char **, struct buf **);
|
|
@@ -181,8 +181,8 @@ int ext2fs_reclaim(void *);
|
|
|
181
181
|
/* ext2fs_hash.c */
|
|
182
182
|
int ext2fs_htree_hash(const char *, int, uint32_t *, int, uint32_t *,
|
|
183
183
|
uint32_t *);
|
|
184
|
-
|
|
185
|
-
/* ext2fs_htree.c */
|
|
184
|
+
|
|
185
|
+
/* ext2fs_htree.c */
|
|
186
186
|
int ext2fs_htree_has_idx(struct inode *);
|
|
187
187
|
int ext2fs_htree_lookup(struct inode *, const char *, int, struct buf **,
|
|
188
188
|
int *, doff_t *, doff_t *, doff_t *, struct ext2fs_searchslot *);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: fs.h,v 1.
|
|
1
|
+
/* $NetBSD: fs.h,v 1.73 2024/12/13 22:32:45 riastradh Exp $ */
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* Copyright (c) 1982, 1986, 1993
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
/*
|
|
151
151
|
* The volume name for this filesystem is maintained in fs_volname.
|
|
152
152
|
* MAXVOLLEN defines the length of the buffer allocated.
|
|
153
|
-
* This space used to be part of
|
|
153
|
+
* This space used to be part of fs_fsmnt.
|
|
154
154
|
*/
|
|
155
155
|
#define MAXVOLLEN 32
|
|
156
156
|
|
|
@@ -251,7 +251,7 @@ struct csum_total {
|
|
|
251
251
|
|
|
252
252
|
|
|
253
253
|
/*
|
|
254
|
-
* Super block for an FFS file system
|
|
254
|
+
* Super block for an FFS file system.
|
|
255
255
|
*/
|
|
256
256
|
struct fs {
|
|
257
257
|
int32_t fs_firstfield; /* historic file system linked list, */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: quota2.h,v 1.
|
|
1
|
+
/* $NetBSD: quota2.h,v 1.11 2023/02/22 21:49:45 riastradh Exp $ */
|
|
2
2
|
/*-
|
|
3
3
|
* Copyright (c) 2010 Manuel Bouyer
|
|
4
4
|
* All rights reserved.
|
|
@@ -115,7 +115,7 @@ void quota2_ufs_rwq2e(const struct quota2_entry *, struct quota2_entry *, int);
|
|
|
115
115
|
#define QL_S_ALLOW_SOFT 0x01 /* over soft limit */
|
|
116
116
|
#define QL_S_DENY_GRACE 0x02 /* over soft limit, grace time expired */
|
|
117
117
|
#define QL_S_DENY_HARD 0x03 /* over hard limit */
|
|
118
|
-
|
|
118
|
+
|
|
119
119
|
#define QL_F_CROSS 0x80 /* crossing soft limit */
|
|
120
120
|
|
|
121
121
|
#define QL_STATUS(x) ((x) & 0x0f)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: unistd.h,v 1.
|
|
1
|
+
/* $NetBSD: unistd.h,v 1.169 2024/11/01 18:48:17 nia Exp $ */
|
|
2
2
|
|
|
3
3
|
/*-
|
|
4
4
|
* Copyright (c) 1998, 1999, 2008 The NetBSD Foundation, Inc.
|
|
@@ -173,6 +173,7 @@ ssize_t readlink(const char * __restrict, char * __restrict, size_t);
|
|
|
173
173
|
*/
|
|
174
174
|
#if (_POSIX_C_SOURCE - 0) >= 200112L || (_XOPEN_SOURCE - 0) >= 600 || \
|
|
175
175
|
defined(_NETBSD_SOURCE)
|
|
176
|
+
int gethostname(char *, size_t);
|
|
176
177
|
int setegid(gid_t);
|
|
177
178
|
int seteuid(uid_t);
|
|
178
179
|
#endif
|
|
@@ -266,7 +267,6 @@ int fchown(int, uid_t, gid_t);
|
|
|
266
267
|
#endif
|
|
267
268
|
int getdtablesize(void);
|
|
268
269
|
long gethostid(void);
|
|
269
|
-
int gethostname(char *, size_t);
|
|
270
270
|
__pure int
|
|
271
271
|
getpagesize(void); /* legacy */
|
|
272
272
|
pid_t getpgid(pid_t);
|
|
@@ -326,8 +326,11 @@ int fexecve(int, char * const *, char * const *);
|
|
|
326
326
|
#if (_POSIX_C_SOURCE - 0) >= 202405L || (_XOPEN_SOURCE - 0 >= 800) || \
|
|
327
327
|
defined(_NETBSD_SOURCE)
|
|
328
328
|
int getentropy(void *, size_t);
|
|
329
|
+
#ifndef __LIBC12_SOURCE__
|
|
330
|
+
int dup3(int, int, int) __RENAME(__dup3100);
|
|
331
|
+
#endif
|
|
332
|
+
int pipe2(int *, int);
|
|
329
333
|
#endif
|
|
330
|
-
|
|
331
334
|
|
|
332
335
|
/*
|
|
333
336
|
* Implementation-defined extensions
|
|
@@ -337,7 +340,6 @@ int acct(const char *);
|
|
|
337
340
|
int closefrom(int);
|
|
338
341
|
int des_cipher(const char *, char *, long, int);
|
|
339
342
|
int des_setkey(const char *);
|
|
340
|
-
int dup3(int, int, int);
|
|
341
343
|
void endusershell(void);
|
|
342
344
|
int exect(const char *, char * const *, char * const *);
|
|
343
345
|
int execvpe(const char *, char * const *, char * const *);
|
|
@@ -371,7 +373,6 @@ int issetugid(void);
|
|
|
371
373
|
long lpathconf(const char *, int);
|
|
372
374
|
int mkstemps(char *, int);
|
|
373
375
|
int nfssvc(int, void *);
|
|
374
|
-
int pipe2(int *, int);
|
|
375
376
|
int profil(char *, size_t, unsigned long, unsigned int);
|
|
376
377
|
#ifndef __PSIGNAL_DECLARED
|
|
377
378
|
#define __PSIGNAL_DECLARED
|
|
@@ -421,5 +422,10 @@ extern int optreset; /* getopt(3) external variable */
|
|
|
421
422
|
extern char *suboptarg; /* getsubopt(3) external variable */
|
|
422
423
|
#endif
|
|
423
424
|
|
|
425
|
+
#ifdef _LIBC_INTERNAL
|
|
426
|
+
pid_t __fork(void);
|
|
427
|
+
pid_t __locked_fork(int *) __weak;
|
|
428
|
+
#endif
|
|
429
|
+
|
|
424
430
|
__END_DECLS
|
|
425
431
|
#endif /* !_UNISTD_H_ */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: util.h,v 1.
|
|
1
|
+
/* $NetBSD: util.h,v 1.70.2.1 2025/12/20 13:51:19 martin Exp $ */
|
|
2
2
|
|
|
3
3
|
/*-
|
|
4
4
|
* Copyright (c) 1995
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
#include <sys/types.h>
|
|
37
37
|
#include <sys/ansi.h>
|
|
38
38
|
#include <sys/inttypes.h>
|
|
39
|
+
#include <sys/featuretest.h>
|
|
39
40
|
|
|
40
41
|
#ifdef _BSD_TIME_T_
|
|
41
42
|
typedef _BSD_TIME_T_ time_t;
|
|
@@ -60,6 +61,15 @@ typedef __va_list va_list;
|
|
|
60
61
|
#define PW_POLICY_BYPASSWD 1
|
|
61
62
|
#define PW_POLICY_BYGROUP 2
|
|
62
63
|
|
|
64
|
+
/* Definitions for the strpct() functions rounding modes */
|
|
65
|
+
#define STRPCT_RTN 0U /* Round to nearest */
|
|
66
|
+
#define STRPCT_RAZ 2U /* Round away from zero */
|
|
67
|
+
#define STRPCT_RTZ 3U /* Round towards zero */
|
|
68
|
+
#define STRPCT_RTI 6U /* Round towards +Inf */
|
|
69
|
+
#define STRPCT_RAI 7U /* Round away from +Inf (to -Inf) */
|
|
70
|
+
/* Do not alter those 5 values, the implementation depends upon them */
|
|
71
|
+
#define STRPCT_RQRY 8U /* Any value not one of the above */
|
|
72
|
+
|
|
63
73
|
__BEGIN_DECLS
|
|
64
74
|
struct disklabel;
|
|
65
75
|
struct iovec;
|
|
@@ -135,6 +145,10 @@ int sockaddr_snprintf(char *, size_t, const char *,
|
|
|
135
145
|
const struct sockaddr *);
|
|
136
146
|
char *strpct(char *, size_t, uintmax_t, uintmax_t, size_t);
|
|
137
147
|
char *strspct(char *, size_t, intmax_t, intmax_t, size_t);
|
|
148
|
+
char *strpct_r(char *, size_t, uintmax_t, uintmax_t, size_t,
|
|
149
|
+
uint32_t);
|
|
150
|
+
char *strspct_r(char *,size_t, intmax_t, intmax_t, size_t, uint32_t);
|
|
151
|
+
uint32_t strpct_round(uint32_t);
|
|
138
152
|
int string_to_flags(char **, unsigned long *, unsigned long *);
|
|
139
153
|
int ttyaction(const char *, const char *, const char *);
|
|
140
154
|
int ttylock(const char *, int, pid_t *);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: uvm.h,v 1.
|
|
1
|
+
/* $NetBSD: uvm.h,v 1.78 2023/07/17 12:55:37 riastradh Exp $ */
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* Copyright (c) 1997 Charles D. Cranor and Washington University.
|
|
@@ -63,7 +63,6 @@
|
|
|
63
63
|
#ifdef _KERNEL
|
|
64
64
|
|
|
65
65
|
#include <uvm/uvm_physseg.h>
|
|
66
|
-
#include <sys/rndsource.h>
|
|
67
66
|
|
|
68
67
|
/*
|
|
69
68
|
* pull in VM_NFREELIST
|
|
@@ -85,9 +84,6 @@ struct uvm_cpu {
|
|
|
85
84
|
u_int pgflcolor; /* next color to allocate */
|
|
86
85
|
u_int pgflbucket; /* where to send our pages */
|
|
87
86
|
|
|
88
|
-
/* entropy */
|
|
89
|
-
krndsource_t rs; /* entropy source */
|
|
90
|
-
|
|
91
87
|
/* uvmpdpol: queue of intended page status changes. */
|
|
92
88
|
struct vm_page **pdq; /* queue entries */
|
|
93
89
|
u_int pdqhead; /* current queue head */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: uvm_extern.h,v 1.
|
|
1
|
+
/* $NetBSD: uvm_extern.h,v 1.234.2.1 2025/11/15 10:13:25 martin Exp $ */
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* Copyright (c) 1997 Charles D. Cranor and Washington University.
|
|
@@ -298,7 +298,7 @@ struct vmtotal;
|
|
|
298
298
|
#define UVM_PCTPARAM_SHIFT 8
|
|
299
299
|
#define UVM_PCTPARAM_SCALE (1 << UVM_PCTPARAM_SHIFT)
|
|
300
300
|
#define UVM_PCTPARAM_APPLY(pct, x) \
|
|
301
|
-
(((x) * (pct)->pct_scaled) >> UVM_PCTPARAM_SHIFT)
|
|
301
|
+
(((uint64_t)(x) * (pct)->pct_scaled) >> UVM_PCTPARAM_SHIFT)
|
|
302
302
|
struct uvm_pctparam {
|
|
303
303
|
int pct_pct; /* percent [0, 100] */ /* should be the first member */
|
|
304
304
|
int pct_scaled;
|
|
@@ -731,7 +731,6 @@ struct vmspace *uvmspace_alloc(vaddr_t, vaddr_t, bool);
|
|
|
731
731
|
void uvmspace_init(struct vmspace *, struct pmap *,
|
|
732
732
|
vaddr_t, vaddr_t, bool);
|
|
733
733
|
void uvmspace_exec(struct lwp *, vaddr_t, vaddr_t, bool);
|
|
734
|
-
void uvmspace_spawn(struct lwp *, vaddr_t, vaddr_t, bool);
|
|
735
734
|
struct vmspace *uvmspace_fork(struct vmspace *);
|
|
736
735
|
void uvmspace_addref(struct vmspace *);
|
|
737
736
|
void uvmspace_free(struct vmspace *);
|
|
@@ -840,7 +839,7 @@ bool uvn_needs_writefault_p(struct uvm_object *);
|
|
|
840
839
|
|
|
841
840
|
/* kern_malloc.c */
|
|
842
841
|
void kmeminit_nkmempages(void);
|
|
843
|
-
extern
|
|
842
|
+
extern size_t nkmempages;
|
|
844
843
|
|
|
845
844
|
#endif /* _KERNEL */
|
|
846
845
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: uvm_object.h,v 1.
|
|
1
|
+
/* $NetBSD: uvm_object.h,v 1.40 2024/02/05 21:46:07 andvar Exp $ */
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* Copyright (c) 1997 Charles D. Cranor and Washington University.
|
|
@@ -76,7 +76,7 @@ struct uvm_object {
|
|
|
76
76
|
* memory objects don't have reference counts -- they never die).
|
|
77
77
|
*
|
|
78
78
|
* this value is used to detected kernel object mappings at uvm_unmap()
|
|
79
|
-
* time. normally when an object is unmapped its pages
|
|
79
|
+
* time. normally when an object is unmapped its pages eventually become
|
|
80
80
|
* deactivated and then paged out and/or freed. this is not useful
|
|
81
81
|
* for kernel objects... when a kernel object is unmapped we always want
|
|
82
82
|
* to free the resources associated with the mapping. UVM_OBJ_KERN
|