@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,3 +1,236 @@
|
|
|
1
|
-
/* $NetBSD: vmparam.h,v 1.
|
|
1
|
+
/* $NetBSD: vmparam.h,v 1.14 2023/05/07 12:41:48 skrll Exp $ */
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
/*-
|
|
4
|
+
* Copyright (c) 2014, 2020 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, and Nick Hudson.
|
|
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_VMPARAM_H_
|
|
33
|
+
#define _RISCV_VMPARAM_H_
|
|
34
|
+
|
|
35
|
+
#include <riscv/param.h>
|
|
36
|
+
|
|
37
|
+
#ifdef _KERNEL_OPT
|
|
38
|
+
#include "opt_multiprocessor.h"
|
|
39
|
+
#endif
|
|
40
|
+
|
|
41
|
+
/*
|
|
42
|
+
* Machine dependent VM constants for RISCV.
|
|
43
|
+
*/
|
|
44
|
+
|
|
45
|
+
/*
|
|
46
|
+
* We use a 4K page on both RV64 and RV32 systems.
|
|
47
|
+
* Override PAGE_* definitions to compile-time constants.
|
|
48
|
+
*/
|
|
49
|
+
#define PAGE_SHIFT PGSHIFT
|
|
50
|
+
#define PAGE_SIZE (1 << PAGE_SHIFT)
|
|
51
|
+
#define PAGE_MASK (PAGE_SIZE - 1)
|
|
52
|
+
|
|
53
|
+
/*
|
|
54
|
+
* USRSTACK is the top (end) of the user stack.
|
|
55
|
+
*
|
|
56
|
+
* USRSTACK needs to start a page below the maxuser address so that a memory
|
|
57
|
+
* access with a maximum displacement (0x7ff) won't cross into the kernel's
|
|
58
|
+
* address space. We use PAGE_SIZE instead of 0x800 since these need to be
|
|
59
|
+
* page-aligned.
|
|
60
|
+
*/
|
|
61
|
+
#define USRSTACK (VM_MAXUSER_ADDRESS - PAGE_SIZE) /* Start of user stack */
|
|
62
|
+
#define USRSTACK32 ((uint32_t)VM_MAXUSER_ADDRESS32 - PAGE_SIZE)
|
|
63
|
+
|
|
64
|
+
/*
|
|
65
|
+
* Virtual memory related constants, all in bytes
|
|
66
|
+
*/
|
|
67
|
+
#ifndef MAXTSIZ
|
|
68
|
+
#define MAXTSIZ (128*1024*1024) /* max text size */
|
|
69
|
+
#endif
|
|
70
|
+
#ifndef DFLDSIZ
|
|
71
|
+
#define DFLDSIZ (256*1024*1024) /* initial data size limit */
|
|
72
|
+
#endif
|
|
73
|
+
#ifndef MAXDSIZ
|
|
74
|
+
#define MAXDSIZ (1536*1024*1024) /* max data size */
|
|
75
|
+
#endif
|
|
76
|
+
#ifndef DFLSSIZ
|
|
77
|
+
#define DFLSSIZ (4*1024*1024) /* initial stack size limit */
|
|
78
|
+
#endif
|
|
79
|
+
#ifndef MAXSSIZ
|
|
80
|
+
#define MAXSSIZ (120*1024*1024) /* max stack size */
|
|
81
|
+
#endif
|
|
82
|
+
|
|
83
|
+
/*
|
|
84
|
+
* Virtual memory related constants, all in bytes
|
|
85
|
+
*/
|
|
86
|
+
#ifndef DFLDSIZ32
|
|
87
|
+
#define DFLDSIZ32 DFLDSIZ /* initial data size limit */
|
|
88
|
+
#endif
|
|
89
|
+
#ifndef MAXDSIZ32
|
|
90
|
+
#define MAXDSIZ32 MAXDSIZ /* max data size */
|
|
91
|
+
#endif
|
|
92
|
+
#ifndef DFLSSIZ32
|
|
93
|
+
#define DFLSSIZ32 DFLTSIZ /* initial stack size limit */
|
|
94
|
+
#endif
|
|
95
|
+
#ifndef MAXSSIZ32
|
|
96
|
+
#define MAXSSIZ32 MAXSSIZ /* max stack size */
|
|
97
|
+
#endif
|
|
98
|
+
|
|
99
|
+
/*
|
|
100
|
+
* PTEs for mapping user space into the kernel for phyio operations.
|
|
101
|
+
* The default PTE number is enough to cover 8 disks * MAXBSIZE.
|
|
102
|
+
*/
|
|
103
|
+
#ifndef USRIOSIZE
|
|
104
|
+
#define USRIOSIZE (MAXBSIZE/PAGE_SIZE * 8)
|
|
105
|
+
#endif
|
|
106
|
+
|
|
107
|
+
/*
|
|
108
|
+
* User/kernel map constants.
|
|
109
|
+
*/
|
|
110
|
+
#define VM_MIN_ADDRESS ((vaddr_t)PAGE_SIZE)
|
|
111
|
+
#ifdef _LP64 /* Sv39 / Sv48 / Sv57 */
|
|
112
|
+
/*
|
|
113
|
+
* SV39 gives 1 << (39 - 1) address space to kernel and same to userland.
|
|
114
|
+
* This is 256GiB each. Split the kernel space in two and use the top half
|
|
115
|
+
* for direct map.
|
|
116
|
+
*
|
|
117
|
+
* kernel virtual space layout:
|
|
118
|
+
* 0xffff_ffc0_0000_0000 - 64GiB KERNEL VM Space (inc. text/data/bss)
|
|
119
|
+
* (0xffff_ffc0_4000_0000 +1GiB) KERNEL VM start of KVA
|
|
120
|
+
* (0xffff_ffd0_0000_0000 64GiB) reserved
|
|
121
|
+
* 0xffff_ffe0_0000_0000 - 128GiB direct mapping
|
|
122
|
+
*/
|
|
123
|
+
#define VM_MAXUSER_ADDRESS ((vaddr_t)0x0000004000000000 - 16 * PAGE_SIZE)
|
|
124
|
+
#define VM_MIN_KERNEL_ADDRESS ((vaddr_t)0xffffffc000000000)
|
|
125
|
+
#define VM_MAX_KERNEL_ADDRESS ((vaddr_t)0xffffffd000000000)
|
|
126
|
+
|
|
127
|
+
#else /* Sv32 */
|
|
128
|
+
/*
|
|
129
|
+
* kernel virtual space layout:
|
|
130
|
+
* 0x8000_0000 - 64GiB KERNEL VM Space (inc. text/data/bss)
|
|
131
|
+
* (0x4000_0000 +1GiB) KERNEL VM start of KVA
|
|
132
|
+
* (0x0000_0000 64GiB) reserved
|
|
133
|
+
*/
|
|
134
|
+
|
|
135
|
+
/*
|
|
136
|
+
* kernel virtual space layout without direct map (common case)
|
|
137
|
+
*
|
|
138
|
+
* 0x8000_0000 - 256MB kernel text/data/bss
|
|
139
|
+
* 0x9000_0000 - 1536MB Kernel VM Space
|
|
140
|
+
* 0xf000_0000 - 256MB IO
|
|
141
|
+
*
|
|
142
|
+
* kernel virtual space layout with KASAN
|
|
143
|
+
*
|
|
144
|
+
* 0x8000_0000 - 256MB kernel text/data/bss
|
|
145
|
+
* 0x9000_0000 - 768MB Kernel VM Space
|
|
146
|
+
* 0xc000_0000 - 128MB (KASAN SHADOW MAP)
|
|
147
|
+
* 0xc800_0000 - 640MB (spare)
|
|
148
|
+
* 0xf000_0000 - 256MB IO
|
|
149
|
+
*
|
|
150
|
+
* kernel virtual space layout with direct map (1GB limited)
|
|
151
|
+
* 0x8000_0000 - 1024MB kernel text/data/bss and direct map start
|
|
152
|
+
* 0xc000_0000 - 768MB Kernel VM Space
|
|
153
|
+
* 0xf000_0000 - 256MB IO
|
|
154
|
+
*
|
|
155
|
+
*/
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
#define VM_MAXUSER_ADDRESS ((vaddr_t)-0x7fffffff-1)/* 0xffff_ffff_8000_0000 */
|
|
160
|
+
#define VM_MIN_KERNEL_ADDRESS ((vaddr_t)-0x7fffffff-1)/* 0xffff_ffff_8000_0000 */
|
|
161
|
+
#define VM_MAX_KERNEL_ADDRESS ((vaddr_t)-0x10000000) /* 0xffff_ffff_f000_0000 */
|
|
162
|
+
|
|
163
|
+
#endif
|
|
164
|
+
#define VM_KERNEL_BASE VM_MIN_KERNEL_ADDRESS
|
|
165
|
+
#define VM_KERNEL_SIZE 0x2000000 /* 32 MiB (8 / 16 megapages) */
|
|
166
|
+
#define VM_KERNEL_DTB_BASE (VM_KERNEL_BASE + VM_KERNEL_SIZE)
|
|
167
|
+
#define VM_KERNEL_DTB_SIZE 0x1000000 /* 16 MiB (4 / 8 megapages) */
|
|
168
|
+
#define VM_KERNEL_IO_BASE (VM_KERNEL_DTB_BASE + VM_KERNEL_DTB_SIZE)
|
|
169
|
+
#define VM_KERNEL_IO_SIZE 0x1000000 /* 16 MiB (4 / 8 megapages) */
|
|
170
|
+
|
|
171
|
+
#define VM_KERNEL_RESERVED (VM_KERNEL_SIZE + VM_KERNEL_DTB_SIZE + VM_KERNEL_IO_SIZE)
|
|
172
|
+
|
|
173
|
+
#define VM_KERNEL_VM_BASE (VM_MIN_KERNEL_ADDRESS + VM_KERNEL_RESERVED)
|
|
174
|
+
#define VM_KERNEL_VM_SIZE (VM_MAX_KERNEL_ADDRESS - VM_KERNEL_VM_BASE)
|
|
175
|
+
|
|
176
|
+
#define VM_MAX_ADDRESS VM_MAXUSER_ADDRESS
|
|
177
|
+
#define VM_MAXUSER_ADDRESS32 ((vaddr_t)(1UL << 31))/* 0x0000000080000000 */
|
|
178
|
+
|
|
179
|
+
#ifdef _LP64
|
|
180
|
+
/*
|
|
181
|
+
* Since we have the address space, we map all of physical memory (RAM)
|
|
182
|
+
* using gigapages on SV39, terapages on SV48 and petapages on SV57.
|
|
183
|
+
*/
|
|
184
|
+
#define RISCV_DIRECTMAP_MASK ((vaddr_t) 0xffffffe000000000L)
|
|
185
|
+
#define RISCV_DIRECTMAP_SIZE (-RISCV_DIRECTMAP_MASK - PAGE_SIZE) /* 128GiB */
|
|
186
|
+
#define RISCV_DIRECTMAP_START RISCV_DIRECTMAP_MASK
|
|
187
|
+
#define RISCV_DIRECTMAP_END (RISCV_DIRECTMAP_START + RISCV_DIRECTMAP_SIZE)
|
|
188
|
+
#define RISCV_DIRECTMAP_P(va) (((vaddr_t) (va) & RISCV_DIRECTMAP_MASK) == RISCV_DIRECTMAP_MASK)
|
|
189
|
+
#define RISCV_PA_TO_KVA(pa) ((vaddr_t) ((pa) | RISCV_DIRECTMAP_START))
|
|
190
|
+
#define RISCV_KVA_TO_PA(va) ((paddr_t) ((va) & ~RISCV_DIRECTMAP_MASK))
|
|
191
|
+
#endif
|
|
192
|
+
|
|
193
|
+
/*
|
|
194
|
+
* The address to which unspecified mapping requests default
|
|
195
|
+
*/
|
|
196
|
+
#define __USE_TOPDOWN_VM
|
|
197
|
+
|
|
198
|
+
#define VM_DEFAULT_ADDRESS_TOPDOWN(da, sz) \
|
|
199
|
+
trunc_page(USRSTACK - MAXSSIZ - (sz) - user_stack_guard_size)
|
|
200
|
+
#define VM_DEFAULT_ADDRESS_BOTTOMUP(da, sz) \
|
|
201
|
+
round_page((vaddr_t)(da) + (vsize_t)maxdmap)
|
|
202
|
+
|
|
203
|
+
#define VM_DEFAULT_ADDRESS32_TOPDOWN(da, sz) \
|
|
204
|
+
trunc_page(USRSTACK32 - MAXSSIZ32 - (sz) - user_stack_guard_size)
|
|
205
|
+
#define VM_DEFAULT_ADDRESS32_BOTTOMUP(da, sz) \
|
|
206
|
+
round_page((vaddr_t)(da) + (vsize_t)MAXDSIZ32)
|
|
207
|
+
|
|
208
|
+
/* virtual sizes (bytes) for various kernel submaps */
|
|
209
|
+
#define VM_PHYS_SIZE (USRIOSIZE*PAGE_SIZE)
|
|
210
|
+
|
|
211
|
+
/*
|
|
212
|
+
* max number of non-contig chunks of physical RAM you can have
|
|
213
|
+
*/
|
|
214
|
+
#define VM_PHYSSEG_MAX 64
|
|
215
|
+
|
|
216
|
+
/*
|
|
217
|
+
* when converting a physical address to a vm_page structure, we
|
|
218
|
+
* want to use a binary search on the chunks of physical memory
|
|
219
|
+
* to find our RAM
|
|
220
|
+
*/
|
|
221
|
+
#define VM_PHYSSEG_STRAT VM_PSTRAT_BSEARCH
|
|
222
|
+
|
|
223
|
+
#ifndef VM_NFREELIST
|
|
224
|
+
#define VM_NFREELIST 2 /* 2 distinct memory segments */
|
|
225
|
+
#define VM_FREELIST_DEFAULT 0
|
|
226
|
+
#define VM_FREELIST_DIRECTMAP 1
|
|
227
|
+
#endif
|
|
228
|
+
|
|
229
|
+
#ifdef _KERNEL
|
|
230
|
+
#ifdef _LP64
|
|
231
|
+
void * cpu_uarea_alloc(bool);
|
|
232
|
+
bool cpu_uarea_free(void *);
|
|
233
|
+
#endif
|
|
234
|
+
#endif
|
|
235
|
+
|
|
236
|
+
#endif /* ! _RISCV_VMPARAM_H_ */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*
|
|
1
|
+
/* $NetBSD: wchar_limits.h,v 1.1 2014/09/19 17:36:26 matt Exp $ */
|
|
2
2
|
|
|
3
|
-
#include <
|
|
3
|
+
#include <sys/common_wchar_limits.h>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: math.h,v 1.
|
|
1
|
+
/* $NetBSD: math.h,v 1.72 2024/09/09 15:06:29 riastradh Exp $ */
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* ====================================================
|
|
@@ -514,6 +514,7 @@ long double fminl(long double, long double);
|
|
|
514
514
|
#endif /* !_ANSI_SOURCE && ... */
|
|
515
515
|
|
|
516
516
|
#if defined(_NETBSD_SOURCE)
|
|
517
|
+
|
|
517
518
|
#ifndef __cplusplus
|
|
518
519
|
int matherr(struct exception *);
|
|
519
520
|
#endif
|
|
@@ -528,6 +529,22 @@ double significand(double);
|
|
|
528
529
|
*/
|
|
529
530
|
double drem(double, double);
|
|
530
531
|
|
|
532
|
+
void sincos(double, double *, double *);
|
|
533
|
+
void sincosf(float, float *, float *);
|
|
534
|
+
void sincosl(long double, long double *, long double *);
|
|
535
|
+
|
|
536
|
+
double cospi(double);
|
|
537
|
+
float cospif(float);
|
|
538
|
+
long double cospil(long double);
|
|
539
|
+
|
|
540
|
+
double sinpi(double);
|
|
541
|
+
float sinpif(float);
|
|
542
|
+
long double sinpil(long double);
|
|
543
|
+
|
|
544
|
+
double tanpi(double);
|
|
545
|
+
float tanpif(float);
|
|
546
|
+
long double tanpil(long double);
|
|
547
|
+
|
|
531
548
|
#endif /* _NETBSD_SOURCE */
|
|
532
549
|
|
|
533
550
|
#if defined(_NETBSD_SOURCE) || defined(_REENTRANT)
|
|
@@ -537,9 +554,9 @@ double drem(double, double);
|
|
|
537
554
|
*/
|
|
538
555
|
double gamma_r(double, int *);
|
|
539
556
|
double lgamma_r(double, int *);
|
|
557
|
+
long double lgammal_r(long double, int *);
|
|
540
558
|
#endif /* _NETBSD_SOURCE || _REENTRANT */
|
|
541
559
|
|
|
542
|
-
|
|
543
560
|
#if defined(_NETBSD_SOURCE)
|
|
544
561
|
|
|
545
562
|
/* float versions of ANSI/POSIX functions */
|
|
@@ -566,10 +583,6 @@ float significandf(float);
|
|
|
566
583
|
* float versions of BSD math library entry points
|
|
567
584
|
*/
|
|
568
585
|
float dremf(float, float);
|
|
569
|
-
|
|
570
|
-
void sincos(double, double *, double *);
|
|
571
|
-
void sincosf(float, float *, float *);
|
|
572
|
-
void sincosl(long double, long double *, long double *);
|
|
573
586
|
#endif /* _NETBSD_SOURCE */
|
|
574
587
|
|
|
575
588
|
#if defined(_NETBSD_SOURCE) || defined(_REENTRANT)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: md2.h,v 1.
|
|
1
|
+
/* $NetBSD: md2.h,v 1.9 2024/01/19 18:40:35 christos Exp $ */
|
|
2
2
|
|
|
3
3
|
#ifndef _MD2_H_
|
|
4
4
|
#define _MD2_H_
|
|
@@ -21,10 +21,13 @@ __BEGIN_DECLS
|
|
|
21
21
|
void MD2Init(MD2_CTX *);
|
|
22
22
|
void MD2Update(MD2_CTX *, const unsigned char *, unsigned int);
|
|
23
23
|
void MD2Final(unsigned char[16], MD2_CTX *);
|
|
24
|
-
char *MD2End(MD2_CTX *, char
|
|
24
|
+
char *MD2End(MD2_CTX *, char[MD2_DIGEST_STRING_LENGTH]);
|
|
25
25
|
char *MD2File(const char *, char *);
|
|
26
26
|
char *MD2FileChunk(const char *, char *, off_t, off_t);
|
|
27
|
-
char *MD2Data(const unsigned char *, size_t, char
|
|
27
|
+
char *MD2Data(const unsigned char *, size_t, char[MD2_DIGEST_STRING_LENGTH]);
|
|
28
|
+
#ifdef _LIBC_INTERNAL
|
|
29
|
+
void MD2Transform(MD2_CTX *);
|
|
30
|
+
#endif
|
|
28
31
|
__END_DECLS
|
|
29
32
|
|
|
30
33
|
#endif /* _MD2_H_ */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: asm.h,v 1.
|
|
1
|
+
/* $NetBSD: asm.h,v 1.77 2025/01/06 10:46:43 martin Exp $ */
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* Copyright (c) 1992, 1993
|
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
|
|
60
60
|
#if defined(_KERNEL_OPT)
|
|
61
61
|
#include "opt_gprof.h"
|
|
62
|
+
#include "opt_multiprocessor.h"
|
|
62
63
|
#endif
|
|
63
64
|
|
|
64
65
|
#ifdef __ASSEMBLER__
|
|
@@ -70,6 +71,9 @@
|
|
|
70
71
|
#define __SHIFTIN(__x, __mask) ((__x) * __LOWEST_SET_BIT(__mask))
|
|
71
72
|
#endif /* __ASSEMBLER__ */
|
|
72
73
|
|
|
74
|
+
#ifndef GPROF
|
|
75
|
+
#define _MIPS_ASM_MCOUNT(x)
|
|
76
|
+
#else
|
|
73
77
|
/*
|
|
74
78
|
* Define -pg profile entry code.
|
|
75
79
|
* Must always be noreorder, must never use a macro instruction.
|
|
@@ -80,7 +84,7 @@
|
|
|
80
84
|
* stack and the final addiu to t9 must always equal the size of this
|
|
81
85
|
* _MIPS_ASM_MCOUNT.
|
|
82
86
|
*/
|
|
83
|
-
#define _MIPS_ASM_MCOUNT \
|
|
87
|
+
#define _MIPS_ASM_MCOUNT(x) \
|
|
84
88
|
.set push; \
|
|
85
89
|
.set noreorder; \
|
|
86
90
|
.set noat; \
|
|
@@ -103,7 +107,8 @@
|
|
|
103
107
|
* call _mcount(). For the no abicalls case, skip the reloc dance.
|
|
104
108
|
*/
|
|
105
109
|
#ifdef __mips_abicalls
|
|
106
|
-
#
|
|
110
|
+
#if defined(__mips_n32) /* n32 */
|
|
111
|
+
#define _MIPS_ASM_MCOUNT(x) \
|
|
107
112
|
.set push; \
|
|
108
113
|
.set noreorder; \
|
|
109
114
|
.set noat; \
|
|
@@ -117,8 +122,28 @@
|
|
|
117
122
|
lw t9,8(sp); \
|
|
118
123
|
addiu sp,16; \
|
|
119
124
|
.set pop;
|
|
125
|
+
#else /* n64 */
|
|
126
|
+
#define _MIPS_ASM_MCOUNT(x) \
|
|
127
|
+
.set push; \
|
|
128
|
+
.set noreorder; \
|
|
129
|
+
.set noat; \
|
|
130
|
+
dsubu sp,16; \
|
|
131
|
+
sd gp,0(sp); \
|
|
132
|
+
sd t9,8(sp); \
|
|
133
|
+
move AT,ra; \
|
|
134
|
+
lui gp,%hi(%neg(%gp_rel(x))); \
|
|
135
|
+
daddiu gp,%lo(%neg(%gp_rel(x))); \
|
|
136
|
+
daddu gp,gp,t9; \
|
|
137
|
+
ld t9,%call16(_mcount)(gp); \
|
|
138
|
+
jalr t9; \
|
|
139
|
+
nop; \
|
|
140
|
+
ld gp,0(sp); \
|
|
141
|
+
ld t9,8(sp); \
|
|
142
|
+
daddiu sp,16; \
|
|
143
|
+
.set pop;
|
|
144
|
+
#endif
|
|
120
145
|
#else /* !__mips_abicalls */
|
|
121
|
-
#define _MIPS_ASM_MCOUNT \
|
|
146
|
+
#define _MIPS_ASM_MCOUNT(x) \
|
|
122
147
|
.set push; \
|
|
123
148
|
.set noreorder; \
|
|
124
149
|
.set noat; \
|
|
@@ -128,12 +153,7 @@
|
|
|
128
153
|
.set pop;
|
|
129
154
|
#endif /* !__mips_abicalls */
|
|
130
155
|
#endif /* n32/n64 */
|
|
131
|
-
|
|
132
|
-
#ifdef GPROF
|
|
133
|
-
#define MCOUNT _MIPS_ASM_MCOUNT
|
|
134
|
-
#else
|
|
135
|
-
#define MCOUNT
|
|
136
|
-
#endif
|
|
156
|
+
#endif /* GPROF */
|
|
137
157
|
|
|
138
158
|
#ifdef USE_AENT
|
|
139
159
|
#define AENT(x) \
|
|
@@ -186,7 +206,7 @@ _C_LABEL(x): ; \
|
|
|
186
206
|
*/
|
|
187
207
|
#define STATIC_LEAF(x) \
|
|
188
208
|
STATIC_LEAF_NOPROFILE(x); \
|
|
189
|
-
|
|
209
|
+
_MIPS_ASM_MCOUNT(x)
|
|
190
210
|
|
|
191
211
|
/*
|
|
192
212
|
* LEAF
|
|
@@ -197,7 +217,7 @@ _C_LABEL(x): ; \
|
|
|
197
217
|
*/
|
|
198
218
|
#define LEAF(x) \
|
|
199
219
|
LEAF_NOPROFILE(x); \
|
|
200
|
-
|
|
220
|
+
_MIPS_ASM_MCOUNT(x)
|
|
201
221
|
|
|
202
222
|
/*
|
|
203
223
|
* STATIC_XLEAF
|
|
@@ -240,7 +260,7 @@ _C_LABEL(x): ; \
|
|
|
240
260
|
*/
|
|
241
261
|
#define NESTED(x, fsize, retpc) \
|
|
242
262
|
NESTED_NOPROFILE(x, fsize, retpc); \
|
|
243
|
-
|
|
263
|
+
_MIPS_ASM_MCOUNT(x)
|
|
244
264
|
|
|
245
265
|
/*
|
|
246
266
|
* STATIC_NESTED
|
|
@@ -248,7 +268,7 @@ _C_LABEL(x): ; \
|
|
|
248
268
|
*/
|
|
249
269
|
#define STATIC_NESTED(x, fsize, retpc) \
|
|
250
270
|
STATIC_NESTED_NOPROFILE(x, fsize, retpc); \
|
|
251
|
-
|
|
271
|
+
_MIPS_ASM_MCOUNT(x)
|
|
252
272
|
|
|
253
273
|
/*
|
|
254
274
|
* XNESTED
|
|
@@ -326,9 +346,18 @@ _C_LABEL(x):
|
|
|
326
346
|
.asciz str; \
|
|
327
347
|
.align 3
|
|
328
348
|
|
|
349
|
+
#ifdef _NETBSD_REVISIONID
|
|
350
|
+
#define RCSID(x) .pushsection ".ident","MS",@progbits,1; \
|
|
351
|
+
.asciz x; \
|
|
352
|
+
.ascii "$"; .ascii "NetBSD: "; .ascii __FILE__; \
|
|
353
|
+
.ascii " "; .ascii _NETBSD_REVISIONID; \
|
|
354
|
+
.asciz " $"; \
|
|
355
|
+
.popsection
|
|
356
|
+
#else
|
|
329
357
|
#define RCSID(x) .pushsection ".ident","MS",@progbits,1; \
|
|
330
358
|
.asciz x; \
|
|
331
359
|
.popsection
|
|
360
|
+
#endif
|
|
332
361
|
|
|
333
362
|
/*
|
|
334
363
|
* XXX retain dialects XXX
|
|
@@ -573,7 +602,7 @@ _C_LABEL(x):
|
|
|
573
602
|
#endif
|
|
574
603
|
|
|
575
604
|
/* compiler define */
|
|
576
|
-
#if defined(__OCTEON__)
|
|
605
|
+
#if defined(MULTIPROCESSOR) && defined(__OCTEON__)
|
|
577
606
|
/*
|
|
578
607
|
* See common/lib/libc/arch/mips/atomic/membar_ops.S for notes on
|
|
579
608
|
* Octeon memory ordering guarantees and barriers.
|
|
@@ -582,7 +611,30 @@ _C_LABEL(x):
|
|
|
582
611
|
* we need to apply a plunger to it _after_ releasing a lock or else
|
|
583
612
|
* other CPUs may spin for hundreds of thousands of cycles before they
|
|
584
613
|
* see the lock is released. So we also have the quirky SYNC_PLUNGER
|
|
585
|
-
* barrier as syncw.
|
|
614
|
+
* barrier as syncw. See the note in the SYNCW instruction description
|
|
615
|
+
* on p. 2168 of Cavium OCTEON III CN78XX Hardware Reference Manual,
|
|
616
|
+
* CN78XX-HM-0.99E, September 2014:
|
|
617
|
+
*
|
|
618
|
+
* Core A (writer)
|
|
619
|
+
*
|
|
620
|
+
* SW R1, DATA# change shared DATA value
|
|
621
|
+
* LI R1, 1
|
|
622
|
+
* SYNCW# (or SYNCWS) Perform DATA store before performing FLAG store
|
|
623
|
+
* SW R2, FLAG# say that the shared DATA value is valid
|
|
624
|
+
* SYNCW# (or SYNCWS) Force the FLAG store soon (CN78XX-specific)
|
|
625
|
+
*
|
|
626
|
+
* ...
|
|
627
|
+
*
|
|
628
|
+
* The second SYNCW instruction executed by core A is not
|
|
629
|
+
* necessary for correctness, but has very important performance
|
|
630
|
+
* effects on the CN78XX. Without it, the store to FLAG may
|
|
631
|
+
* linger in core A's write buffer before it becomes visible to
|
|
632
|
+
* any other cores. (If core A is not performing many stores,
|
|
633
|
+
* this may add hundreds of thousands of cycles to the flag
|
|
634
|
+
* release time since the CN78XX core nominally retains stores to
|
|
635
|
+
* attempt to merge them before sending the store on the CMI.)
|
|
636
|
+
* Applications should include this second SYNCW instruction after
|
|
637
|
+
* flag or lock release.
|
|
586
638
|
*/
|
|
587
639
|
#define LLSCSYNC /* nothing */
|
|
588
640
|
#define BDSYNC sync
|
|
@@ -591,7 +643,7 @@ _C_LABEL(x):
|
|
|
591
643
|
#define SYNC_REL sync 4
|
|
592
644
|
#define BDSYNC_PLUNGER sync 4
|
|
593
645
|
#define SYNC_PLUNGER sync 4
|
|
594
|
-
#elif __mips >= 3 || !defined(__mips_o32)
|
|
646
|
+
#elif defined(MULTIPROCESSOR) && (__mips >= 3 || !defined(__mips_o32))
|
|
595
647
|
#define LLSCSYNC /* nothing */
|
|
596
648
|
#define BDSYNC sync
|
|
597
649
|
#define BDSYNC_ACQ sync
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: bswap.h,v 1.5
|
|
1
|
+
/* $NetBSD: bswap.h,v 1.5.28.1 2025/12/05 13:03:52 martin Exp $ */
|
|
2
2
|
|
|
3
3
|
/*-
|
|
4
4
|
* Copyright (c) 2013 The NetBSD Foundation, Inc.
|
|
@@ -29,6 +29,8 @@
|
|
|
29
29
|
#define _MIPS_BSWAP_H_
|
|
30
30
|
|
|
31
31
|
#define __BSWAP_RENAME
|
|
32
|
+
#define __HAVE_SLOW_BSWAP_BUILTIN
|
|
33
|
+
|
|
32
34
|
#include <sys/bswap.h>
|
|
33
35
|
|
|
34
36
|
#endif /* !_MIPS_BSWAP_H_ */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: cpu.h,v 1.
|
|
1
|
+
/* $NetBSD: cpu.h,v 1.135 2023/07/23 07:20:45 skrll Exp $ */
|
|
2
2
|
|
|
3
3
|
/*-
|
|
4
4
|
* Copyright (c) 1992, 1993
|
|
@@ -150,11 +150,11 @@ struct cpu_info {
|
|
|
150
150
|
struct evcnt ci_evcnt_synci_deferred_rqst;
|
|
151
151
|
struct evcnt ci_evcnt_synci_ipi_rqst;
|
|
152
152
|
|
|
153
|
-
#define CPUF_PRIMARY
|
|
154
|
-
#define CPUF_PRESENT
|
|
155
|
-
#define CPUF_RUNNING
|
|
156
|
-
#define CPUF_PAUSED
|
|
157
|
-
#define CPUF_USERPMAP
|
|
153
|
+
#define CPUF_PRIMARY __BIT(0) /* CPU is primary CPU */
|
|
154
|
+
#define CPUF_PRESENT __BIT(1) /* CPU is present */
|
|
155
|
+
#define CPUF_RUNNING __BIT(2) /* CPU is running */
|
|
156
|
+
#define CPUF_PAUSED __BIT(3) /* CPU is paused */
|
|
157
|
+
#define CPUF_USERPMAP __BIT(5) /* CPU has a user pmap activated */
|
|
158
158
|
kcpuset_t *ci_shootdowncpus;
|
|
159
159
|
kcpuset_t *ci_multicastcpus;
|
|
160
160
|
kcpuset_t *ci_watchcpus;
|
|
@@ -242,7 +242,7 @@ struct clockframe {
|
|
|
242
242
|
};
|
|
243
243
|
|
|
244
244
|
/*
|
|
245
|
-
* A port must
|
|
245
|
+
* A port must provide CLKF_USERMODE() for use in machine-independent code.
|
|
246
246
|
* These differ on r4000 and r3000 systems; provide them in the
|
|
247
247
|
* port-dependent file that includes this one, using the macros below.
|
|
248
248
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: elf_machdep.h,v 1.
|
|
1
|
+
/* $NetBSD: elf_machdep.h,v 1.21 2025/04/16 01:56:52 riastradh Exp $ */
|
|
2
2
|
|
|
3
3
|
/*-
|
|
4
4
|
* Copyright (c) 2013 The NetBSD Foundation, Inc.
|
|
@@ -152,6 +152,7 @@
|
|
|
152
152
|
#define DT_MIPS_RLD_MAP 0x70000016 /* address of loader map */
|
|
153
153
|
#define DT_MIPS_PLTGOT 0x70000032
|
|
154
154
|
#define DT_MIPS_RWPLT 0x70000034
|
|
155
|
+
#define DT_MIPS_RLD_MAP_REL 0x70000035
|
|
155
156
|
|
|
156
157
|
/*
|
|
157
158
|
* ELF Flags
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: fenv.h,v 1.
|
|
1
|
+
/* $NetBSD: fenv.h,v 1.7 2024/10/30 15:56:11 riastradh Exp $ */
|
|
2
2
|
|
|
3
3
|
/*-
|
|
4
4
|
* Copyright (c) 2004-2005 David Schultz <das@FreeBSD.ORG>
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
#ifndef _MIPS_FENV_H_
|
|
32
32
|
#define _MIPS_FENV_H_
|
|
33
33
|
|
|
34
|
+
#include <sys/featuretest.h>
|
|
34
35
|
#include <sys/stdint.h>
|
|
35
36
|
|
|
36
37
|
/* Exception flags */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: float.h,v 1.
|
|
1
|
+
/* $NetBSD: float.h,v 1.20 2024/10/30 15:56:11 riastradh Exp $ */
|
|
2
2
|
|
|
3
3
|
/*-
|
|
4
4
|
* Copyright (c) 2013 The NetBSD Foundation, Inc.
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
#define _MIPS_FLOAT_H_
|
|
30
30
|
|
|
31
31
|
#include <sys/cdefs.h>
|
|
32
|
+
#include <sys/featuretest.h>
|
|
32
33
|
|
|
33
34
|
#if defined(__mips_n32) || defined(__mips_n64)
|
|
34
35
|
|
|
@@ -55,7 +56,7 @@
|
|
|
55
56
|
#if __STDC_VERSION__ >= 199901L
|
|
56
57
|
#define LDBL_EPSILON 0x1p-112L
|
|
57
58
|
#define LDBL_MIN 0x1p-16382L
|
|
58
|
-
#define LDBL_MAX 0x1.ffffffffffffffffffffffffffffp+16383L
|
|
59
|
+
#define LDBL_MAX 0x1.ffffffffffffffffffffffffffffp+16383L
|
|
59
60
|
#else
|
|
60
61
|
#define LDBL_EPSILON 1.9259299443872358530559779425849273E-34L
|
|
61
62
|
#define LDBL_MIN 3.3621031431120935062626778173217526E-4932L
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: frame.h,v 1.
|
|
1
|
+
/* $NetBSD: frame.h,v 1.13 2025/04/25 00:26:58 riastradh Exp $ */
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* Copyright (c) 2001 The NetBSD Foundation, Inc.
|
|
@@ -40,8 +40,9 @@
|
|
|
40
40
|
#endif
|
|
41
41
|
|
|
42
42
|
#include <sys/signal.h>
|
|
43
|
+
#include <sys/stddef.h>
|
|
43
44
|
|
|
44
|
-
void *getframe(struct lwp *, int, int
|
|
45
|
+
void *getframe(struct lwp *, int, int *, size_t, size_t);
|
|
45
46
|
#define lwp_trapframe(l) ((l)->l_md.md_utf)
|
|
46
47
|
|
|
47
48
|
#if defined(COMPAT_16) || defined(COMPAT_ULTRIX)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: limits.h,v 1.
|
|
1
|
+
/* $NetBSD: limits.h,v 1.29 2024/03/16 21:50:47 christos Exp $ */
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* Copyright (c) 1988, 1993
|
|
@@ -94,18 +94,9 @@
|
|
|
94
94
|
#define SIZE_T_MAX UINT_MAX /* max value for a size_t */
|
|
95
95
|
#endif
|
|
96
96
|
|
|
97
|
-
#
|
|
98
|
-
/*
|
|
99
|
-
#define
|
|
100
|
-
#define QUAD_MAX (LONG_MAX)
|
|
101
|
-
#define QUAD_MIN (LONG_MIN)
|
|
102
|
-
#else
|
|
103
|
-
/* GCC requires that quad constants be written as expressions. */
|
|
104
|
-
#define UQUAD_MAX ((u_quad_t)0-1) /* max value for a uquad_t */
|
|
105
|
-
/* max value for a quad_t */
|
|
106
|
-
#define QUAD_MAX ((quad_t)(UQUAD_MAX >> 1))
|
|
107
|
-
#define QUAD_MIN (-QUAD_MAX-1) /* min value for a quad_t */
|
|
108
|
-
#endif
|
|
97
|
+
#define UQUAD_MAX 0xffffffffffffffffULL /* max unsigned quad */
|
|
98
|
+
#define QUAD_MAX 0x7fffffffffffffffLL /* max signed quad */
|
|
99
|
+
#define QUAD_MIN (-0x7fffffffffffffffLL-1) /* min signed quad */
|
|
109
100
|
|
|
110
101
|
#endif /* _NETBSD_SOURCE */
|
|
111
102
|
#endif /* _POSIX_C_SOURCE || _XOPEN_SOURCE || _NETBSD_SOURCE */
|