@zigc/lib 0.17.0-dev.607 → 0.17.0-dev.644
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 +15 -7
- package/compiler/Maker/Step/Compile.zig +7 -9
- package/compiler/Maker/Step/Fmt.zig +1 -1
- package/compiler/Maker/Step/Run.zig +59 -41
- package/compiler/Maker/Step/TranslateC.zig +6 -5
- 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 +69 -29
- 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 +34 -4
- package/std/Io/Kqueue.zig +1 -1
- package/std/Io/Threaded.zig +1 -1
- package/std/Io/Uring.zig +3 -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: profile.h,v 1.18
|
|
1
|
+
/* $NetBSD: profile.h,v 1.18.42.1 2026/04/02 19:12:03 martin Exp $ */
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* Copyright (c) 2001 Ben Harris
|
|
@@ -38,90 +38,25 @@
|
|
|
38
38
|
* prologue.
|
|
39
39
|
*/
|
|
40
40
|
|
|
41
|
-
#define MCOUNT_ASM_NAME "__mcount"
|
|
42
41
|
#define PLTSYM
|
|
43
42
|
|
|
44
|
-
#if
|
|
45
|
-
#define
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
*/ \
|
|
55
|
-
__asm("push {r0-r3, ip, lr}"); \
|
|
56
|
-
/* Check what mode we're in. EQ => 32, NE => 26 */ \
|
|
57
|
-
__asm("teq r0, r0"); \
|
|
58
|
-
__asm("teq pc, r15"); \
|
|
59
|
-
/* \
|
|
60
|
-
* find the return address for mcount, \
|
|
61
|
-
* and the return address for mcount's caller. \
|
|
62
|
-
* \
|
|
63
|
-
* frompcindex = pc pushed by call into self. \
|
|
64
|
-
*/ \
|
|
65
|
-
__asm("moveq r0, ip"); \
|
|
66
|
-
__asm("bicne r0, ip, #0xfc000003"); \
|
|
67
|
-
/* \
|
|
68
|
-
* selfpc = pc pushed by mcount call \
|
|
69
|
-
*/ \
|
|
70
|
-
__asm("moveq r1, lr"); \
|
|
71
|
-
__asm("bicne r1, lr, #0xfc000003"); \
|
|
72
|
-
/* \
|
|
73
|
-
* Call the real mcount code \
|
|
74
|
-
*/ \
|
|
75
|
-
__asm("bl " ___STRING(_C_LABEL(_mcount)) PLTSYM); \
|
|
76
|
-
/* \
|
|
77
|
-
* Restore registers that were trashed during mcount \
|
|
78
|
-
*/ \
|
|
79
|
-
__asm("pop {r0-r3, lr}"); \
|
|
80
|
-
__asm("pop {pc}"); \
|
|
81
|
-
__asm(".size " MCOUNT_ASM_NAME ", .-" MCOUNT_ASM_NAME);
|
|
82
|
-
#elif defined(__ARM_DWARF_EH__)
|
|
83
|
-
#define MCOUNT \
|
|
84
|
-
__asm(".text"); \
|
|
85
|
-
__asm(".align 0"); \
|
|
86
|
-
__asm(".arm"); \
|
|
87
|
-
__asm(".type " MCOUNT_ASM_NAME ",%function"); \
|
|
88
|
-
__asm(".global " MCOUNT_ASM_NAME); \
|
|
89
|
-
__asm(MCOUNT_ASM_NAME ":"); \
|
|
90
|
-
__asm(".cfi_startproc"); \
|
|
91
|
-
/* \
|
|
92
|
-
* Preserve registers that are trashed during mcount \
|
|
93
|
-
*/ \
|
|
94
|
-
__asm("push {r0-r3, ip, lr}"); \
|
|
95
|
-
__asm(".cfi_def_cfa_offset 24"); \
|
|
96
|
-
__asm(".cfi_offset 14, -4"); \
|
|
97
|
-
__asm(".cfi_offset 12, -8"); \
|
|
98
|
-
__asm(".cfi_offset 3, -12"); \
|
|
99
|
-
__asm(".cfi_offset 2, -16"); \
|
|
100
|
-
__asm(".cfi_offset 1, -20"); \
|
|
101
|
-
__asm(".cfi_offset 0, -24"); \
|
|
102
|
-
/* \
|
|
103
|
-
* find the return address for mcount, \
|
|
104
|
-
* and the return address for mcount's caller. \
|
|
105
|
-
* \
|
|
106
|
-
* frompcindex = pc pushed by call into self. \
|
|
107
|
-
*/ \
|
|
108
|
-
__asm("mov r0, ip"); \
|
|
109
|
-
/* \
|
|
110
|
-
* selfpc = pc pushed by mcount call \
|
|
111
|
-
*/ \
|
|
112
|
-
__asm("mov r1, lr"); \
|
|
113
|
-
/* \
|
|
114
|
-
* Call the real mcount code \
|
|
115
|
-
*/ \
|
|
116
|
-
__asm("bl " ___STRING(_C_LABEL(_mcount)) PLTSYM); \
|
|
117
|
-
/* \
|
|
118
|
-
* Restore registers that were trashed during mcount \
|
|
119
|
-
*/ \
|
|
120
|
-
__asm("pop {r0-r3, lr}"); \
|
|
121
|
-
__asm("pop {pc}"); \
|
|
122
|
-
__asm(".cfi_endproc"); \
|
|
123
|
-
__asm(".size " MCOUNT_ASM_NAME ", .-" MCOUNT_ASM_NAME);
|
|
43
|
+
#if defined (_ARM_ARCH_4T)
|
|
44
|
+
# define RET "bx ip"
|
|
45
|
+
#else
|
|
46
|
+
# define RET "mov pc, ip"
|
|
47
|
+
#endif
|
|
48
|
+
|
|
49
|
+
#if defined(__ARM_DWARF_EH__)
|
|
50
|
+
#define _PROF_UNWINDER_SAVE ""
|
|
51
|
+
#define _PROF_UNWINDER_START ""
|
|
52
|
+
#define _PROF_UNWINDER_END ""
|
|
124
53
|
#else
|
|
54
|
+
#define _PROF_UNWINDER_SAVE ".save {r0-r3, lr}\n"
|
|
55
|
+
#define _PROF_UNWINDER_START ".fnstart\n"
|
|
56
|
+
#define _PROF_UNWINDER_END ".fnend\n"
|
|
57
|
+
#endif
|
|
58
|
+
|
|
59
|
+
#define MCOUNT_ASM_NAME "__gnu_mcount_nc"
|
|
125
60
|
#define MCOUNT \
|
|
126
61
|
__asm(".text"); \
|
|
127
62
|
__asm(".align 0"); \
|
|
@@ -129,27 +64,26 @@
|
|
|
129
64
|
__asm(".type " MCOUNT_ASM_NAME ",%function"); \
|
|
130
65
|
__asm(".global " MCOUNT_ASM_NAME); \
|
|
131
66
|
__asm(MCOUNT_ASM_NAME ":"); \
|
|
132
|
-
__asm(
|
|
67
|
+
__asm(_PROF_UNWINDER_START); \
|
|
133
68
|
__asm(".cfi_startproc"); \
|
|
134
69
|
/* \
|
|
135
70
|
* Preserve registers that are trashed during mcount \
|
|
136
71
|
*/ \
|
|
137
|
-
__asm("push {r0-r3,
|
|
138
|
-
__asm(
|
|
139
|
-
__asm(".cfi_def_cfa_offset
|
|
72
|
+
__asm("push {r0-r3, lr}"); \
|
|
73
|
+
__asm(_PROF_UNWINDER_SAVE); \
|
|
74
|
+
__asm(".cfi_def_cfa_offset 20"); \
|
|
140
75
|
__asm(".cfi_offset 14, -4"); \
|
|
141
|
-
__asm(".cfi_offset
|
|
142
|
-
__asm(".cfi_offset
|
|
143
|
-
__asm(".cfi_offset
|
|
144
|
-
__asm(".cfi_offset
|
|
145
|
-
__asm(".cfi_offset 0, -24"); \
|
|
76
|
+
__asm(".cfi_offset 3, -8"); \
|
|
77
|
+
__asm(".cfi_offset 2, -12"); \
|
|
78
|
+
__asm(".cfi_offset 1, -16"); \
|
|
79
|
+
__asm(".cfi_offset 0, -20"); \
|
|
146
80
|
/* \
|
|
147
81
|
* find the return address for mcount, \
|
|
148
82
|
* and the return address for mcount's caller. \
|
|
149
83
|
* \
|
|
150
84
|
* frompcindex = pc pushed by call into self. \
|
|
151
85
|
*/ \
|
|
152
|
-
__asm("
|
|
86
|
+
__asm("ldr r0, [sp, #20]"); \
|
|
153
87
|
/* \
|
|
154
88
|
* selfpc = pc pushed by mcount call \
|
|
155
89
|
*/ \
|
|
@@ -161,12 +95,10 @@
|
|
|
161
95
|
/* \
|
|
162
96
|
* Restore registers that were trashed during mcount \
|
|
163
97
|
*/ \
|
|
164
|
-
__asm("pop {r0-r3, lr}");
|
|
165
|
-
__asm(
|
|
98
|
+
__asm("pop {r0-r3, ip, lr}"); \
|
|
99
|
+
__asm(RET); \
|
|
166
100
|
__asm(".cfi_endproc"); \
|
|
167
|
-
__asm(".fnend"); \
|
|
168
101
|
__asm(".size " MCOUNT_ASM_NAME ", .-" MCOUNT_ASM_NAME);
|
|
169
|
-
#endif
|
|
170
102
|
|
|
171
103
|
#ifdef _KERNEL
|
|
172
104
|
#include <arm/cpufunc.h>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: setjmp.h,v 1.
|
|
1
|
+
/* $NetBSD: setjmp.h,v 1.6 2024/05/06 07:29:30 skrll Exp $ */
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* machine/setjmp.h: machine dependent setjmp-related information.
|
|
@@ -10,11 +10,12 @@
|
|
|
10
10
|
* NOTE: The internal structure of a jmp_buf is *PRIVATE*
|
|
11
11
|
* This information is provided as there is software
|
|
12
12
|
* that fiddles with this with obtain the stack pointer
|
|
13
|
-
* (yes really ! and
|
|
13
|
+
* (yes really ! and it's commercial !).
|
|
14
14
|
*
|
|
15
15
|
* Description of the setjmp buffer
|
|
16
16
|
*
|
|
17
|
-
*
|
|
17
|
+
* Word Field Comment
|
|
18
|
+
* 0 magic number (dependent on creator)
|
|
18
19
|
* 13 fpscr vfp status control register
|
|
19
20
|
* 14 r4 register 4
|
|
20
21
|
* 15 r5 register 5
|
|
@@ -47,13 +48,13 @@
|
|
|
47
48
|
* A side note I should mention - Please do not tamper
|
|
48
49
|
* with the floating point fields. While they are
|
|
49
50
|
* always saved and restored at the moment this cannot
|
|
50
|
-
* be
|
|
51
|
+
* be guaranteed especially if the compiler happens
|
|
51
52
|
* to be generating soft-float code so no fp
|
|
52
53
|
* registers will be used.
|
|
53
54
|
*
|
|
54
|
-
* Whilst this can be seen
|
|
55
|
+
* Whilst this can be seen as encouraging people to
|
|
55
56
|
* use the setjmp buffer in this way I think that it
|
|
56
|
-
* is for the best then if changes occur compiles will
|
|
57
|
+
* is for the best then, if changes occur, compiles will
|
|
57
58
|
* break rather than just having new builds falling over
|
|
58
59
|
* mysteriously.
|
|
59
60
|
*/
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/* $NetBSD: sysarch.h,v 1.15 2021/10/06 05:33:15 skrll Exp $ */
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
* Copyright (c) 1996-1997 Mark Brinicombe.
|
|
5
|
+
* All rights reserved.
|
|
6
|
+
*
|
|
7
|
+
* Redistribution and use in source and binary forms, with or without
|
|
8
|
+
* modification, are permitted provided that the following conditions
|
|
9
|
+
* are met:
|
|
10
|
+
* 1. Redistributions of source code must retain the above copyright
|
|
11
|
+
* notice, this list of conditions and the following disclaimer.
|
|
12
|
+
* 2. Redistributions in binary form must reproduce the above copyright
|
|
13
|
+
* notice, this list of conditions and the following disclaimer in the
|
|
14
|
+
* documentation and/or other materials provided with the distribution.
|
|
15
|
+
* 3. All advertising materials mentioning features or use of this software
|
|
16
|
+
* must display the following acknowledgement:
|
|
17
|
+
* This product includes software developed by Mark Brinicombe.
|
|
18
|
+
* 4. The name of the company nor the name of the author may be used to
|
|
19
|
+
* endorse or promote products derived from this software without specific
|
|
20
|
+
* prior written permission.
|
|
21
|
+
*
|
|
22
|
+
* THIS SOFTWARE IS PROVIDED BY AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
|
23
|
+
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
24
|
+
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
25
|
+
* IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
|
26
|
+
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
27
|
+
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
28
|
+
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
29
|
+
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
30
|
+
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
31
|
+
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
32
|
+
* SUCH DAMAGE.
|
|
33
|
+
*/
|
|
34
|
+
|
|
35
|
+
#ifndef _ARM_SYSARCH_H_
|
|
36
|
+
#define _ARM_SYSARCH_H_
|
|
37
|
+
|
|
38
|
+
#include <sys/cdefs.h>
|
|
39
|
+
|
|
40
|
+
/*
|
|
41
|
+
* Pickup definition of size_t and uintptr_t
|
|
42
|
+
*/
|
|
43
|
+
#include <machine/ansi.h>
|
|
44
|
+
#include <sys/stdint.h>
|
|
45
|
+
#ifndef _KERNEL
|
|
46
|
+
#include <stdbool.h>
|
|
47
|
+
#endif
|
|
48
|
+
|
|
49
|
+
#ifdef _BSD_SIZE_T_
|
|
50
|
+
typedef _BSD_SIZE_T_ size_t;
|
|
51
|
+
#undef _BSD_SIZE_T_
|
|
52
|
+
#endif
|
|
53
|
+
|
|
54
|
+
/*
|
|
55
|
+
* Architecture specific syscalls (arm)
|
|
56
|
+
*/
|
|
57
|
+
|
|
58
|
+
#define ARM_SYNC_ICACHE 0
|
|
59
|
+
#define ARM_DRAIN_WRITEBUF 1
|
|
60
|
+
#define ARM_VFP_FPSCR 2
|
|
61
|
+
#define ARM_FPU_USED 3
|
|
62
|
+
|
|
63
|
+
struct arm_sync_icache_args {
|
|
64
|
+
uintptr_t addr; /* Virtual start address */
|
|
65
|
+
size_t len; /* Region size */
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
struct arm_vfp_fpscr_args {
|
|
69
|
+
uint32_t fpscr_clear; /* bits to clear */
|
|
70
|
+
uint32_t fpscr_set; /* bits to set */
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
struct arm_unaligned_faults_args {
|
|
74
|
+
bool enabled; /* unaligned faults are enabled */
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
#ifndef _KERNEL
|
|
78
|
+
__BEGIN_DECLS
|
|
79
|
+
int arm_sync_icache(uintptr_t, size_t);
|
|
80
|
+
int arm_drain_writebuf(void);
|
|
81
|
+
int sysarch(int, void *);
|
|
82
|
+
__END_DECLS
|
|
83
|
+
#endif
|
|
84
|
+
|
|
85
|
+
#endif /* !_ARM_SYSARCH_H_ */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: altq.h,v 1.
|
|
1
|
+
/* $NetBSD: altq.h,v 1.5 2024/12/24 08:35:28 ozaki-r Exp $ */
|
|
2
2
|
/* $KAME: altq.h,v 1.10 2003/07/10 12:07:47 kjc Exp $ */
|
|
3
3
|
|
|
4
4
|
/*
|
|
@@ -74,7 +74,7 @@ struct altqreq {
|
|
|
74
74
|
|
|
75
75
|
/* simple token backet meter profile */
|
|
76
76
|
struct tb_profile {
|
|
77
|
-
|
|
77
|
+
uint64_t rate; /* rate in bit-per-sec */
|
|
78
78
|
u_int depth; /* depth in bytes */
|
|
79
79
|
};
|
|
80
80
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: altq_afmap.h,v 1.
|
|
1
|
+
/* $NetBSD: altq_afmap.h,v 1.4 2025/01/14 13:49:17 joe Exp $ */
|
|
2
2
|
/* $KAME: altq_afmap.h,v 1.6 2002/04/03 05:38:50 kjc Exp $ */
|
|
3
3
|
|
|
4
4
|
/*
|
|
@@ -98,6 +98,7 @@ int afm_remove(struct afm *);
|
|
|
98
98
|
int afm_removeall(struct ifnet *);
|
|
99
99
|
struct afm *afm_lookup(struct ifnet *, int, int);
|
|
100
100
|
struct afm *afm_match(struct ifnet *, struct flowinfo *);
|
|
101
|
+
struct afm_head *afmhead_if(struct ifnet *);
|
|
101
102
|
|
|
102
103
|
#endif /* _KERNEL */
|
|
103
104
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: altq_classq.h,v 1.
|
|
1
|
+
/* $NetBSD: altq_classq.h,v 1.12 2025/01/22 22:41:38 joe Exp $ */
|
|
2
2
|
/* $KAME: altq_classq.h,v 1.6 2003/01/07 07:33:38 kjc Exp $ */
|
|
3
3
|
|
|
4
4
|
/*
|
|
@@ -53,6 +53,8 @@ extern "C" {
|
|
|
53
53
|
|
|
54
54
|
#ifdef _KERNEL
|
|
55
55
|
|
|
56
|
+
#include <sys/cprng.h>
|
|
57
|
+
|
|
56
58
|
/*
|
|
57
59
|
* Packet Queue structures and macros to manipulate them.
|
|
58
60
|
*/
|
|
@@ -109,14 +111,14 @@ _getq(class_queue_t *q)
|
|
|
109
111
|
struct mbuf *m, *m0;
|
|
110
112
|
|
|
111
113
|
if ((m = qtail(q)) == NULL)
|
|
112
|
-
return
|
|
114
|
+
return NULL;
|
|
113
115
|
if ((m0 = m->m_nextpkt) != m)
|
|
114
116
|
m->m_nextpkt = m0->m_nextpkt;
|
|
115
117
|
else
|
|
116
118
|
qtail(q) = NULL;
|
|
117
119
|
qlen(q)--;
|
|
118
120
|
m0->m_nextpkt = NULL;
|
|
119
|
-
return
|
|
121
|
+
return m0;
|
|
120
122
|
}
|
|
121
123
|
|
|
122
124
|
/* drop a packet at the tail of the queue */
|
|
@@ -138,7 +140,7 @@ _getq_tail(class_queue_t *q)
|
|
|
138
140
|
qtail(q) = prev;
|
|
139
141
|
qlen(q)--;
|
|
140
142
|
m->m_nextpkt = NULL;
|
|
141
|
-
return
|
|
143
|
+
return m;
|
|
142
144
|
}
|
|
143
145
|
|
|
144
146
|
/* randomly select a packet in the queue */
|
|
@@ -155,7 +157,7 @@ _getq_random(class_queue_t *q)
|
|
|
155
157
|
else {
|
|
156
158
|
struct mbuf *prev = NULL;
|
|
157
159
|
|
|
158
|
-
n =
|
|
160
|
+
n = cprng_fast32() % qlen(q) + 1;
|
|
159
161
|
for (i = 0; i < n; i++) {
|
|
160
162
|
prev = m;
|
|
161
163
|
m = m->m_nextpkt;
|
|
@@ -166,7 +168,7 @@ _getq_random(class_queue_t *q)
|
|
|
166
168
|
}
|
|
167
169
|
qlen(q)--;
|
|
168
170
|
m->m_nextpkt = NULL;
|
|
169
|
-
return
|
|
171
|
+
return m;
|
|
170
172
|
}
|
|
171
173
|
|
|
172
174
|
static __inline void
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
/* $NetBSD: altq_jobs.h,v 1.
|
|
1
|
+
/* $NetBSD: altq_jobs.h,v 1.6 2025/02/10 19:12:49 joe Exp $ */
|
|
2
2
|
/* $KAME: altq_jobs.h,v 1.6 2003/07/10 12:07:48 kjc Exp $ */
|
|
3
3
|
/*
|
|
4
|
-
* Copyright (c) 2001, Rector and Visitors of the University of
|
|
4
|
+
* Copyright (c) 2001, Rector and Visitors of the University of
|
|
5
5
|
* Virginia.
|
|
6
6
|
* All rights reserved.
|
|
7
7
|
*
|
|
8
|
-
* Redistribution and use in source and binary forms,
|
|
9
|
-
* with or without modification, are permitted provided
|
|
8
|
+
* Redistribution and use in source and binary forms,
|
|
9
|
+
* with or without modification, are permitted provided
|
|
10
10
|
* that the following conditions are met:
|
|
11
11
|
*
|
|
12
|
-
* Redistributions of source code must retain the above
|
|
13
|
-
* copyright notice, this list of conditions and the following
|
|
14
|
-
* disclaimer.
|
|
12
|
+
* Redistributions of source code must retain the above
|
|
13
|
+
* copyright notice, this list of conditions and the following
|
|
14
|
+
* disclaimer.
|
|
15
15
|
*
|
|
16
|
-
* Redistributions in binary form must reproduce the above
|
|
17
|
-
* copyright notice, this list of conditions and the following
|
|
18
|
-
* disclaimer in the documentation and/or other materials provided
|
|
19
|
-
* with the distribution.
|
|
16
|
+
* Redistributions in binary form must reproduce the above
|
|
17
|
+
* copyright notice, this list of conditions and the following
|
|
18
|
+
* disclaimer in the documentation and/or other materials provided
|
|
19
|
+
* with the distribution.
|
|
20
20
|
*
|
|
21
|
-
* Neither the name of the University of Virginia nor the names
|
|
22
|
-
* of its contributors may be used to endorse or promote products
|
|
23
|
-
* derived from this software without specific prior written
|
|
24
|
-
* permission.
|
|
21
|
+
* Neither the name of the University of Virginia nor the names
|
|
22
|
+
* of its contributors may be used to endorse or promote products
|
|
23
|
+
* derived from this software without specific prior written
|
|
24
|
+
* permission.
|
|
25
25
|
*
|
|
26
|
-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
|
27
|
-
* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
|
28
|
-
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
29
|
-
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
30
|
-
* DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
|
|
31
|
-
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
|
|
32
|
-
* OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
33
|
-
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
34
|
-
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
35
|
-
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
36
|
-
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
|
|
37
|
-
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
|
26
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
|
27
|
+
* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
|
28
|
+
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
29
|
+
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
30
|
+
* DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
|
|
31
|
+
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
|
|
32
|
+
* OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
33
|
+
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
34
|
+
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
35
|
+
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
36
|
+
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
|
|
37
|
+
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
|
38
38
|
* THE POSSIBILITY OF SUCH DAMAGE.
|
|
39
39
|
*/
|
|
40
|
-
/*
|
|
41
|
-
* JoBS - altq prototype implementation
|
|
42
|
-
*
|
|
40
|
+
/*
|
|
41
|
+
* JoBS - altq prototype implementation
|
|
42
|
+
*
|
|
43
43
|
* Author: Nicolas Christin <nicolas@cs.virginia.edu>
|
|
44
44
|
*
|
|
45
|
-
* JoBS algorithms originally devised and proposed by
|
|
45
|
+
* JoBS algorithms originally devised and proposed by
|
|
46
46
|
* Nicolas Christin and Jorg Liebeherr.
|
|
47
|
-
* Grateful Acknowledgments to Tarek Abdelzaher for his help and
|
|
47
|
+
* Grateful Acknowledgments to Tarek Abdelzaher for his help and
|
|
48
48
|
* comments, and to Kenjiro Cho for some helpful advice.
|
|
49
49
|
* Contributed by the Multimedia Networks Group at the University
|
|
50
|
-
* of Virginia.
|
|
50
|
+
* of Virginia.
|
|
51
51
|
*
|
|
52
|
-
* Papers and additional info can be found at
|
|
52
|
+
* Papers and additional info can be found at
|
|
53
53
|
* http://qosbox.cs.virginia.edu
|
|
54
|
-
*
|
|
55
|
-
*/
|
|
54
|
+
*
|
|
55
|
+
*/
|
|
56
56
|
|
|
57
57
|
#ifndef _ALTQ_ALTQ_JOBS_H_
|
|
58
58
|
#define _ALTQ_ALTQ_JOBS_H_
|
|
@@ -73,7 +73,7 @@ extern "C" {
|
|
|
73
73
|
|
|
74
74
|
/* list of packet arrival times */
|
|
75
75
|
struct _tsentry;
|
|
76
|
-
typedef TAILQ_HEAD(_timestamps, _tsentry) TSLIST;
|
|
76
|
+
typedef TAILQ_HEAD(_timestamps, _tsentry) TSLIST;
|
|
77
77
|
typedef struct _tsentry {
|
|
78
78
|
TAILQ_ENTRY(_tsentry) ts_list;
|
|
79
79
|
uint64_t timestamp;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: altq_rmclass.h,v 1.
|
|
1
|
+
/* $NetBSD: altq_rmclass.h,v 1.14 2025/02/03 07:40:24 ozaki-r Exp $ */
|
|
2
2
|
/* $KAME: altq_rmclass.h,v 1.10 2003/08/20 23:30:23 itojun Exp $ */
|
|
3
3
|
|
|
4
4
|
/*
|
|
@@ -82,14 +82,14 @@ struct red;
|
|
|
82
82
|
} while (0)
|
|
83
83
|
|
|
84
84
|
#define TS_ADD_DELTA(a, delta, res) do { \
|
|
85
|
-
|
|
86
|
-
\
|
|
87
|
-
(res)->
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
85
|
+
KASSERT(delta >= 0); \
|
|
86
|
+
(res)->tv_sec = (a)->tv_sec + (delta) / 1000000000L; \
|
|
87
|
+
(res)->tv_nsec = (a)->tv_nsec + (long)((delta) % 1000000000L); \
|
|
88
|
+
if ((res)->tv_nsec >= 1000000000L) { \
|
|
89
|
+
(res)->tv_nsec -= 1000000000L; \
|
|
90
|
+
(res)->tv_sec++; \
|
|
91
91
|
} \
|
|
92
|
-
(res)->tv_nsec
|
|
92
|
+
KASSERT((res)->tv_nsec >= 0); \
|
|
93
93
|
} while (0)
|
|
94
94
|
|
|
95
95
|
#define RM_TIMEOUT 2 /* 1 Clock tick. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: altq_var.h,v 1.
|
|
1
|
+
/* $NetBSD: altq_var.h,v 1.13 2024/12/07 07:45:43 andvar Exp $ */
|
|
2
2
|
/* $KAME: altq_var.h,v 1.18 2005/04/13 03:44:25 suz Exp $ */
|
|
3
3
|
|
|
4
4
|
/*
|
|
@@ -191,7 +191,7 @@ struct callout {
|
|
|
191
191
|
/* dummy callout structure */
|
|
192
192
|
struct callout {
|
|
193
193
|
void *c_arg; /* function argument */
|
|
194
|
-
void (*c_func)(void *); /*
|
|
194
|
+
void (*c_func)(void *); /* function to call */
|
|
195
195
|
};
|
|
196
196
|
#define CALLOUT_INIT(c) do { (void)memset((c), 0, sizeof(*(c))); } while (/*CONSTCOND*/ 0)
|
|
197
197
|
#define CALLOUT_RESET(c,t,f,a) do { (c)->c_arg = (a); \
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: pmap.h,v 1.
|
|
1
|
+
/* $NetBSD: pmap.h,v 1.177 2023/10/12 11:33:37 skrll Exp $ */
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* Copyright (c) 2002, 2003 Wasabi Systems, Inc.
|
|
@@ -79,7 +79,10 @@
|
|
|
79
79
|
#endif
|
|
80
80
|
#include <arm/cpufunc.h>
|
|
81
81
|
#include <arm/locore.h>
|
|
82
|
+
|
|
82
83
|
#include <uvm/uvm_object.h>
|
|
84
|
+
|
|
85
|
+
#include <uvm/pmap/pmap_devmap.h>
|
|
83
86
|
#include <uvm/pmap/pmap_pvt.h>
|
|
84
87
|
#endif
|
|
85
88
|
|
|
@@ -91,12 +94,7 @@
|
|
|
91
94
|
#endif
|
|
92
95
|
#define PMAP_TLB_FLUSH_ASID_ON_RESET arm_has_tlbiasid_p
|
|
93
96
|
#define PMAP_TLB_NUM_PIDS 256
|
|
94
|
-
|
|
95
|
-
#if PMAP_TLB_MAX > 1
|
|
96
|
-
#define cpu_tlb_info(ci) ((ci)->ci_tlb_info)
|
|
97
|
-
#else
|
|
98
|
-
#define cpu_tlb_info(ci) (&pmap_tlb0_info)
|
|
99
|
-
#endif
|
|
97
|
+
|
|
100
98
|
#define pmap_md_tlb_asid_max() (PMAP_TLB_NUM_PIDS - 1)
|
|
101
99
|
#include <uvm/pmap/tlb.h>
|
|
102
100
|
#include <uvm/pmap/pmap_tlb.h>
|
|
@@ -201,29 +199,10 @@ union pmap_cache_state {
|
|
|
201
199
|
#define PMAP_CACHE_STATE_ALL 0xffffffffu
|
|
202
200
|
#endif /* !ARM_MMU_EXTENDED */
|
|
203
201
|
|
|
204
|
-
/*
|
|
205
|
-
* This structure is used by machine-dependent code to describe
|
|
206
|
-
* static mappings of devices, created at bootstrap time.
|
|
207
|
-
*/
|
|
208
|
-
struct pmap_devmap {
|
|
209
|
-
vaddr_t pd_va; /* virtual address */
|
|
210
|
-
paddr_t pd_pa; /* physical address */
|
|
211
|
-
psize_t pd_size; /* size of region */
|
|
212
|
-
vm_prot_t pd_prot; /* protection code */
|
|
213
|
-
int pd_cache; /* cache attributes */
|
|
214
|
-
};
|
|
215
202
|
|
|
216
203
|
#define DEVMAP_ALIGN(a) ((a) & ~L1_S_OFFSET)
|
|
217
204
|
#define DEVMAP_SIZE(s) roundup2((s), L1_S_SIZE)
|
|
218
|
-
#define
|
|
219
|
-
{ \
|
|
220
|
-
.pd_va = DEVMAP_ALIGN(va), \
|
|
221
|
-
.pd_pa = DEVMAP_ALIGN(pa), \
|
|
222
|
-
.pd_size = DEVMAP_SIZE(sz), \
|
|
223
|
-
.pd_prot = VM_PROT_READ|VM_PROT_WRITE, \
|
|
224
|
-
.pd_cache = PTE_DEV \
|
|
225
|
-
}
|
|
226
|
-
#define DEVMAP_ENTRY_END { 0 }
|
|
205
|
+
#define DEVMAP_FLAGS PMAP_DEV
|
|
227
206
|
|
|
228
207
|
/*
|
|
229
208
|
* The pmap structure itself
|
|
@@ -419,17 +398,14 @@ void pmap_postinit(void);
|
|
|
419
398
|
|
|
420
399
|
void vector_page_setprot(int);
|
|
421
400
|
|
|
422
|
-
const struct pmap_devmap *pmap_devmap_find_pa(paddr_t, psize_t);
|
|
423
|
-
const struct pmap_devmap *pmap_devmap_find_va(vaddr_t, vsize_t);
|
|
424
|
-
|
|
425
401
|
/* Bootstrapping routines. */
|
|
426
402
|
void pmap_map_section(vaddr_t, vaddr_t, paddr_t, int, int);
|
|
427
403
|
void pmap_map_entry(vaddr_t, vaddr_t, paddr_t, int, int);
|
|
428
404
|
vsize_t pmap_map_chunk(vaddr_t, vaddr_t, paddr_t, vsize_t, int, int);
|
|
429
405
|
void pmap_unmap_chunk(vaddr_t, vaddr_t, vsize_t);
|
|
430
406
|
void pmap_link_l2pt(vaddr_t, vaddr_t, pv_addr_t *);
|
|
431
|
-
|
|
432
|
-
|
|
407
|
+
|
|
408
|
+
vsize_t pmap_kenter_range(vaddr_t, paddr_t, vsize_t, vm_prot_t, u_int);
|
|
433
409
|
|
|
434
410
|
/*
|
|
435
411
|
* Special page zero routine for use by the idle loop (no cache cleans).
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: vmparam.h,v 1.
|
|
1
|
+
/* $NetBSD: vmparam.h,v 1.58 2024/09/07 06:17:37 andvar Exp $ */
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* Copyright (c) 2001, 2002 Wasabi Systems, Inc.
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
#define USRSTACK VM_MAXUSER_ADDRESS
|
|
55
55
|
|
|
56
56
|
/*
|
|
57
|
-
* ARMv4 systems are
|
|
57
|
+
* ARMv4 systems are normally configured for 256MB KVA only, so restrict
|
|
58
58
|
* the size of the pager map to 4MB.
|
|
59
59
|
*/
|
|
60
60
|
#ifndef _ARM_ARCH_5
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
#define VM_KERNEL_KASAN_END (VM_KERNEL_KASAN_BASE + VM_KERNEL_KASAN_SIZE)
|
|
132
132
|
#define VM_KERNEL_VM_END VM_KERNEL_KASAN_BASE
|
|
133
133
|
#else
|
|
134
|
-
#define VM_KERNEL_VM_END
|
|
134
|
+
#define VM_KERNEL_VM_END VM_KERNEL_IO_BASE
|
|
135
135
|
#endif
|
|
136
136
|
|
|
137
137
|
#ifdef __HAVE_MM_MD_DIRECT_MAPPED_PHYS
|
|
@@ -146,8 +146,8 @@
|
|
|
146
146
|
#define VM_KERNEL_ADDR_SIZE (VM_KERNEL_VM_END - KERNEL_BASE)
|
|
147
147
|
#define VM_KERNEL_VM_SIZE (VM_KERNEL_VM_END - VM_KERNEL_VM_BASE)
|
|
148
148
|
|
|
149
|
-
#define
|
|
150
|
-
#define VM_KERNEL_IO_SIZE (VM_MAX_KERNEL_ADDRESS -
|
|
149
|
+
#define VM_KERNEL_IO_BASE 0xf0000000
|
|
150
|
+
#define VM_KERNEL_IO_SIZE (VM_MAX_KERNEL_ADDRESS - VM_KERNEL_IO_BASE)
|
|
151
151
|
#endif
|
|
152
152
|
|
|
153
153
|
#endif /* _ARM_ARM32_VMPARAM_H_ */
|