@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: cryptodev.h,v 1.
|
|
1
|
+
/* $NetBSD: cryptodev.h,v 1.51.8.1 2026/05/07 14:40:13 martin Exp $ */
|
|
2
2
|
/* $FreeBSD: src/sys/opencrypto/cryptodev.h,v 1.2.2.6 2003/07/02 17:04:50 sam Exp $ */
|
|
3
3
|
/* $OpenBSD: cryptodev.h,v 1.33 2002/07/17 23:52:39 art Exp $ */
|
|
4
4
|
|
|
@@ -159,48 +159,48 @@
|
|
|
159
159
|
#define CRYPTO_ALG_FLAG_DSA_SHA 0x04 /* Can do SHA on msg */
|
|
160
160
|
|
|
161
161
|
struct session_op {
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
162
|
+
uint32_t cipher; /* ie. CRYPTO_DES_CBC */
|
|
163
|
+
uint32_t mac; /* ie. CRYPTO_MD5_HMAC */
|
|
164
|
+
uint32_t comp_alg; /* ie. CRYPTO_GZIP_COMP */
|
|
165
165
|
|
|
166
|
-
|
|
166
|
+
uint32_t keylen; /* cipher key */
|
|
167
167
|
void * key;
|
|
168
|
-
|
|
168
|
+
uint32_t mackeylen; /* mac key */
|
|
169
169
|
void * mackey;
|
|
170
170
|
|
|
171
|
-
|
|
171
|
+
uint32_t ses; /* returns: session # */
|
|
172
172
|
};
|
|
173
173
|
|
|
174
174
|
/* to support multiple session creation */
|
|
175
175
|
|
|
176
176
|
struct session_n_op {
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
177
|
+
uint32_t cipher; /* ie. CRYPTO_DES_CBC */
|
|
178
|
+
uint32_t mac; /* ie. CRYPTO_MD5_HMAC */
|
|
179
|
+
uint32_t comp_alg; /* ie. CRYPTO_GZIP_COMP */
|
|
180
180
|
|
|
181
|
-
|
|
181
|
+
uint32_t keylen; /* cipher key */
|
|
182
182
|
void * key;
|
|
183
|
-
|
|
183
|
+
uint32_t mackeylen; /* mac key */
|
|
184
184
|
void * mackey;
|
|
185
185
|
|
|
186
|
-
|
|
186
|
+
uint32_t ses; /* returns: session # */
|
|
187
187
|
int status;
|
|
188
188
|
};
|
|
189
189
|
|
|
190
190
|
struct crypt_op {
|
|
191
|
-
|
|
192
|
-
|
|
191
|
+
uint32_t ses;
|
|
192
|
+
uint16_t op; /* i.e. COP_ENCRYPT */
|
|
193
193
|
#define COP_ENCRYPT 1
|
|
194
194
|
#define COP_DECRYPT 2
|
|
195
195
|
#define COP_COMP 3
|
|
196
196
|
#define COP_DECOMP 4
|
|
197
|
-
|
|
197
|
+
uint16_t flags;
|
|
198
198
|
#define COP_F_BATCH 0x0008 /* Dispatch as quickly as possible */
|
|
199
|
-
|
|
199
|
+
uint32_t len; /* src len */
|
|
200
200
|
void * src, *dst; /* become iov[] inside kernel */
|
|
201
201
|
void * mac; /* must be big enough for chosen MAC */
|
|
202
202
|
void * iv;
|
|
203
|
-
|
|
203
|
+
uint32_t dst_len; /* dst len if not 0 */
|
|
204
204
|
};
|
|
205
205
|
|
|
206
206
|
/* to support multiple session creation */
|
|
@@ -219,27 +219,27 @@ struct crypt_op {
|
|
|
219
219
|
*/
|
|
220
220
|
|
|
221
221
|
struct crypt_n_op {
|
|
222
|
-
|
|
223
|
-
|
|
222
|
+
uint32_t ses;
|
|
223
|
+
uint16_t op; /* i.e. COP_ENCRYPT */
|
|
224
224
|
#define COP_ENCRYPT 1
|
|
225
225
|
#define COP_DECRYPT 2
|
|
226
|
-
|
|
226
|
+
uint16_t flags;
|
|
227
227
|
#define COP_F_BATCH 0x0008 /* Dispatch as quickly as possible */
|
|
228
228
|
#define COP_F_MORE 0x0010 /* more data to follow */
|
|
229
|
-
|
|
229
|
+
uint32_t len; /* src len */
|
|
230
230
|
|
|
231
|
-
|
|
231
|
+
uint32_t reqid; /* request id */
|
|
232
232
|
int status; /* status of request -accepted or not */
|
|
233
233
|
void *opaque; /* opaque pointer returned to user */
|
|
234
|
-
|
|
234
|
+
uint32_t keylen; /* cipher key - optional */
|
|
235
235
|
void * key;
|
|
236
|
-
|
|
236
|
+
uint32_t mackeylen; /* also optional */
|
|
237
237
|
void * mackey;
|
|
238
238
|
|
|
239
239
|
void * src, *dst; /* become iov[] inside kernel */
|
|
240
240
|
void * mac; /* must be big enough for chosen MAC */
|
|
241
241
|
void * iv;
|
|
242
|
-
|
|
242
|
+
uint32_t dst_len; /* dst len if not 0 */
|
|
243
243
|
};
|
|
244
244
|
|
|
245
245
|
/* CIOCNCRYPTM ioctl argument, supporting one or more asynchronous
|
|
@@ -255,7 +255,7 @@ struct crypt_mop {
|
|
|
255
255
|
|
|
256
256
|
struct crypt_sfop {
|
|
257
257
|
size_t count;
|
|
258
|
-
|
|
258
|
+
uint32_t *sesid;
|
|
259
259
|
};
|
|
260
260
|
|
|
261
261
|
struct crypt_sgop {
|
|
@@ -268,17 +268,17 @@ struct crypt_sgop {
|
|
|
268
268
|
/* bignum parameter, in packed bytes, ... */
|
|
269
269
|
struct crparam {
|
|
270
270
|
void * crp_p;
|
|
271
|
-
|
|
271
|
+
uint32_t crp_nbits;
|
|
272
272
|
};
|
|
273
273
|
|
|
274
274
|
#define CRK_MAXPARAM 8
|
|
275
275
|
|
|
276
276
|
struct crypt_kop {
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
277
|
+
uint32_t crk_op; /* ie. CRK_MOD_EXP or other */
|
|
278
|
+
uint32_t crk_status; /* return status */
|
|
279
|
+
uint16_t crk_iparams; /* # of input parameters */
|
|
280
|
+
uint16_t crk_oparams; /* # of output parameters */
|
|
281
|
+
uint32_t crk_pad1;
|
|
282
282
|
struct crparam crk_param[CRK_MAXPARAM];
|
|
283
283
|
};
|
|
284
284
|
|
|
@@ -295,11 +295,11 @@ struct crypt_kop {
|
|
|
295
295
|
* user application.
|
|
296
296
|
*/
|
|
297
297
|
struct crypt_n_kop {
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
298
|
+
uint32_t crk_op; /* ie. CRK_MOD_EXP or other */
|
|
299
|
+
uint32_t crk_status; /* return status */
|
|
300
|
+
uint16_t crk_iparams; /* # of input parameters */
|
|
301
|
+
uint16_t crk_oparams; /* # of output parameters */
|
|
302
|
+
uint32_t crk_reqid; /* request id */
|
|
303
303
|
struct crparam crk_param[CRK_MAXPARAM];
|
|
304
304
|
void *crk_opaque; /* opaque pointer returned to user */
|
|
305
305
|
};
|
|
@@ -314,8 +314,8 @@ struct crypt_mkop {
|
|
|
314
314
|
* not in the original crypt_kop structure (crk_status).
|
|
315
315
|
*/
|
|
316
316
|
struct crypt_result {
|
|
317
|
-
|
|
318
|
-
|
|
317
|
+
uint32_t reqid; /* request id */
|
|
318
|
+
uint32_t status; /* status of request: 0 if successful */
|
|
319
319
|
void * opaque; /* Opaque pointer from the user, passed along */
|
|
320
320
|
};
|
|
321
321
|
|
|
@@ -364,10 +364,10 @@ struct cryptret {
|
|
|
364
364
|
* Please use F_SETFD against the cloned descriptor. But this ioctl
|
|
365
365
|
* is obsolete (the device now clones): please, just don't use it.
|
|
366
366
|
*/
|
|
367
|
-
#define CRIOGET _IOWR('c', 100,
|
|
367
|
+
#define CRIOGET _IOWR('c', 100, uint32_t)
|
|
368
368
|
|
|
369
369
|
/* the following are done against the cloned descriptor */
|
|
370
|
-
#define CIOCFSESSION _IOW('c', 102,
|
|
370
|
+
#define CIOCFSESSION _IOW('c', 102, uint32_t)
|
|
371
371
|
#define CIOCKEY _IOWR('c', 104, struct crypt_kop)
|
|
372
372
|
#define CIOCNFKEYM _IOWR('c', 108, struct crypt_mkop)
|
|
373
373
|
#define CIOCNFSESSION _IOW('c', 109, struct crypt_sfop)
|
|
@@ -379,24 +379,24 @@ struct cryptret {
|
|
|
379
379
|
#define CIOCCRYPT _IOWR('c', 114, struct crypt_op)
|
|
380
380
|
#define CIOCNCRYPTM _IOWR('c', 115, struct crypt_mop)
|
|
381
381
|
|
|
382
|
-
#define CIOCASYMFEAT _IOR('c', 105,
|
|
382
|
+
#define CIOCASYMFEAT _IOR('c', 105, uint32_t)
|
|
383
383
|
|
|
384
384
|
struct cryptotstat {
|
|
385
385
|
struct timespec acc; /* total accumulated time */
|
|
386
386
|
struct timespec min; /* max time */
|
|
387
387
|
struct timespec max; /* max time */
|
|
388
|
-
|
|
388
|
+
uint32_t count; /* number of observations */
|
|
389
389
|
};
|
|
390
390
|
|
|
391
391
|
struct cryptostats {
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
392
|
+
uint32_t cs_ops; /* symmetric crypto ops submitted */
|
|
393
|
+
uint32_t cs_errs; /* symmetric crypto ops that failed */
|
|
394
|
+
uint32_t cs_kops; /* asymmetric/key ops submitted */
|
|
395
|
+
uint32_t cs_kerrs; /* asymmetric/key ops that failed */
|
|
396
|
+
uint32_t cs_intrs; /* crypto swi thread activations */
|
|
397
|
+
uint32_t cs_rets; /* crypto return thread activations */
|
|
398
|
+
uint32_t cs_blocks; /* symmetric op driver block */
|
|
399
|
+
uint32_t cs_kblocks; /* symmetric op driver block */
|
|
400
400
|
/*
|
|
401
401
|
* When CRYPTO_TIMING is defined at compile time and the
|
|
402
402
|
* sysctl debug.crypto is set to 1, the crypto system will
|
|
@@ -423,18 +423,18 @@ struct uio;
|
|
|
423
423
|
/* Standard initialization structure beginning */
|
|
424
424
|
struct cryptoini {
|
|
425
425
|
int cri_alg; /* Algorithm to use */
|
|
426
|
-
|
|
427
|
-
|
|
426
|
+
uint32_t cri_klen; /* Key length, in bits */
|
|
427
|
+
uint32_t cri_rnd; /* Algorithm rounds, where relevant */
|
|
428
428
|
char *cri_key; /* key to use */
|
|
429
|
-
|
|
429
|
+
uint8_t cri_iv[EALG_MAX_BLOCK_LEN]; /* IV to use */
|
|
430
430
|
struct cryptoini *cri_next;
|
|
431
431
|
};
|
|
432
432
|
|
|
433
433
|
/* Describe boundaries of a single crypto operation */
|
|
434
434
|
struct cryptodesc {
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
435
|
+
uint32_t crd_skip; /* How many bytes to ignore from start */
|
|
436
|
+
uint32_t crd_len; /* How many bytes to process */
|
|
437
|
+
uint32_t crd_inject; /* Where to inject results, if applicable */
|
|
438
438
|
int crd_flags;
|
|
439
439
|
|
|
440
440
|
#define CRD_F_ENCRYPT 0x01 /* Set when doing encryption */
|
|
@@ -454,13 +454,20 @@ struct cryptodesc {
|
|
|
454
454
|
struct cryptodesc *crd_next;
|
|
455
455
|
};
|
|
456
456
|
|
|
457
|
+
struct cryptop_data {
|
|
458
|
+
struct csession *cse;
|
|
459
|
+
struct iovec iovec[1]; /* user requests never have more */
|
|
460
|
+
struct uio uio;
|
|
461
|
+
size_t iov_len;
|
|
462
|
+
};
|
|
463
|
+
|
|
457
464
|
/* Structure describing complete operation */
|
|
458
465
|
struct cryptop {
|
|
459
466
|
TAILQ_ENTRY(cryptop) crp_next;
|
|
460
|
-
|
|
467
|
+
uint64_t crp_sid; /* Session ID */
|
|
461
468
|
|
|
462
|
-
|
|
463
|
-
|
|
469
|
+
uint32_t crp_ilen; /* Input data total length */
|
|
470
|
+
uint32_t crp_olen; /* Result total length */
|
|
464
471
|
|
|
465
472
|
int crp_etype; /*
|
|
466
473
|
* Error type (zero means no error).
|
|
@@ -505,19 +512,18 @@ struct cryptop {
|
|
|
505
512
|
/*
|
|
506
513
|
* everything below is private to crypto(4)
|
|
507
514
|
*/
|
|
508
|
-
|
|
515
|
+
uint32_t crp_reqid; /* request id */
|
|
509
516
|
void * crp_usropaque; /* Opaque pointer from user, passed along */
|
|
510
517
|
struct timespec crp_tstamp; /* performance time stamp */
|
|
511
518
|
kcondvar_t crp_cv;
|
|
512
519
|
struct fcrypt *fcrp;
|
|
513
520
|
void * dst;
|
|
514
521
|
void * mac;
|
|
515
|
-
|
|
522
|
+
uint32_t len;
|
|
516
523
|
u_char tmp_iv[EALG_MAX_BLOCK_LEN];
|
|
517
524
|
u_char tmp_mac[CRYPTO_MAX_MAC_LEN];
|
|
518
525
|
|
|
519
|
-
struct
|
|
520
|
-
struct uio uio;
|
|
526
|
+
struct cryptop_data cod;
|
|
521
527
|
uint32_t magic;
|
|
522
528
|
struct cpu_info *reqcpu; /*
|
|
523
529
|
* save requested CPU to do cryptoret
|
|
@@ -540,14 +546,15 @@ struct cryptop {
|
|
|
540
546
|
struct cryptkop {
|
|
541
547
|
TAILQ_ENTRY(cryptkop) krp_next;
|
|
542
548
|
|
|
543
|
-
|
|
549
|
+
uint32_t krp_reqid; /* request id */
|
|
544
550
|
void * krp_usropaque; /* Opaque pointer from user, passed along */
|
|
545
551
|
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
552
|
+
uint32_t krp_op; /* ie. CRK_MOD_EXP or other */
|
|
553
|
+
uint32_t krp_status; /* return status */
|
|
554
|
+
uint16_t krp_iparams; /* # of input parameters */
|
|
555
|
+
uint16_t krp_oparams; /* # of output parameters */
|
|
556
|
+
uint32_t krp_hid;
|
|
557
|
+
kmutex_t krp_lock;
|
|
551
558
|
struct crparam krp_param[CRK_MAXPARAM]; /* kvm */
|
|
552
559
|
void (*krp_callback)(struct cryptkop *); /*
|
|
553
560
|
* Callback function.
|
|
@@ -564,29 +571,29 @@ struct cryptkop {
|
|
|
564
571
|
|
|
565
572
|
/* Crypto capabilities structure */
|
|
566
573
|
struct cryptocap {
|
|
567
|
-
|
|
574
|
+
uint32_t cc_sessions;
|
|
568
575
|
|
|
569
576
|
/*
|
|
570
577
|
* Largest possible operator length (in bits) for each type of
|
|
571
578
|
* encryption algorithm.
|
|
572
579
|
*/
|
|
573
|
-
|
|
580
|
+
uint16_t cc_max_op_len[CRYPTO_ALGORITHM_MAX + 1];
|
|
574
581
|
|
|
575
|
-
|
|
582
|
+
uint8_t cc_alg[CRYPTO_ALGORITHM_MAX + 1];
|
|
576
583
|
|
|
577
|
-
|
|
584
|
+
uint8_t cc_kalg[CRK_ALGORITHM_MAX + 1];
|
|
578
585
|
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
586
|
+
uint8_t cc_flags;
|
|
587
|
+
uint8_t cc_qblocked; /* symmetric q blocked */
|
|
588
|
+
uint8_t cc_kqblocked; /* asymmetric q blocked */
|
|
582
589
|
#define CRYPTOCAP_F_CLEANUP 0x01 /* needs resource cleanup */
|
|
583
590
|
#define CRYPTOCAP_F_SOFTWARE 0x02 /* software implementation */
|
|
584
591
|
#define CRYPTOCAP_F_SYNC 0x04 /* operates synchronously */
|
|
585
592
|
|
|
586
593
|
void *cc_arg; /* callback argument */
|
|
587
|
-
int (*cc_newsession)(void*,
|
|
594
|
+
int (*cc_newsession)(void*, uint32_t*, struct cryptoini*);
|
|
588
595
|
int (*cc_process) (void*, struct cryptop *, int);
|
|
589
|
-
void (*cc_freesession) (void *,
|
|
596
|
+
void (*cc_freesession) (void *, uint64_t);
|
|
590
597
|
void *cc_karg; /* callback argument */
|
|
591
598
|
int (*cc_kprocess) (void*, struct cryptkop *, int);
|
|
592
599
|
|
|
@@ -602,29 +609,29 @@ struct cryptocap {
|
|
|
602
609
|
*/
|
|
603
610
|
#define CRYPTO_SESID2HID(_sid) ((((_sid) >> 32) & 0xffffff) - 1)
|
|
604
611
|
#define CRYPTO_SESID2CAPS(_sid) (((_sid) >> 56) & 0xff)
|
|
605
|
-
#define CRYPTO_SESID2LID(_sid) (((
|
|
612
|
+
#define CRYPTO_SESID2LID(_sid) (((uint32_t) (_sid)) & 0xffffffff)
|
|
606
613
|
|
|
607
614
|
MALLOC_DECLARE(M_CRYPTO_DATA);
|
|
608
615
|
|
|
609
|
-
extern int crypto_newsession(
|
|
610
|
-
extern void crypto_freesession(
|
|
611
|
-
extern int32_t crypto_get_driverid(
|
|
612
|
-
extern int crypto_register(
|
|
613
|
-
|
|
614
|
-
int (*newses)(void*,
|
|
615
|
-
void (*freeses)(void *,
|
|
616
|
+
extern int crypto_newsession(uint64_t *sid, struct cryptoini *cri, int hard);
|
|
617
|
+
extern void crypto_freesession(uint64_t sid);
|
|
618
|
+
extern int32_t crypto_get_driverid(uint32_t flags);
|
|
619
|
+
extern int crypto_register(uint32_t driverid, int alg, uint16_t maxoplen,
|
|
620
|
+
uint32_t flags,
|
|
621
|
+
int (*newses)(void*, uint32_t*, struct cryptoini*),
|
|
622
|
+
void (*freeses)(void *, uint64_t),
|
|
616
623
|
int (*process)(void*, struct cryptop *, int),
|
|
617
624
|
void *arg);
|
|
618
|
-
extern int crypto_kregister(
|
|
625
|
+
extern int crypto_kregister(uint32_t, int, uint32_t,
|
|
619
626
|
int (*)(void*, struct cryptkop *, int),
|
|
620
627
|
void *arg);
|
|
621
|
-
extern int crypto_unregister(
|
|
622
|
-
extern int crypto_unregister_all(
|
|
628
|
+
extern int crypto_unregister(uint32_t driverid, int alg);
|
|
629
|
+
extern int crypto_unregister_all(uint32_t driverid);
|
|
623
630
|
extern void crypto_dispatch(struct cryptop *crp);
|
|
624
631
|
extern void crypto_kdispatch(struct cryptkop *);
|
|
625
632
|
#define CRYPTO_SYMQ 0x1
|
|
626
633
|
#define CRYPTO_ASYMQ 0x2
|
|
627
|
-
extern int crypto_unblock(
|
|
634
|
+
extern int crypto_unblock(uint32_t, int);
|
|
628
635
|
extern void crypto_done(struct cryptop *crp);
|
|
629
636
|
extern void crypto_kdone(struct cryptkop *);
|
|
630
637
|
extern int crypto_getfeat(int *);
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
/* $NetBSD: emcfaninfo.h,v 1.1 2025/03/11 13:56:46 brad Exp $ */
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
* Copyright (c) 2025 Brad Spencer <brad@anduin.eldar.org>
|
|
5
|
+
*
|
|
6
|
+
* Permission to use, copy, modify, and distribute this software for any
|
|
7
|
+
* purpose with or without fee is hereby granted, provided that the above
|
|
8
|
+
* copyright notice and this permission notice appear in all copies.
|
|
9
|
+
*
|
|
10
|
+
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
11
|
+
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
12
|
+
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
13
|
+
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
14
|
+
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
15
|
+
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
16
|
+
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
#ifndef _DEV_I2C_EMCFANINFO_H_
|
|
20
|
+
#define _DEV_I2C_EMCFANINFO_H_
|
|
21
|
+
|
|
22
|
+
#include <sys/gpio.h>
|
|
23
|
+
|
|
24
|
+
struct emcfan_chip_info {
|
|
25
|
+
const int family; /* The EMC chipset family, 210X or 230X */
|
|
26
|
+
const uint8_t product_id; /* The product ID as read from the chip */
|
|
27
|
+
const char *name; /* What we are calling this chip */
|
|
28
|
+
const int num_tachs; /* The number of tachometers */
|
|
29
|
+
const int num_fans; /* The number of fans. This may be different than the number of tachometers. */
|
|
30
|
+
const uint8_t fan_drive_registers[5]; /* The registers used to drive the fans, one for each */
|
|
31
|
+
const uint8_t fan_divider_registers[5]; /* The divider registers, one for each possible fan */
|
|
32
|
+
const bool internal_temp_zone; /* Does the chip have an internal temperature zone */
|
|
33
|
+
const int num_external_temp_zones; /* The number of external temperature zones except for ones that are VIN4 */
|
|
34
|
+
const bool vin4_temp_zone; /* Does the chip have a VIN4 temperature zone */
|
|
35
|
+
const int num_gpio_pins; /* The number of gpio pins that this chip has */
|
|
36
|
+
const int gpio_pin_ability[6]; /* The abilities for each gpio pin */
|
|
37
|
+
const char *gpio_names[6]; /* The default names of the gpio pins */
|
|
38
|
+
const uint64_t register_void[4]; /* 4 64 bit values that specify if a particular register is valid */
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
static struct emcfan_chip_info emcfan_chip_infos[] = {
|
|
42
|
+
{
|
|
43
|
+
.family = EMCFAN_FAMILY_210X,
|
|
44
|
+
.product_id = EMCFAN_PRODUCT_2101,
|
|
45
|
+
.name = "EMC2101",
|
|
46
|
+
.num_tachs = 1,
|
|
47
|
+
.num_fans = 1,
|
|
48
|
+
.fan_drive_registers = { EMCFAN_2101_FAN_DRIVE },
|
|
49
|
+
.fan_divider_registers = { EMCFAN_2101_FAN_DIVIDE },
|
|
50
|
+
.internal_temp_zone = true,
|
|
51
|
+
.num_external_temp_zones = 1,
|
|
52
|
+
.vin4_temp_zone = false,
|
|
53
|
+
.num_gpio_pins = 0,
|
|
54
|
+
.register_void[0] = 0b0000000000000000000000000000001000000011110111111111111110111111,
|
|
55
|
+
.register_void[1] = 0b0000000000000000000000000000000011111111111111111111111111000000,
|
|
56
|
+
.register_void[2] = 0b1000000000000000000000000000000000000000000000000000000000000000,
|
|
57
|
+
.register_void[3] = 0b1110000000000000000000000000000000000000000000000000000000000000,
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
.family = EMCFAN_FAMILY_210X,
|
|
61
|
+
.product_id = EMCFAN_PRODUCT_2101R,
|
|
62
|
+
.name = "EMC2101-R",
|
|
63
|
+
.num_tachs = 1,
|
|
64
|
+
.num_fans = 1,
|
|
65
|
+
.fan_drive_registers = { EMCFAN_2101_FAN_DRIVE },
|
|
66
|
+
.fan_divider_registers = { EMCFAN_2101_FAN_DIVIDE },
|
|
67
|
+
.internal_temp_zone = true,
|
|
68
|
+
.num_external_temp_zones = 1,
|
|
69
|
+
.vin4_temp_zone = false,
|
|
70
|
+
.num_gpio_pins = 0,
|
|
71
|
+
.register_void[0] = 0b0000000000000000000000000000001000000011110111111111111110111111,
|
|
72
|
+
.register_void[1] = 0b0000000000000000000000000000000011111111111111111111111111000000,
|
|
73
|
+
.register_void[2] = 0b1000000000000000000000000000000000000000000000000000000000000000,
|
|
74
|
+
.register_void[3] = 0b1110000000000000000000000000000000000000000000000000000000000000,
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
.family = EMCFAN_FAMILY_210X,
|
|
78
|
+
.product_id = EMCFAN_PRODUCT_2103_1,
|
|
79
|
+
.name = "EMC2103-1",
|
|
80
|
+
.num_tachs = 1,
|
|
81
|
+
.num_fans = 1,
|
|
82
|
+
.fan_drive_registers = { EMCFAN_210_346_FAN_1_DRIVE },
|
|
83
|
+
.fan_divider_registers = { EMCFAN_210_346_FAN_1_DIVIDE },
|
|
84
|
+
.internal_temp_zone = true,
|
|
85
|
+
.num_external_temp_zones = 1,
|
|
86
|
+
.vin4_temp_zone = false,
|
|
87
|
+
.num_gpio_pins = 0,
|
|
88
|
+
.register_void[0] = 0b0001000100010001000011111111101110100010100100110011010000001111,
|
|
89
|
+
.register_void[1] = 0b0000001111111111111111111111111111111111111111111111111111101111,
|
|
90
|
+
.register_void[2] = 0b0000000000000000000000000000000000000000000000000000000000000000,
|
|
91
|
+
.register_void[3] = 0b1111000000000000100000000000000000000000000000000000000000000000,
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
.family = EMCFAN_FAMILY_210X,
|
|
95
|
+
.product_id = EMCFAN_PRODUCT_2103_24,
|
|
96
|
+
.name = "EMC2103-2/4",
|
|
97
|
+
.num_tachs = 1,
|
|
98
|
+
.num_fans = 1,
|
|
99
|
+
.fan_drive_registers = { EMCFAN_210_346_FAN_1_DRIVE },
|
|
100
|
+
.fan_divider_registers = { EMCFAN_210_346_FAN_1_DIVIDE },
|
|
101
|
+
.internal_temp_zone = true,
|
|
102
|
+
.num_external_temp_zones = 3,
|
|
103
|
+
.vin4_temp_zone = false,
|
|
104
|
+
.num_gpio_pins = 2,
|
|
105
|
+
.gpio_pin_ability = {
|
|
106
|
+
GPIO_PIN_INPUT | GPIO_PIN_OUTPUT | GPIO_PIN_OPENDRAIN | GPIO_PIN_PUSHPULL,
|
|
107
|
+
GPIO_PIN_INPUT | GPIO_PIN_OUTPUT | GPIO_PIN_OPENDRAIN | GPIO_PIN_PUSHPULL
|
|
108
|
+
},
|
|
109
|
+
.gpio_names = { "GPIO1", "GPIO2" },
|
|
110
|
+
.register_void[0] = 0b0001011100010111000011111111101110101110101101110011010011111111,
|
|
111
|
+
.register_void[1] = 0b0000001111111111111111111111111111111111111111111111111111101111,
|
|
112
|
+
.register_void[2] = 0b0000000000000000000000000000000000000000000000000000000000000000,
|
|
113
|
+
.register_void[3] = 0b1111000000000000100000000111111000000000000000000000000000000000,
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
.family = EMCFAN_FAMILY_210X,
|
|
117
|
+
.product_id = EMCFAN_PRODUCT_2104,
|
|
118
|
+
.name = "EMC2104",
|
|
119
|
+
.num_tachs = 2,
|
|
120
|
+
.num_fans = 2,
|
|
121
|
+
.fan_drive_registers = { EMCFAN_210_346_FAN_1_DRIVE, EMCFAN_210_346_FAN_2_DRIVE },
|
|
122
|
+
.fan_divider_registers = { EMCFAN_210_346_FAN_1_DIVIDE, EMCFAN_210_346_FAN_1_DIVIDE },
|
|
123
|
+
.internal_temp_zone = true,
|
|
124
|
+
.num_external_temp_zones = 4,
|
|
125
|
+
.vin4_temp_zone = true,
|
|
126
|
+
.num_gpio_pins = 3,
|
|
127
|
+
.gpio_pin_ability = {
|
|
128
|
+
GPIO_PIN_INPUT | GPIO_PIN_OUTPUT | GPIO_PIN_OPENDRAIN | GPIO_PIN_PUSHPULL | GPIO_PIN_ALT0,
|
|
129
|
+
GPIO_PIN_INPUT | GPIO_PIN_OUTPUT | GPIO_PIN_OPENDRAIN | GPIO_PIN_PUSHPULL | GPIO_PIN_ALT0,
|
|
130
|
+
GPIO_PIN_INPUT | GPIO_PIN_OUTPUT | GPIO_PIN_OPENDRAIN | GPIO_PIN_PUSHPULL | GPIO_PIN_ALT0
|
|
131
|
+
},
|
|
132
|
+
.gpio_names = { "CLK_IN / GPIO1", "TACH2 / GPIO2", "PWM2 / GPIO3" },
|
|
133
|
+
.register_void[0] = 0b0011111100111111000011111111111110111111111100011111011111111111,
|
|
134
|
+
.register_void[1] = 0b0000001111111111111111111111111111111111111111111111111111101111,
|
|
135
|
+
.register_void[2] = 0b0000001111111111111111111111111111111111111111111111111111101111,
|
|
136
|
+
.register_void[3] = 0b1111000000000000100000000111111100000000000000000000000000000000,
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
.family = EMCFAN_FAMILY_210X,
|
|
140
|
+
.product_id = EMCFAN_PRODUCT_2106,
|
|
141
|
+
.name = "EMC2106",
|
|
142
|
+
.num_tachs = 2,
|
|
143
|
+
.num_fans = 4,
|
|
144
|
+
.fan_drive_registers = { EMCFAN_210_346_FAN_1_DRIVE, EMCFAN_210_346_FAN_2_DRIVE, EMCFAN_2106_FAN_3_DRIVE, EMCFAN_2106_FAN_4_DRIVE },
|
|
145
|
+
.fan_divider_registers = { EMCFAN_210_346_FAN_1_DIVIDE, EMCFAN_210_346_FAN_1_DIVIDE, EMCFAN_2106_FAN_3_DIVIDE, EMCFAN_2106_FAN_4_DIVIDE },
|
|
146
|
+
.internal_temp_zone = true,
|
|
147
|
+
.num_external_temp_zones = 4,
|
|
148
|
+
.vin4_temp_zone = true,
|
|
149
|
+
.num_gpio_pins = 6,
|
|
150
|
+
.gpio_pin_ability = {
|
|
151
|
+
GPIO_PIN_INPUT | GPIO_PIN_OUTPUT | GPIO_PIN_OPENDRAIN | GPIO_PIN_PUSHPULL | GPIO_PIN_ALT0,
|
|
152
|
+
GPIO_PIN_INPUT | GPIO_PIN_OUTPUT | GPIO_PIN_OPENDRAIN | GPIO_PIN_PUSHPULL | GPIO_PIN_ALT0,
|
|
153
|
+
GPIO_PIN_INPUT | GPIO_PIN_OUTPUT | GPIO_PIN_OPENDRAIN | GPIO_PIN_PUSHPULL | GPIO_PIN_ALT0,
|
|
154
|
+
GPIO_PIN_INPUT | GPIO_PIN_OUTPUT | GPIO_PIN_OPENDRAIN | GPIO_PIN_PUSHPULL | GPIO_PIN_ALT0 | GPIO_PIN_ALT1,
|
|
155
|
+
GPIO_PIN_INPUT | GPIO_PIN_OUTPUT | GPIO_PIN_OPENDRAIN | GPIO_PIN_PUSHPULL | GPIO_PIN_ALT0 | GPIO_PIN_ALT1,
|
|
156
|
+
GPIO_PIN_INPUT | GPIO_PIN_OUTPUT | GPIO_PIN_OPENDRAIN | GPIO_PIN_PUSHPULL
|
|
157
|
+
},
|
|
158
|
+
.gpio_names = { "CLK_IN / GPIO1", "TACH2 / GPIO2", "PWM2 / GPIO3", "OVERT2 / GPIO4 / PWM3", "OVERT3 / GPIO5 / PWM4", "GPIO6" },
|
|
159
|
+
.register_void[0] = 0b0011111100111111111111111111111110111111111100011111011111111111,
|
|
160
|
+
.register_void[1] = 0b0000001111111111111111111111111111111111111111111111111111101111,
|
|
161
|
+
.register_void[2] = 0b0000001111111111111111111111111111111111111111111111111111101111,
|
|
162
|
+
.register_void[3] = 0b1111000000000000100000000111111100000000000000000000000000000000,
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
.family = EMCFAN_FAMILY_230X,
|
|
166
|
+
.product_id = EMCFAN_PRODUCT_2301,
|
|
167
|
+
.name = "EMC2301",
|
|
168
|
+
.num_tachs = 1,
|
|
169
|
+
.num_fans = 1,
|
|
170
|
+
.fan_drive_registers = { EMCFAN_230X_FAN_1_DRIVE },
|
|
171
|
+
.fan_divider_registers = { EMCFAN_230X_FAN_1_DIVIDE },
|
|
172
|
+
.internal_temp_zone = false,
|
|
173
|
+
.num_external_temp_zones = 0,
|
|
174
|
+
.vin4_temp_zone = false,
|
|
175
|
+
.num_gpio_pins = 0,
|
|
176
|
+
.register_void[0] = 0b1111111111101111001111101111000100000000000000000000000000000000,
|
|
177
|
+
.register_void[1] = 0b0000000000000000000000000000000000000000000000000000000000000000,
|
|
178
|
+
.register_void[2] = 0b0000000000000000000000000000000000000000000000000000000000000000,
|
|
179
|
+
.register_void[3] = 0b1110000000000000100000000000000000000000000000000000000000000000,
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
.family = EMCFAN_FAMILY_230X,
|
|
183
|
+
.product_id = EMCFAN_PRODUCT_2302,
|
|
184
|
+
.name = "EMC2302",
|
|
185
|
+
.num_tachs = 2,
|
|
186
|
+
.num_fans = 2,
|
|
187
|
+
.fan_drive_registers = { EMCFAN_230X_FAN_1_DRIVE, EMCFAN_230X_FAN_2_DRIVE },
|
|
188
|
+
.fan_divider_registers = { EMCFAN_230X_FAN_1_DIVIDE, EMCFAN_230X_FAN_2_DIVIDE },
|
|
189
|
+
.internal_temp_zone = false,
|
|
190
|
+
.num_external_temp_zones = 0,
|
|
191
|
+
.vin4_temp_zone = false,
|
|
192
|
+
.num_gpio_pins = 0,
|
|
193
|
+
.register_void[0] = 0b1111111111101111001111101111000100000000000000000000000000000000,
|
|
194
|
+
.register_void[1] = 0b0000000000000000000000000000000000000000000000001111111111101111,
|
|
195
|
+
.register_void[2] = 0b0000000000000000000000000000000000000000000000000000000000000000,
|
|
196
|
+
.register_void[3] = 0b1110000000000000100000000000000000000000000000000000000000000000,
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
.family = EMCFAN_FAMILY_230X,
|
|
200
|
+
.product_id = EMCFAN_PRODUCT_2303,
|
|
201
|
+
.name = "EMC2303",
|
|
202
|
+
.num_tachs = 3,
|
|
203
|
+
.num_fans = 3,
|
|
204
|
+
.fan_drive_registers = { EMCFAN_230X_FAN_1_DRIVE, EMCFAN_230X_FAN_2_DRIVE, EMCFAN_230X_FAN_3_DRIVE },
|
|
205
|
+
.fan_divider_registers = { EMCFAN_230X_FAN_1_DIVIDE, EMCFAN_230X_FAN_2_DIVIDE, EMCFAN_230X_FAN_3_DIVIDE },
|
|
206
|
+
.internal_temp_zone = false,
|
|
207
|
+
.num_external_temp_zones = 0,
|
|
208
|
+
.vin4_temp_zone = false,
|
|
209
|
+
.num_gpio_pins = 0,
|
|
210
|
+
.register_void[0] = 0b1111111111101111001111101111000100000000000000000000000000000000,
|
|
211
|
+
.register_void[1] = 0b0000000000000000000000000000000011111111111011111111111111101111,
|
|
212
|
+
.register_void[2] = 0b0000000000000000000000000000000000000000000000000000000000000000,
|
|
213
|
+
.register_void[3] = 0b1111000000000000100000000000000000000000000000000000000000000000,
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
.family = EMCFAN_FAMILY_230X,
|
|
217
|
+
.product_id = EMCFAN_PRODUCT_2305,
|
|
218
|
+
.name = "EMC2305",
|
|
219
|
+
.num_tachs = 5,
|
|
220
|
+
.num_fans = 5,
|
|
221
|
+
.fan_drive_registers = { EMCFAN_230X_FAN_1_DRIVE, EMCFAN_230X_FAN_2_DRIVE, EMCFAN_230X_FAN_3_DRIVE, EMCFAN_230X_FAN_4_DRIVE, EMCFAN_230X_FAN_5_DRIVE },
|
|
222
|
+
.fan_divider_registers = { EMCFAN_230X_FAN_1_DIVIDE, EMCFAN_230X_FAN_2_DIVIDE, EMCFAN_230X_FAN_3_DIVIDE, EMCFAN_230X_FAN_4_DIVIDE, EMCFAN_230X_FAN_5_DIVIDE },
|
|
223
|
+
.internal_temp_zone = false,
|
|
224
|
+
.num_external_temp_zones = 0,
|
|
225
|
+
.vin4_temp_zone = false,
|
|
226
|
+
.num_gpio_pins = 0,
|
|
227
|
+
.register_void[0] = 0b1111111111101111001111101111000100000000000000000000000000000000,
|
|
228
|
+
.register_void[1] = 0b1111111111101111111111111110111111111111111011111111111111101111,
|
|
229
|
+
.register_void[2] = 0b0000000000000000000000000000000000000000000000000000000000000000,
|
|
230
|
+
.register_void[3] = 0b1111000000000000100000000000000000000000000000000000000000000000,
|
|
231
|
+
}
|
|
232
|
+
};
|
|
233
|
+
|
|
234
|
+
#endif
|