@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: uvm_swap.h,v 1.
|
|
1
|
+
/* $NetBSD: uvm_swap.h,v 1.29.4.1 2026/04/03 12:38:34 martin Exp $ */
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* Copyright (c) 1997 Matthew R. Green
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
#endif
|
|
40
40
|
|
|
41
41
|
struct lwp;
|
|
42
|
+
struct swapent;
|
|
42
43
|
|
|
43
44
|
#if defined(VMSWAP)
|
|
44
45
|
|
|
45
|
-
struct swapent;
|
|
46
46
|
struct vm_page;
|
|
47
47
|
|
|
48
48
|
int uvm_swap_get(struct vm_page *, int, int);
|
|
@@ -55,10 +55,21 @@ void swapsys_lock(krw_t);
|
|
|
55
55
|
void swapsys_unlock(void);
|
|
56
56
|
int uvm_swap_stats(char *, int,
|
|
57
57
|
void (*)(void *, const struct swapent *), size_t, register_t *);
|
|
58
|
+
void uvm_swap_decrypt_pages(int startslot, void *p, int npages);
|
|
58
59
|
|
|
59
60
|
#else /* defined(VMSWAP) */
|
|
61
|
+
|
|
60
62
|
#define uvm_swapisfull() true
|
|
61
|
-
|
|
63
|
+
|
|
64
|
+
static inline int
|
|
65
|
+
uvm_swap_stats(char *c, int l, void (*f)(void *, const struct swapent *),
|
|
66
|
+
size_t count, register_t *retval)
|
|
67
|
+
{
|
|
68
|
+
|
|
69
|
+
*retval = 0;
|
|
70
|
+
return ENOSYS;
|
|
71
|
+
}
|
|
72
|
+
|
|
62
73
|
#endif /* defined(VMSWAP) */
|
|
63
74
|
|
|
64
75
|
void uvm_swap_shutdown(struct lwp *);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: wchar.h,v 1.
|
|
1
|
+
/* $NetBSD: wchar.h,v 1.46 2024/11/01 16:36:58 nia Exp $ */
|
|
2
2
|
|
|
3
3
|
/*-
|
|
4
4
|
* Copyright (c)1999 Citrus Project,
|
|
@@ -130,10 +130,15 @@ wchar_t *wcswcs(const wchar_t *, const wchar_t *);
|
|
|
130
130
|
wchar_t *wmemchr(const wchar_t *, wchar_t, size_t);
|
|
131
131
|
int wmemcmp(const wchar_t *, const wchar_t *, size_t);
|
|
132
132
|
wchar_t *wmemcpy(wchar_t * __restrict, const wchar_t * __restrict, size_t);
|
|
133
|
+
wchar_t *wmempcpy(wchar_t * __restrict, const wchar_t * __restrict, size_t);
|
|
133
134
|
wchar_t *wmemmove(wchar_t *, const wchar_t *, size_t);
|
|
134
135
|
wchar_t *wmemset(wchar_t *, wchar_t, size_t);
|
|
135
136
|
|
|
136
|
-
|
|
137
|
+
/*
|
|
138
|
+
* IEEE Std 1003.1-2024 (POSIX.1-2024)
|
|
139
|
+
*/
|
|
140
|
+
#if (_POSIX_C_SOURCE - 0) >= 202405L || (_XOPEN_SOURCE - 0 >= 800) || \
|
|
141
|
+
defined(_NETBSD_SOURCE)
|
|
137
142
|
size_t wcslcat(wchar_t *, const wchar_t *, size_t);
|
|
138
143
|
size_t wcslcpy(wchar_t *, const wchar_t *, size_t);
|
|
139
144
|
#endif
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: bootinfo.h,v 1.
|
|
1
|
+
/* $NetBSD: bootinfo.h,v 1.32 2025/04/30 05:15:08 imil Exp $ */
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* Copyright (c) 1997
|
|
@@ -272,6 +272,9 @@ struct bootinfo {
|
|
|
272
272
|
};
|
|
273
273
|
|
|
274
274
|
extern struct bootinfo bootinfo;
|
|
275
|
+
#ifdef XEN
|
|
276
|
+
extern bool pvh_boot;
|
|
277
|
+
#endif
|
|
275
278
|
|
|
276
279
|
void *lookup_bootinfo(int);
|
|
277
280
|
void aprint_bootinfo(void);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: cpu.h,v 1.
|
|
1
|
+
/* $NetBSD: cpu.h,v 1.140 2025/04/24 01:50:39 riastradh Exp $ */
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* Copyright (c) 1990 The Regents of the University of California.
|
|
@@ -325,6 +325,8 @@ struct cpu_info {
|
|
|
325
325
|
struct evcnt ci_xen_raw_systime_backwards_evcnt;
|
|
326
326
|
struct evcnt ci_xen_systime_backwards_hardclock_evcnt;
|
|
327
327
|
struct evcnt ci_xen_missed_hardclock_evcnt;
|
|
328
|
+
struct evcnt ci_xen_timecounter_backwards_evcnt;
|
|
329
|
+
struct evcnt ci_xen_timecounter_jump_evcnt;
|
|
328
330
|
#endif /* XEN */
|
|
329
331
|
|
|
330
332
|
#if defined(GPROF) && defined(MULTIPROCESSOR)
|
|
@@ -479,6 +481,7 @@ extern uint64_t x86_xsave_features;
|
|
|
479
481
|
extern size_t x86_xsave_offsets[];
|
|
480
482
|
extern size_t x86_xsave_sizes[];
|
|
481
483
|
extern uint32_t x86_fpu_mxcsr_mask;
|
|
484
|
+
bool x86_fpu_save_separate_p(void);
|
|
482
485
|
|
|
483
486
|
extern void (*x86_cpu_idle)(void);
|
|
484
487
|
#define cpu_idle() (*x86_cpu_idle)()
|
|
@@ -514,6 +517,8 @@ typedef enum vm_guest {
|
|
|
514
517
|
VM_GUEST_VMWARE,
|
|
515
518
|
VM_GUEST_KVM,
|
|
516
519
|
VM_GUEST_VIRTUALBOX,
|
|
520
|
+
VM_GUEST_GENPVH,
|
|
521
|
+
VM_GUEST_NVMM,
|
|
517
522
|
VM_LAST
|
|
518
523
|
} vm_guest_t;
|
|
519
524
|
extern vm_guest_t vm_guest;
|
|
@@ -543,6 +548,18 @@ vm_guest_is_xenpvh_or_pvhvm(void)
|
|
|
543
548
|
}
|
|
544
549
|
}
|
|
545
550
|
|
|
551
|
+
static __inline bool __unused
|
|
552
|
+
vm_guest_is_pvh(void)
|
|
553
|
+
{
|
|
554
|
+
switch(vm_guest) {
|
|
555
|
+
case VM_GUEST_XENPVH:
|
|
556
|
+
case VM_GUEST_GENPVH:
|
|
557
|
+
return true;
|
|
558
|
+
default:
|
|
559
|
+
return false;
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
|
|
546
563
|
/* cpu_topology.c */
|
|
547
564
|
void x86_cpu_topology(struct cpu_info *);
|
|
548
565
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: cpu_extended_state.h,v 1.
|
|
1
|
+
/* $NetBSD: cpu_extended_state.h,v 1.19 2025/04/24 01:50:39 riastradh Exp $ */
|
|
2
2
|
|
|
3
3
|
#ifndef _X86_CPU_EXTENDED_STATE_H_
|
|
4
4
|
#define _X86_CPU_EXTENDED_STATE_H_
|
|
@@ -226,6 +226,8 @@ struct xstate {
|
|
|
226
226
|
* It is defined this way to separate the definitions and to
|
|
227
227
|
* minimise the number of union/struct selectors.
|
|
228
228
|
* NB: Some userspace stuff (eg firefox) uses it to parse ucontext.
|
|
229
|
+
* NB: This is not actually the largest possible save space;
|
|
230
|
+
* x86_fpu_save_size may be larger.
|
|
229
231
|
*/
|
|
230
232
|
union savefpu {
|
|
231
233
|
struct save87 sv_87;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: cpuvar.h,v 1.
|
|
1
|
+
/* $NetBSD: cpuvar.h,v 1.55 2025/05/01 05:17:31 imil Exp $ */
|
|
2
2
|
|
|
3
3
|
/*-
|
|
4
4
|
* Copyright (c) 2000, 2007 The NetBSD Foundation, Inc.
|
|
@@ -124,8 +124,11 @@ void x86_cpu_idle_xen(void);
|
|
|
124
124
|
void cpu_get_tsc_freq(struct cpu_info *);
|
|
125
125
|
void pat_init(struct cpu_info *);
|
|
126
126
|
|
|
127
|
+
bool has_lapic(void);
|
|
128
|
+
|
|
127
129
|
extern int cpu_vendor;
|
|
128
130
|
extern bool x86_mp_online;
|
|
131
|
+
extern u_int cpu_max_hypervisor_cpuid;
|
|
129
132
|
|
|
130
133
|
extern uint32_t cpu_feature[7];
|
|
131
134
|
|
|
@@ -1,10 +1,33 @@
|
|
|
1
|
-
/* $NetBSD: float.h,v 1.
|
|
1
|
+
/* $NetBSD: float.h,v 1.8 2024/06/15 11:44:09 rillig Exp $ */
|
|
2
2
|
|
|
3
3
|
#ifndef _X86_FLOAT_H_
|
|
4
4
|
#define _X86_FLOAT_H_
|
|
5
5
|
|
|
6
6
|
#include <sys/featuretest.h>
|
|
7
7
|
|
|
8
|
+
/*
|
|
9
|
+
* LDBL_MIN is twice the m68k LDBL_MIN, even though both are 12-byte
|
|
10
|
+
* floats with the same base properties and both allegedly
|
|
11
|
+
* IEEE-compliant, because both these representations materialize the
|
|
12
|
+
* top (integer-part) bit of the mantissa. But on m68k if the exponent
|
|
13
|
+
* is 0 and the integer bit is set, it's a regular number, whereas on
|
|
14
|
+
* x86 it's called a pseudo-denormal and apparently treated as a
|
|
15
|
+
* denormal, so it doesn't count as a valid value for LDBL_MIN.
|
|
16
|
+
*
|
|
17
|
+
* x86 citation: Intel 64 and IA-32 Architectures Software Developer's
|
|
18
|
+
* Manual, vol. 1 (Order Number: 253665-077US, April 2022), Sec. 8.2.2
|
|
19
|
+
* `Unsupported Double Extended-Precision Floating-Point Encodings
|
|
20
|
+
* and Pseudo-Denormals', p. 8-14.
|
|
21
|
+
*
|
|
22
|
+
* m86k citation: MC68881/MC68882 Floating-Point Coprocessor User's
|
|
23
|
+
* Manual, Second Edition (Prentice-Hall, 1989, apparently issued by
|
|
24
|
+
* Freescale), Section 3.2 `Binary Real Data formats', pg. 3-3 bottom
|
|
25
|
+
* in particular and pp. 3-2 to 3-5 in general.
|
|
26
|
+
*
|
|
27
|
+
* If anyone needs to update this comment please make sure the copy in
|
|
28
|
+
* m68k/include/float.h also gets updated.
|
|
29
|
+
*/
|
|
30
|
+
|
|
8
31
|
#define LDBL_MANT_DIG 64
|
|
9
32
|
#define LDBL_EPSILON 1.0842021724855044340E-19L
|
|
10
33
|
#define LDBL_DIG 18
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: ieee.h,v 1.
|
|
1
|
+
/* $NetBSD: ieee.h,v 1.13 2024/01/02 19:28:25 christos Exp $ */
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* Copyright (c) 1992, 1993
|
|
@@ -39,6 +39,8 @@
|
|
|
39
39
|
*
|
|
40
40
|
* @(#)ieee.h 8.1 (Berkeley) 6/11/93
|
|
41
41
|
*/
|
|
42
|
+
#ifndef _X86_IEEE_H_
|
|
43
|
+
#define _X86_IEEE_H_
|
|
42
44
|
|
|
43
45
|
/*
|
|
44
46
|
* ieee.h defines the machine-dependent layout of the machine's IEEE
|
|
@@ -67,13 +69,13 @@
|
|
|
67
69
|
* i386: 16 bits.
|
|
68
70
|
*/
|
|
69
71
|
struct ieee_ext {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
+
uint32_t ext_fracl:EXT_FRACLBITS;
|
|
73
|
+
uint32_t ext_frach:EXT_FRACHBITS;
|
|
72
74
|
#if 0
|
|
73
|
-
|
|
75
|
+
uint32_t ext_int:1;
|
|
74
76
|
#endif
|
|
75
|
-
|
|
76
|
-
|
|
77
|
+
uint32_t ext_exp:EXT_EXPBITS;
|
|
78
|
+
uint32_t ext_sign:1;
|
|
77
79
|
};
|
|
78
80
|
|
|
79
81
|
/*
|
|
@@ -114,4 +116,6 @@ union ieee_ext_u {
|
|
|
114
116
|
#define extu_frach extu_ext.ext_frach
|
|
115
117
|
|
|
116
118
|
#define LDBL_NBIT 0x80000000
|
|
117
|
-
#define mask_nbit_l(u) ((u).extu_frach &= ~LDBL_NBIT)
|
|
119
|
+
#define mask_nbit_l(u) ((u).extu_frach &= ~LDBL_NBIT)
|
|
120
|
+
|
|
121
|
+
#endif /* _X86_IEEE_H_ */
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/* $NetBSD: lwp_private.h,v 1.1 2024/11/30 01:04:16 christos Exp $ */
|
|
2
|
+
|
|
3
|
+
/*-
|
|
4
|
+
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
|
5
|
+
* All rights reserved.
|
|
6
|
+
*
|
|
7
|
+
* This code is derived from software contributed to The NetBSD Foundation
|
|
8
|
+
* by Klaus Klein.
|
|
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 _X86_LWP_PRIVATE_H_
|
|
33
|
+
#define _X86_LWP_PRIVATE_H_
|
|
34
|
+
|
|
35
|
+
#include <sys/cdefs.h>
|
|
36
|
+
#include <sys/tls.h>
|
|
37
|
+
|
|
38
|
+
__BEGIN_DECLS
|
|
39
|
+
|
|
40
|
+
static __inline void *
|
|
41
|
+
__lwp_getprivate_fast(void)
|
|
42
|
+
{
|
|
43
|
+
void *__tmp;
|
|
44
|
+
|
|
45
|
+
#ifdef _LP64
|
|
46
|
+
__asm volatile("movq %%fs:0, %0" : "=r" (__tmp));
|
|
47
|
+
#else
|
|
48
|
+
__asm volatile("movl %%gs:0, %0" : "=r" (__tmp));
|
|
49
|
+
#endif
|
|
50
|
+
|
|
51
|
+
return __tmp;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
__END_DECLS
|
|
55
|
+
|
|
56
|
+
#endif /* !_X86_LWP_PRIVATE_H_ */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: specialreg.h,v 1.
|
|
1
|
+
/* $NetBSD: specialreg.h,v 1.219 2025/04/28 13:01:27 riastradh Exp $ */
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* Copyright (c) 2014-2020 The NetBSD Foundation, Inc.
|
|
@@ -122,7 +122,23 @@
|
|
|
122
122
|
#define CR4_PKS 0x01000000 /* Enable Protection Keys for kern pages */
|
|
123
123
|
|
|
124
124
|
/*
|
|
125
|
-
* Extended Control Register XCR0
|
|
125
|
+
* Extended Control Register XCR0, also known as XFEATURE_ENABLED_MASK,
|
|
126
|
+
* with access via XGETBV/XSETBV instructions and support indicated by
|
|
127
|
+
* CPUID[EAX=0x0d, ECX=0].EAX/EDX.
|
|
128
|
+
*
|
|
129
|
+
* References:
|
|
130
|
+
*
|
|
131
|
+
* - Intel 64 and IA-32 Architectures Software Developer's Manual,
|
|
132
|
+
* Volume 3: System Programming Guide, Intel, Order Number:
|
|
133
|
+
* 325384-087US, March 2025, Sec. 2.6 `Extended Control Registers
|
|
134
|
+
* (Including XCR0)', pp. 2-20 -- 2-22.
|
|
135
|
+
*
|
|
136
|
+
* - AMD64 Architecture Programmer's Manual, Volume 2: System
|
|
137
|
+
* Programming, Advanced Micro Devices, Publication no. 24593,
|
|
138
|
+
* Rev. 3.42, March 2024, Sec. 11.5.2 `XFEATURE_ENABLED_MASK',
|
|
139
|
+
* p. 355.
|
|
140
|
+
*
|
|
141
|
+
* XXX Missing reference for XCR0_PT, XCR0_HDC, XCR0_LBR, XCR0_HWP.
|
|
126
142
|
*/
|
|
127
143
|
#define XCR0_X87 __BIT(0) /* x87 FPU/MMX state */
|
|
128
144
|
#define XCR0_SSE __BIT(1) /* SSE state */
|
|
@@ -139,20 +155,45 @@
|
|
|
139
155
|
#define XCR0_HDC __BIT(13) /* Hardware Duty Cycle state */
|
|
140
156
|
#define XCR0_LBR __BIT(15) /* Last Branch Record */
|
|
141
157
|
#define XCR0_HWP __BIT(16) /* Hardware P-states */
|
|
142
|
-
|
|
143
|
-
#define
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
"\
|
|
158
|
+
#define XCR0_TILECFG __BIT(17) /* Intel AMX TILECFG state in XSAVE */
|
|
159
|
+
#define XCR0_TILEDATA __BIT(18) /* Intel AMX TILEDATA state in XSAVE */
|
|
160
|
+
#define XCR0_LWP __BIT(62) /* AMD Lightweight Profiling (LWP) */
|
|
161
|
+
#define XCR0_X __BIT(63) /* AMD: reserved for XCR0 expansion */
|
|
162
|
+
|
|
163
|
+
#define XCR0_FLAGS1 "\177\020" \
|
|
164
|
+
"b\000" "x87\0" \
|
|
165
|
+
"b\001" "SSE\0" \
|
|
166
|
+
"b\002" "AVX\0" \
|
|
167
|
+
"b\003" "BNDREGS\0" \
|
|
168
|
+
"b\004" "BNDCSR\0" \
|
|
169
|
+
"b\005" "Opmask\0" \
|
|
170
|
+
"b\006" "ZMM_Hi256\0" \
|
|
171
|
+
"b\007" "Hi16_ZMM\0" \
|
|
172
|
+
"b\010" "PT\0" \
|
|
173
|
+
"b\011" "PKRU\0" \
|
|
174
|
+
"b\013" "CET_U\0" \
|
|
175
|
+
"b\014" "CET_S\0" \
|
|
176
|
+
"b\015" "HDC\0" \
|
|
177
|
+
"b\017" "LBR\0" \
|
|
178
|
+
"b\020" "HWP\0" \
|
|
179
|
+
"b\021" "TILECFG\0" \
|
|
180
|
+
"b\022" "TILEDATA\0" \
|
|
181
|
+
"b\076" "LWP\0" \
|
|
182
|
+
"b\077" "X\0" \
|
|
183
|
+
"\0"
|
|
149
184
|
|
|
150
185
|
/*
|
|
151
186
|
* Known FPU bits, only these get enabled. The save area is sized for all the
|
|
152
187
|
* fields below.
|
|
153
188
|
*/
|
|
189
|
+
#if defined __i386__ || defined XENPV /* XXX XENPV PR kern/59371 */
|
|
154
190
|
#define XCR0_FPU (XCR0_X87 | XCR0_SSE | XCR0_YMM_Hi128 | \
|
|
155
191
|
XCR0_Opmask | XCR0_ZMM_Hi256 | XCR0_Hi16_ZMM)
|
|
192
|
+
#else
|
|
193
|
+
#define XCR0_FPU (XCR0_X87 | XCR0_SSE | XCR0_YMM_Hi128 | \
|
|
194
|
+
XCR0_Opmask | XCR0_ZMM_Hi256 | XCR0_Hi16_ZMM | \
|
|
195
|
+
XCR0_TILECFG | XCR0_TILEDATA)
|
|
196
|
+
#endif
|
|
156
197
|
|
|
157
198
|
/*
|
|
158
199
|
* XSAVE component indices, internal to NetBSD.
|
|
@@ -883,6 +924,7 @@
|
|
|
883
924
|
#define CPUID_CAPEX_PREFER_IBRS __BIT(18) /* IBRS preferred */
|
|
884
925
|
#define CPUID_CAPEX_IBRS_SAMEMODE __BIT(19) /* IBRS same speculation limits */
|
|
885
926
|
#define CPUID_CAPEX_EFER_LSMSLE_UN __BIT(20) /* EFER.LMSLE is unsupported */
|
|
927
|
+
#define CPUID_CAPEX_INVLPGB_NEST __BIT(21) /* INVLPGB nested translation */
|
|
886
928
|
#define CPUID_CAPEX_AMD_PPIN __BIT(23) /* Protected Processor Inventory Number */
|
|
887
929
|
#define CPUID_CAPEX_SSBD __BIT(24) /* Speculation Control SSBD */
|
|
888
930
|
#define CPUID_CAPEX_VIRT_SSBD __BIT(25) /* Virt Spec Control SSBD */
|
|
@@ -899,7 +941,7 @@
|
|
|
899
941
|
"\15IBPB" "\16INT_WBINVD" "\17IBRS" "\20STIBP" \
|
|
900
942
|
"\21IBRS_ALWAYSON" "\22STIBP_ALWAYSON" "\23PREFER_IBRS" \
|
|
901
943
|
"\24IBRS_SAMEMODE" \
|
|
902
|
-
"\25EFER_LSMSLE_UN"
|
|
944
|
+
"\25EFER_LSMSLE_UN" "\26INVLPGB_NEST" "\30PPIN" \
|
|
903
945
|
"\31SSBD" "\32VIRT_SSBD" "\33SSB_NO" "\34CPPC" \
|
|
904
946
|
"\35PSFD" "\36BTC_NO" "\37IBPB_RET"
|
|
905
947
|
|
|
@@ -925,6 +967,7 @@
|
|
|
925
967
|
#define CPUID_AMD_SVM_VMCBCleanBits __BIT(5) /* VMCB Clean Bits support */
|
|
926
968
|
#define CPUID_AMD_SVM_FlushByASID __BIT(6) /* Flush by ASID */
|
|
927
969
|
#define CPUID_AMD_SVM_DecodeAssist __BIT(7) /* Decode Assists support */
|
|
970
|
+
#define CPUID_AMD_SVM_PmcVirt __BIT(8) /* PMC Virtualization */
|
|
928
971
|
#define CPUID_AMD_SVM_PauseFilter __BIT(10) /* PAUSE intercept filter */
|
|
929
972
|
#define CPUID_AMD_SVM_PFThreshold __BIT(12) /* PAUSE filter threshold */
|
|
930
973
|
#define CPUID_AMD_SVM_AVIC __BIT(13) /* Advanced Virt. Intr. Ctrl */
|
|
@@ -932,7 +975,7 @@
|
|
|
932
975
|
#define CPUID_AMD_SVM_vGIF __BIT(16) /* Virtualized GIF */
|
|
933
976
|
#define CPUID_AMD_SVM_GMET __BIT(17) /* Guest Mode Execution Trap */
|
|
934
977
|
#define CPUID_AMD_SVM_X2AVIC __BIT(18) /* Virt. Intr. Ctrl 4 x2APIC */
|
|
935
|
-
#define CPUID_AMD_SVM_SSSCHECK __BIT(19)
|
|
978
|
+
#define CPUID_AMD_SVM_SSSCHECK __BIT(19) /* Shadow Stack restrictions */
|
|
936
979
|
#define CPUID_AMD_SVM_SPEC_CTRL __BIT(20) /* SPEC_CTRL virtualization */
|
|
937
980
|
#define CPUID_AMD_SVM_ROGPT __BIT(21) /* Read-Only Guest PTable */
|
|
938
981
|
#define CPUID_AMD_SVM_HOST_MCE_OVERRIDE __BIT(23) /* #MC intercept */
|
|
@@ -942,19 +985,21 @@
|
|
|
942
985
|
#define CPUID_AMD_SVM_XLVTOFFFLTCHG __BIT(27) /* Ext LVToffset FLT changed */
|
|
943
986
|
#define CPUID_AMD_SVM_VMCBADRCHKCHG __BIT(28) /* VMCB addr check changed */
|
|
944
987
|
#define CPUID_AMD_SVM_BUSLOCKTHRESH __BIT(29) /* Bus Lock Threshold */
|
|
945
|
-
|
|
988
|
+
#define CPUID_AMD_SVM_IDLEHLTINTERCEPT __BIT(30) /* Idle HLT Intercept */
|
|
989
|
+
#define CPUID_AMD_SVM_ESHUTDOWN __BIT(31) /* Enhanced Shutdown Intr. */
|
|
946
990
|
|
|
947
991
|
#define CPUID_AMD_SVM_FLAGS "\20" \
|
|
948
992
|
"\1" "NP" "\2" "LbrVirt" "\3" "SVML" "\4" "NRIPS" \
|
|
949
993
|
"\5" "TSCRate" "\6" "VMCBCleanBits" \
|
|
950
994
|
"\7" "FlushByASID" "\10" "DecodeAssist" \
|
|
951
|
-
"\
|
|
995
|
+
"\11PmcVirt" "\12" "B09" "\13" "PauseFilter" "\14" "B11" \
|
|
952
996
|
"\15" "PFThreshold" "\16" "AVIC" "\17" "B14" \
|
|
953
997
|
"\20" "V_VMSAVE_VMLOAD" \
|
|
954
998
|
"\21" "VGIF" "\22" "GMET" "\23x2AVIC" "\24SSSCHECK" \
|
|
955
999
|
"\25" "SPEC_CTRL" "\26" "ROGPT" "\30HOST_MCE_OVERRIDE" \
|
|
956
1000
|
"\31" "TLBICTL" "\32VNMI" "\33IBSVIRT" "\34ExtLvtOffsetFaultChg" \
|
|
957
|
-
"\35VmcbAddrChkChg" "\36BusLockThreshold"
|
|
1001
|
+
"\35VmcbAddrChkChg" "\36BusLockThreshold" "\37IdleHltIntercept" \
|
|
1002
|
+
"\40EnhancedShutdownInterrupt"
|
|
958
1003
|
|
|
959
1004
|
/*
|
|
960
1005
|
* AMD Instruction-Based Sampling Capabilities.
|
|
@@ -972,13 +1017,17 @@
|
|
|
972
1017
|
#define CPUID_IBS_OPBRNFUSE __BIT(8) /* Fused branch micro-op indicate */
|
|
973
1018
|
#define CPUID_IBS_FETCHCTLEXTD __BIT(9) /* IC_IBS_EXTD_CTL MSR */
|
|
974
1019
|
#define CPUID_IBS_OPDATA4 __BIT(10) /* IBS op data 4 MSR */
|
|
975
|
-
#define
|
|
1020
|
+
#define CPUID_IBS_ZEN4E __BIT(11) /* Zen4 IBS Extensions */
|
|
1021
|
+
#define CPUID_IBS_LOADLATFILT __BIT(12) /* Load Latency Filtering */
|
|
1022
|
+
#define CPUID_IBS_UPDDTLBSTAT __BIT(19) /* Updated DTLB stats */
|
|
976
1023
|
|
|
977
1024
|
#define CPUID_IBS_FLAGS "\20" \
|
|
978
1025
|
"\1IBSFFV" "\2FetchSam" "\3OpSam" "\4RdWrOpCnt" \
|
|
979
1026
|
"\5OpCnt" "\6BrnTrgt" "\7OpCntExt" "\10RipInvalidChk" \
|
|
980
1027
|
"\11OpBrnFuse" "\12IbsFetchCtlExtd" "\13IbsOpData4" \
|
|
981
|
-
"\
|
|
1028
|
+
"\14Zen4IbsExtensions" \
|
|
1029
|
+
"\15IbsLoadLatencyFiltering" \
|
|
1030
|
+
"\24IbsUpdtdDtlbStats"
|
|
982
1031
|
|
|
983
1032
|
/*
|
|
984
1033
|
* AMD Cache Topology Information.
|
|
@@ -1024,7 +1073,7 @@
|
|
|
1024
1073
|
#define CPUID_AMD_ENCMEM_RMPQUERY __BIT(6) /* RMPQUERY instruction */
|
|
1025
1074
|
#define CPUID_AMD_ENCMEM_VMPLSSS __BIT(7) /* VMPL Secure Shadow Stack */
|
|
1026
1075
|
#define CPUID_AMD_ENCMEM_SECTSC __BIT(8) /* Secure TSC */
|
|
1027
|
-
#define CPUID_AMD_ENCMEM_TSCAUX_V __BIT(9)
|
|
1076
|
+
#define CPUID_AMD_ENCMEM_TSCAUX_V __BIT(9) /* TSC AUX Virtualization */
|
|
1028
1077
|
#define CPUID_AMD_ENCMEM_HECC __BIT(10) /* HW Enf Cache Coh across enc dom */
|
|
1029
1078
|
#define CPUID_AMD_ENCMEM_64BH __BIT(11) /* 64Bit Host */
|
|
1030
1079
|
#define CPUID_AMD_ENCMEM_RSTRINJ __BIT(12) /* Restricted Injection */
|
|
@@ -1032,14 +1081,21 @@
|
|
|
1032
1081
|
#define CPUID_AMD_ENCMEM_DBGSWAP __BIT(14) /* Debug Swap */
|
|
1033
1082
|
#define CPUID_AMD_ENCMEM_PREVHOSTIBS __BIT(15) /* Prevent Host IBS */
|
|
1034
1083
|
#define CPUID_AMD_ENCMEM_VTE __BIT(16) /* Virtual Transparent Encryption */
|
|
1035
|
-
|
|
1036
1084
|
#define CPUID_AMD_ENCMEM_VMGEXITP __BIT(17) /* VMGEXIT Parameter */
|
|
1037
1085
|
#define CPUID_AMD_ENCMEM_VIRTTOM __BIT(18) /* Virtual TOM MSR */
|
|
1038
1086
|
#define CPUID_AMD_ENCMEM_IBSVGUEST __BIT(19) /* IBS Virt. for SEV-ES guest */
|
|
1087
|
+
#define CPUID_AMD_ENCMEM_PMCVGUEST __BIT(20) /* PMC Virt. for SEV-ES guest */
|
|
1088
|
+
#define CPUID_AMD_ENCMEM_RMPREAD __BIT(21) /* RMPREAD instruction */
|
|
1089
|
+
#define CPUID_AMD_ENCMEM_GUESTINTERCEPT __BIT(22) /* Guest Intercept 4SEV-ES */
|
|
1090
|
+
#define CPUID_AMD_ENCMEM_SEGRMP __BIT(23) /* Segmented RMP */
|
|
1039
1091
|
#define CPUID_AMD_ENCMEM_VMSA_REGPROT __BIT(24) /* VmsaRegProt */
|
|
1040
1092
|
#define CPUID_AMD_ENCMEM_SMTPROTECT __BIT(25) /* SMT Protection */
|
|
1093
|
+
#define CPUID_AMD_ENCMEM_SECAVIC __BIT(26) /* Secure AVIC */
|
|
1094
|
+
#define CPUID_AMD_ENCMEM_ALLOWSEV __BIT(27) /* Allowed SEV */
|
|
1041
1095
|
#define CPUID_AMD_ENCMEM_SVSM_COMMPAGE __BIT(28) /* SVSM Communication Page */
|
|
1042
1096
|
#define CPUID_AMD_ENCMEM_NESTED_VSMP __BIT(29) /* VIRT_{RMPUPDATE,PSMASH} */
|
|
1097
|
+
#define CPUID_AMD_ENCMEM_HVINUSEWR __BIT(30) /* HV In Use Write Allow */
|
|
1098
|
+
#define CPUID_AMD_ENCMEM_IBPBONENTRY __BIT(31) /* IBPB on Entry */
|
|
1043
1099
|
|
|
1044
1100
|
#define CPUID_AMD_ENCMEM_FLAGS "\20" \
|
|
1045
1101
|
"\1" "SME" "\2" "SEV" "\3" "PageFlushMsr" "\4" "SEV-ES" \
|
|
@@ -1047,8 +1103,11 @@
|
|
|
1047
1103
|
"\11SecureTSC" "\12TscAuxVirt" "\13HwEnfCacheCoh" "\14" "64BitHost" \
|
|
1048
1104
|
"\15" "RSTRINJ" "\16" "ALTINJ" "\17" "DebugSwap" "\20PreventHostIbs" \
|
|
1049
1105
|
"\21VTE" "\22VmgexitParam" "\23VirtualTomMsr" "\24IbsVirtGuest" \
|
|
1050
|
-
"\
|
|
1051
|
-
|
|
1106
|
+
"\25PmcVirtGuest" "\26RMPREAD" \
|
|
1107
|
+
"\27GuestInterceptControl" "\30SegmentedRmp" \
|
|
1108
|
+
"\31VmsaRegProt" "\32SmtProtection" "\33SecureAvic" "\34AllowedSev" \
|
|
1109
|
+
"\35SvsmCommPageMSR" "\36NestedVirtSnpMsr" "\37HvInuseWrAllowed" \
|
|
1110
|
+
"\40IbpbOnEntry"
|
|
1052
1111
|
|
|
1053
1112
|
/*
|
|
1054
1113
|
* AMD Extended Features 2.
|
|
@@ -1066,17 +1125,37 @@
|
|
|
1066
1125
|
#define CPUID_AMDEXT2_NOSMMCTL __BIT(9) /* SMM_CTL MSR is not supported */
|
|
1067
1126
|
#define CPUID_AMDEXT2_FSRS __BIT(10) /* Fast Short Rep Stosb */
|
|
1068
1127
|
#define CPUID_AMDEXT2_FSRC __BIT(11) /* Fast Short Rep Cmpsb */
|
|
1128
|
+
#define CPUID_AMDEXT2_PMCPRECISERETIRE __BIT(12) /* PMC Presize Retire */
|
|
1069
1129
|
#define CPUID_AMDEXT2_PREFETCHCTL __BIT(13) /* Prefetch control MSR */
|
|
1130
|
+
#define CPUID_AMDEXT2_L2TLBSIZEX32 __BIT(14) /* L2TLB size encoded as x32 */
|
|
1131
|
+
#define CPUID_AMDEXT2_ERMSB __BIT(15) /* AMD implementation of ERMSB */
|
|
1132
|
+
#define CPUID_AMDEXT2_OPF17RECLAIM __BIT(16) /* Reserve opcode 0f 01/7 */
|
|
1070
1133
|
#define CPUID_AMDEXT2_CPUIDUSRDIS __BIT(17) /* CPUID dis. for non-priv. soft */
|
|
1071
1134
|
#define CPUID_AMDEXT2_EPSF __BIT(18) /* Enhanced Predictive Store Fwd */
|
|
1135
|
+
#define CPUID_AMDEXT2_0F017_RECLAIM __BIT(19) /* Opecode 0f 01/7 reserved */
|
|
1136
|
+
#define CPUID_AMDEXT2_PREFETCHI __BIT(20) /* IC prefetch support */
|
|
1137
|
+
#define CPUID_AMDEXT2_FP512_DOWNGRADE __BIT(21) /* FP512 dpath down to 256 */
|
|
1138
|
+
#define CPUID_AMDEXT2_WL_CLASS __BIT(22) /* wkld based heuristic feedback */
|
|
1139
|
+
#define CPUID_AMDEXT2_ERAPS __BIT(24) /* Enhn. Retn. Addr. Pred. Sec. */
|
|
1140
|
+
#define CPUID_AMDEXT2_SBPB __BIT(27) /* Selective Brnc. Pred. Barrier */
|
|
1141
|
+
#define CPUID_AMDEXT2_IBPB_BRTYPE __BIT(28) /* BRanch TYPE prediction flush */
|
|
1142
|
+
#define CPUID_AMDEXT2_SRSO_NO __BIT(29) /* Not vulnerable to SRSO */
|
|
1143
|
+
#define CPUID_AMDEXT2_SRSO_UK_NO __BIT(30) /* SRSO_NO at user-kern boundary */
|
|
1144
|
+
#define CPUID_AMDEXT2_SRSO_MSR_FIX __BIT(31) /* SRSO mitig. bit in BP_CFG[4] */
|
|
1072
1145
|
|
|
1073
1146
|
#define CPUID_AMDEXT2_FLAGS "\20" \
|
|
1074
1147
|
"\1NoNestedDataBp" "\2FsGsKernelGsBaseNonSerializing" \
|
|
1075
1148
|
"\3LfenceAlwaysSerialize" "\4SmmPgCfgLock" \
|
|
1076
1149
|
"\7NullSelectClearsBase" "\10UpperAddressIgnore" \
|
|
1077
1150
|
"\11AutomaticIBRS" "\12NoSmmCtlMSR" "\13FSRS" "\14FSRC" \
|
|
1078
|
-
|
|
1079
|
-
|
|
1151
|
+
"\15PMC2PreciseRetire" "\16PrefetchCtlMSR" "\17L2TlbsizeX32" \
|
|
1152
|
+
"\20AMD_ERMSB" \
|
|
1153
|
+
"\21OPCODE_0F017_RECLAIM" "\22CpuidUserDis" "\23EPSF" \
|
|
1154
|
+
"\24FAST_REP_SCASB" \
|
|
1155
|
+
"\25PREFETCHI" "\26FP512_DOWNGRADE" "\27WL_CLASS_SUPPORT" \
|
|
1156
|
+
"\31ERAPS" "\34SBPB" \
|
|
1157
|
+
"\35IBPB_BRTYPE" "\36SRSO_NO" "\37SRSO_USER_KERNEL_NO" \
|
|
1158
|
+
"\40SRSO_MSR_FIX"
|
|
1080
1159
|
|
|
1081
1160
|
/*
|
|
1082
1161
|
* AMD Extended Performance Monitoring and Debug
|
|
@@ -1095,7 +1174,16 @@
|
|
|
1095
1174
|
#define CPUID_AXPERF_NCPC __BITS(3, 0) /* Num of Core PMC counters */
|
|
1096
1175
|
#define CPUID_AXPERF_NLBRSTACK __BITS(9, 4) /* Num of LBR Stack entries */
|
|
1097
1176
|
#define CPUID_AXPERF_NNBPC __BITS(15, 10) /* Num of NorthBridge PMCs */
|
|
1098
|
-
#define CPUID_AXPERF_NUMCPC __BITS(
|
|
1177
|
+
#define CPUID_AXPERF_NUMCPC __BITS(23, 16) /* Num of UMC PMCs */
|
|
1178
|
+
|
|
1179
|
+
/*
|
|
1180
|
+
* AMD Hetero Workload Classification
|
|
1181
|
+
* CPUID Fn8000_0027
|
|
1182
|
+
*/
|
|
1183
|
+
|
|
1184
|
+
/* %eax */
|
|
1185
|
+
|
|
1186
|
+
#define CPUID_HWC_NWC __BITS(3, 0) /* Number of Workload Class IDs */
|
|
1099
1187
|
|
|
1100
1188
|
/*
|
|
1101
1189
|
* Centaur Extended Feature flags.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: asm.h,v 1.
|
|
1
|
+
/* $NetBSD: asm.h,v 1.37 2025/01/06 10:46:44 martin Exp $ */
|
|
2
2
|
|
|
3
3
|
/*-
|
|
4
4
|
* Copyright (c) 1997 The NetBSD Foundation, Inc.
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
|
|
123
123
|
/*
|
|
124
124
|
* The m68k ALTENTRY macro is very different than the traditional
|
|
125
|
-
* implementation used by other NetBSD ports. Usually ALTENTRY
|
|
125
|
+
* implementation used by other NetBSD ports. Usually ALTENTRY
|
|
126
126
|
* simply provides an alternate function entry point. The m68k
|
|
127
127
|
* definition takes a second argument and jumps inside the second
|
|
128
128
|
* function when profiling is enabled.
|
|
@@ -139,9 +139,18 @@
|
|
|
139
139
|
#define ALTENTRY(name, rname) _ENTRY(_C_LABEL(name))
|
|
140
140
|
#endif
|
|
141
141
|
|
|
142
|
+
#ifdef _NETBSD_REVISIONID
|
|
142
143
|
#define RCSID(x) .pushsection ".ident","MS",@progbits,1; \
|
|
143
144
|
.asciz x; \
|
|
145
|
+
.ascii "$"; .ascii "NetBSD: "; .ascii __FILE__; \
|
|
146
|
+
.ascii " "; .ascii _NETBSD_REVISIONID; \
|
|
147
|
+
.asciz " $"; \
|
|
144
148
|
.popsection
|
|
149
|
+
#else
|
|
150
|
+
#define RCSID(x) .pushsection ".ident","MS",@progbits,1; \
|
|
151
|
+
.asciz x; \
|
|
152
|
+
.popsection
|
|
153
|
+
#endif
|
|
145
154
|
|
|
146
155
|
/*
|
|
147
156
|
* Global variables of whatever sort.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: bus_dma.h,v 1.
|
|
1
|
+
/* $NetBSD: bus_dma.h,v 1.14 2023/09/26 12:46:30 tsutsui Exp $ */
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* This file was extracted from alpha/include/bus.h
|
|
@@ -193,7 +193,7 @@ struct m68k_bus_dma_tag {
|
|
|
193
193
|
#define bus_dmamem_mmap(t, sg, n, o, p, f) \
|
|
194
194
|
(*(t)->_dmamem_mmap)((t), (sg), (n), (o), (p), (f))
|
|
195
195
|
|
|
196
|
-
#define bus_dmatag_subregion(t, mna, mxa, nt, f) EOPNOTSUPP
|
|
196
|
+
#define bus_dmatag_subregion(t, mna, mxa, nt, f) EOPNOTSUPP
|
|
197
197
|
#define bus_dmatag_destroy(t)
|
|
198
198
|
|
|
199
199
|
/*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: byte_swap.h,v 1.11
|
|
1
|
+
/* $NetBSD: byte_swap.h,v 1.11.68.1 2025/12/18 19:57:52 martin Exp $ */
|
|
2
2
|
|
|
3
3
|
/*-
|
|
4
4
|
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
#define M68K_BYTE_SWAP_H_
|
|
34
34
|
|
|
35
35
|
#ifdef __GNUC__
|
|
36
|
-
#include <sys/
|
|
36
|
+
#include <sys/stdint.h>
|
|
37
37
|
__BEGIN_DECLS
|
|
38
38
|
|
|
39
39
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: cacheops_30.h,v 1.
|
|
1
|
+
/* $NetBSD: cacheops_30.h,v 1.10 2023/09/26 12:46:30 tsutsui Exp $ */
|
|
2
2
|
|
|
3
3
|
/*-
|
|
4
4
|
* Copyright (c) 1997 The NetBSD Foundation, Inc.
|
|
@@ -40,7 +40,7 @@ TBIA_30(void)
|
|
|
40
40
|
__asm volatile (" pflusha;"
|
|
41
41
|
" movc %0,%%cacr" : : "d" (tmp));
|
|
42
42
|
}
|
|
43
|
-
|
|
43
|
+
|
|
44
44
|
/*
|
|
45
45
|
* Invalidate any TLB entry for given VA (TB Invalidate Single)
|
|
46
46
|
*/
|