Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/thorpej-cfargs]: src/sys/uvm Sync with HEAD.
details: https://anonhg.NetBSD.org/src/rev/dc672be573c0
branches: thorpej-cfargs
changeset: 960494:dc672be573c0
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sat Apr 03 21:44:40 2021 +0000
description:
Sync with HEAD.
diffstat:
sys/arch/aarch64/aarch64/aarch64_machdep.c | 41 +-
sys/arch/aarch64/aarch64/efi_machdep.c | 18 +-
sys/arch/aarch64/aarch64/locore.S | 12 +-
sys/arch/aarch64/aarch64/pmapboot.c | 35 +-
sys/arch/aarch64/aarch64/vm_machdep.c | 8 +-
sys/arch/aarch64/include/asan.h | 10 +-
sys/arch/aarch64/include/cpu.h | 5 +-
sys/arch/aarch64/include/pmap.h | 6 +-
sys/arch/aarch64/include/types.h | 6 +-
sys/arch/aarch64/include/vmparam.h | 8 +-
sys/arch/alpha/alpha/pmap.c | 24 +-
sys/arch/alpha/include/lock.h | 31 +-
sys/arch/amd64/include/types.h | 6 +-
sys/arch/amiga/include/types.h | 3 +-
sys/arch/arm/arm32/arm32_kvminit.c | 10 +-
sys/arch/arm/arm32/pmap.c | 8 +-
sys/arch/arm/arm32/vm_machdep.c | 8 +-
sys/arch/arm/cortex/gic.c | 8 +-
sys/arch/arm/cortex/gicv3.c | 15 +-
sys/arch/arm/include/cpu.h | 5 +-
sys/arch/arm/omap/ti_iic.c | 6 +-
sys/arch/arm/pic/pic.c | 111 +-
sys/arch/arm/pic/pic_splfuncs.c | 71 +-
sys/arch/arm/pic/picvar.h | 24 +-
sys/arch/atari/include/intr.h | 8 +-
sys/arch/atari/include/types.h | 7 +-
sys/arch/bebox/include/types.h | 6 +-
sys/arch/cats/include/types.h | 6 +-
sys/arch/cesfic/cesfic/isr.c | 6 +-
sys/arch/cesfic/include/types.h | 4 +-
sys/arch/emips/include/types.h | 4 +-
sys/arch/evbarm/bcm53xx/bcm53xx_machdep.c | 6 +-
sys/arch/evbarm/beagle/beagle_machdep.c | 6 +-
sys/arch/evbarm/conf/Makefile.evbarm.inc | 8 +-
sys/arch/evbarm/conf/std.generic | 6 +-
sys/arch/evbarm/conf/std.rpi | 6 +-
sys/arch/evbarm/include/types.h | 4 +-
sys/arch/evbarm/rpi/vcio.h | 4 +-
sys/arch/evbarm/zynq/zynq_machdep.c | 6 +-
sys/arch/evbppc/conf/DHT | 237 ++++
sys/arch/evbppc/conf/Makefile.dht.inc | 8 +
sys/arch/evbppc/conf/Makefile.virtex.inc | 6 +-
sys/arch/evbppc/conf/Makefile.walnut.inc | 10 +-
sys/arch/evbppc/conf/files.dht | 21 +
sys/arch/evbppc/conf/files.obs405 | 4 +-
sys/arch/evbppc/conf/files.walnut | 4 +-
sys/arch/evbppc/conf/std.dht | 32 +
sys/arch/evbppc/dht/autoconf.c | 79 +
sys/arch/evbppc/dht/locore.S | 193 +++
sys/arch/evbppc/dht/machdep.c | 327 +++++
sys/arch/evbppc/evbppc/evbppc_machdep.c | 15 +-
sys/arch/evbppc/explora/machdep.c | 84 +-
sys/arch/evbppc/include/dht.h | 40 +
sys/arch/evbppc/include/obs200.h | 4 +-
sys/arch/evbppc/include/obs266.h | 4 +-
sys/arch/evbppc/include/obs405.h | 44 -
sys/arch/evbppc/include/obs600.h | 10 +-
sys/arch/evbppc/include/tlb.h | 11 -
sys/arch/evbppc/obs405/obs200_autoconf.c | 13 +-
sys/arch/evbppc/obs405/obs200_machdep.c | 115 +-
sys/arch/evbppc/obs405/obs266_autoconf.c | 12 +-
sys/arch/evbppc/obs405/obs266_machdep.c | 127 +-
sys/arch/evbppc/obs405/obs405_autoconf.c | 70 -
sys/arch/evbppc/obs405/obs405_machdep.c | 46 -
sys/arch/evbppc/obs405/obs600_autoconf.c | 12 +-
sys/arch/evbppc/obs405/obs600_machdep.c | 119 +-
sys/arch/evbppc/virtex/autoconf.c | 6 +-
sys/arch/evbppc/virtex/consinit.c | 5 +-
sys/arch/evbppc/virtex/design_gsrd2.c | 10 +-
sys/arch/evbppc/virtex/dev/if_temac.c | 8 +-
sys/arch/evbppc/virtex/dev/tft_ll.c | 8 +-
sys/arch/evbppc/virtex/machdep.c | 113 +-
sys/arch/evbppc/walnut/autoconf.c | 40 +-
sys/arch/evbppc/walnut/consinit.c | 43 +-
sys/arch/evbppc/walnut/machdep.c | 274 +----
sys/arch/evbppc/walnut/pci/pchb.c | 228 ---
sys/arch/evbppc/walnut/walnut_start.S | 205 ---
sys/arch/hpcsh/include/types.h | 4 +-
sys/arch/hppa/include/types.h | 6 +-
sys/arch/i386/include/types.h | 4 +-
sys/arch/ia64/include/types.h | 4 +-
sys/arch/landisk/include/types.h | 4 +-
sys/arch/luna68k/include/types.h | 4 +-
sys/arch/luna68k/luna68k/isr.c | 6 +-
sys/arch/luna68k/luna68k/locore.s | 4 +-
sys/arch/m68k/include/types.h | 6 +-
sys/arch/mac68k/include/types.h | 4 +-
sys/arch/mac68k/mac68k/intr.c | 6 +-
sys/arch/macppc/conf/POWERMAC_G5 | 23 +-
sys/arch/mips/cavium/dev/octeon_fpa.c | 10 +-
sys/arch/mips/conf/files.mips | 5 +-
sys/arch/mips/include/Makefile | 4 +-
sys/arch/mips/include/Makefile.inc | 6 +-
sys/arch/mips/include/cdefs.h | 4 +-
sys/arch/mips/include/cpu.h | 4 +-
sys/arch/mips/include/db_machdep.h | 18 +-
sys/arch/mips/include/frame.h | 6 +-
sys/arch/mips/include/types.h | 5 +-
sys/arch/mips/mips/kobj_machdep.c | 257 ++++
sys/arch/mips/mips/mips_machdep.c | 17 +-
sys/arch/mips/mips/mips_stacktrace.c | 8 +-
sys/arch/mips/mips/trap.c | 17 +-
sys/arch/mvme68k/include/types.h | 3 +-
sys/arch/mvme68k/mvme68k/isr.c | 6 +-
sys/arch/mvme68k/mvme68k/locore.s | 4 +-
sys/arch/mvmeppc/include/types.h | 3 +-
sys/arch/netwinder/include/types.h | 4 +-
sys/arch/news68k/include/types.h | 4 +-
sys/arch/newsmips/include/types.h | 4 +-
sys/arch/next68k/include/types.h | 4 +-
sys/arch/next68k/next68k/isr.c | 6 +-
sys/arch/or1k/include/types.h | 42 +-
sys/arch/powerpc/booke/booke_machdep.c | 14 +-
sys/arch/powerpc/ibm4xx/cpu.c | 14 +-
sys/arch/powerpc/ibm4xx/dev/emacreg.h | 3 +-
sys/arch/powerpc/ibm4xx/dev/if_emac.c | 5 +-
sys/arch/powerpc/ibm4xx/ibm4xx_autoconf.c | 20 +-
sys/arch/powerpc/ibm4xx/ibm4xx_machdep.c | 83 +-
sys/arch/powerpc/ibm4xx/openbios/locore.S | 9 +-
sys/arch/powerpc/ibm4xx/openbios/openbios.c | 9 +-
sys/arch/powerpc/ibm4xx/pmap.c | 6 +-
sys/arch/powerpc/include/ibm4xx/cpu.h | 25 +-
sys/arch/powerpc/include/ibm4xx/dcr4xx.h | 4 +-
sys/arch/powerpc/include/ibm4xx/openbios.h | 4 +-
sys/arch/powerpc/include/ibm4xx/tlb.h | 6 +-
sys/arch/powerpc/include/types.h | 12 +-
sys/arch/powerpc/oea/cpu_subr.c | 6 +-
sys/arch/powerpc/oea/ofwoea_machdep.c | 15 +-
sys/arch/powerpc/pic/intr.c | 17 +-
sys/arch/powerpc/pic/picvar.h | 7 +-
sys/arch/powerpc/powerpc/db_interface.c | 6 +-
sys/arch/prep/include/types.h | 4 +-
sys/arch/riscv/include/types.h | 56 +-
sys/arch/rs6000/include/types.h | 6 +-
sys/arch/sandpoint/conf/KUROBOX | 5 +-
sys/arch/sandpoint/include/types.h | 4 +-
sys/arch/sandpoint/sandpoint/com_eumb.c | 17 +-
sys/arch/sandpoint/stand/altboot/Makefile | 7 +-
sys/arch/sandpoint/stand/altboot/main.c | 8 +-
sys/arch/sandpoint/stand/altboot/rge.c | 8 +-
sys/arch/sgimips/include/types.h | 4 +-
sys/arch/sparc64/doc/TODO | 11 +-
sys/arch/sparc64/include/cpu.h | 9 +-
sys/arch/sparc64/sparc64/cpu.c | 19 +-
sys/arch/sparc64/sparc64/genassym.cf | 3 +-
sys/arch/sparc64/sparc64/locore.s | 87 +-
sys/arch/sun2/include/types.h | 10 +-
sys/arch/sun2/sun2/locore.s | 4 +-
sys/arch/sun3/include/types.h | 7 +-
sys/arch/sun3/sun3/clock.c | 6 +-
sys/arch/sun3/sun3/locore.s | 4 +-
sys/arch/sun3/sun3x/clock.c | 6 +-
sys/arch/sun3/sun3x/locore.s | 4 +-
sys/arch/usermode/include/types.h | 18 +-
sys/arch/vax/include/types.h | 6 +-
sys/arch/x68k/include/types.h | 3 +-
sys/arch/x86/x86/vm_machdep.c | 8 +-
sys/compat/common/kern_time_50.c | 6 +-
sys/dev/acpi/com_acpi.c | 8 +-
sys/dev/audio/audiobell.c | 36 +-
sys/dev/fdt/dwcmmc_fdt.c | 10 +-
sys/dev/ic/com.c | 24 +-
sys/dev/ic/comvar.h | 7 +-
sys/dev/isa/spkr_pcppi.c | 26 +-
sys/dev/nvmm/nvmm.c | 8 +-
sys/dev/nvmm/nvmm.h | 12 +-
sys/dev/nvmm/nvmm_internal.h | 12 +-
sys/dev/nvmm/x86/nvmm_x86.h | 3 +-
sys/dev/nvmm/x86/nvmm_x86_svm.c | 6 +-
sys/dev/nvmm/x86/nvmm_x86_vmx.c | 6 +-
sys/dev/pci/com_puc.c | 6 +-
sys/dev/pci/ixgbe/ix_txrx.c | 12 +-
sys/dev/pci/ixgbe/ixgbe.c | 92 +-
sys/dev/pci/ixgbe/ixv.c | 46 +-
sys/dev/pci/pcidevs | 4 +-
sys/dev/pci/pcidevs.h | 6 +-
sys/dev/pci/pcidevs_data.h | 118 +-
sys/dev/rcons/README | 4 +-
sys/dev/spkr.c | 161 +-
sys/dev/spkr_audio.c | 26 +-
sys/dev/spkrvar.h | 6 +-
sys/dev/usb/if_udav.c | 8 +-
sys/dev/vmt/vmt_subr.c | 254 ++--
sys/dev/vmt/vmtvar.h | 64 +-
sys/external/bsd/acpica/dist/changes.txt | 98 +-
sys/external/bsd/acpica/dist/common/acfileio.c | 7 +-
sys/external/bsd/acpica/dist/common/acgetline.c | 4 +-
sys/external/bsd/acpica/dist/common/adfile.c | 4 +-
sys/external/bsd/acpica/dist/common/adisasm.c | 4 +-
sys/external/bsd/acpica/dist/common/adwalk.c | 4 +-
sys/external/bsd/acpica/dist/common/ahids.c | 6 +-
sys/external/bsd/acpica/dist/common/ahpredef.c | 8 +-
sys/external/bsd/acpica/dist/common/ahtable.c | 9 +-
sys/external/bsd/acpica/dist/common/ahuuids.c | 5 +-
sys/external/bsd/acpica/dist/common/cmfsize.c | 6 +-
sys/external/bsd/acpica/dist/common/dmextern.c | 4 +-
sys/external/bsd/acpica/dist/common/dmrestag.c | 18 +-
sys/external/bsd/acpica/dist/common/dmswitch.c | 4 +-
sys/external/bsd/acpica/dist/common/dmtable.c | 109 +-
sys/external/bsd/acpica/dist/common/dmtables.c | 4 +-
sys/external/bsd/acpica/dist/common/dmtbdump.c | 4 +-
sys/external/bsd/acpica/dist/common/dmtbdump1.c | 80 +-
sys/external/bsd/acpica/dist/common/dmtbdump2.c | 575 ++++++---
sys/external/bsd/acpica/dist/common/dmtbdump3.c | 85 +-
sys/external/bsd/acpica/dist/common/dmtbinfo.c | 4 +-
sys/external/bsd/acpica/dist/common/dmtbinfo1.c | 38 +-
sys/external/bsd/acpica/dist/common/dmtbinfo2.c | 277 +++-
sys/external/bsd/acpica/dist/common/dmtbinfo3.c | 67 +-
sys/external/bsd/acpica/dist/common/getopt.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslallocate.c | 6 +-
sys/external/bsd/acpica/dist/compiler/aslanalyze.c | 6 +-
sys/external/bsd/acpica/dist/compiler/aslascii.c | 8 +-
sys/external/bsd/acpica/dist/compiler/aslbtypes.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslcache.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslcodegen.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslcompile.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslcompiler.h | 8 +-
sys/external/bsd/acpica/dist/compiler/aslcompiler.l | 9 +-
sys/external/bsd/acpica/dist/compiler/aslcstyle.y | 4 +-
sys/external/bsd/acpica/dist/compiler/asldebug.c | 4 +-
sys/external/bsd/acpica/dist/compiler/asldefine.h | 4 +-
sys/external/bsd/acpica/dist/compiler/aslerror.c | 12 +-
sys/external/bsd/acpica/dist/compiler/aslexternal.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslfileio.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslfiles.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslfold.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslglobal.h | 4 +-
sys/external/bsd/acpica/dist/compiler/aslhelp.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslhelpers.y | 9 +-
sys/external/bsd/acpica/dist/compiler/aslhex.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslkeywords.y | 4 +-
sys/external/bsd/acpica/dist/compiler/asllength.c | 4 +-
sys/external/bsd/acpica/dist/compiler/asllisting.c | 4 +-
sys/external/bsd/acpica/dist/compiler/asllistsup.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslload.c | 4 +-
sys/external/bsd/acpica/dist/compiler/asllookup.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslmain.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslmap.c | 5 +-
sys/external/bsd/acpica/dist/compiler/aslmapenter.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslmapoutput.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslmaputils.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslmessages.c | 7 +-
sys/external/bsd/acpica/dist/compiler/aslmessages.h | 5 +-
sys/external/bsd/acpica/dist/compiler/aslmethod.c | 5 +-
sys/external/bsd/acpica/dist/compiler/aslnamesp.c | 7 +-
sys/external/bsd/acpica/dist/compiler/asloffset.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslopcodes.c | 6 +-
sys/external/bsd/acpica/dist/compiler/asloperands.c | 6 +-
sys/external/bsd/acpica/dist/compiler/aslopt.c | 4 +-
sys/external/bsd/acpica/dist/compiler/asloptions.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslparseop.c | 8 +-
sys/external/bsd/acpica/dist/compiler/aslparser.y | 6 +-
sys/external/bsd/acpica/dist/compiler/aslpld.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslpredef.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslprepkg.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslprimaries.y | 4 +-
sys/external/bsd/acpica/dist/compiler/aslprintf.c | 6 +-
sys/external/bsd/acpica/dist/compiler/aslprune.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslresource.c | 9 +-
sys/external/bsd/acpica/dist/compiler/aslresources.y | 24 +-
sys/external/bsd/acpica/dist/compiler/aslrestype1.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslrestype1i.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslrestype2.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslrestype2d.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslrestype2e.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslrestype2q.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslrestype2s.c | 140 ++-
sys/external/bsd/acpica/dist/compiler/aslrestype2w.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslrules.y | 4 +-
sys/external/bsd/acpica/dist/compiler/aslstartup.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslstubs.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslsupport.l | 4 +-
sys/external/bsd/acpica/dist/compiler/aslsupport.y | 4 +-
sys/external/bsd/acpica/dist/compiler/asltokens.y | 5 +-
sys/external/bsd/acpica/dist/compiler/asltransform.c | 9 +-
sys/external/bsd/acpica/dist/compiler/asltree.c | 4 +-
sys/external/bsd/acpica/dist/compiler/asltypes.h | 4 +-
sys/external/bsd/acpica/dist/compiler/asltypes.y | 6 +-
sys/external/bsd/acpica/dist/compiler/aslutils.c | 4 +-
sys/external/bsd/acpica/dist/compiler/asluuid.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslwalks.c | 6 +-
sys/external/bsd/acpica/dist/compiler/aslxref.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslxrefout.c | 4 +-
sys/external/bsd/acpica/dist/compiler/cvcompiler.c | 4 +-
sys/external/bsd/acpica/dist/compiler/cvdisasm.c | 4 +-
sys/external/bsd/acpica/dist/compiler/cvparser.c | 4 +-
sys/external/bsd/acpica/dist/compiler/dtcompile.c | 4 +-
sys/external/bsd/acpica/dist/compiler/dtcompiler.h | 23 +-
sys/external/bsd/acpica/dist/compiler/dtcompilerparser.l | 4 +-
sys/external/bsd/acpica/dist/compiler/dtcompilerparser.y | 4 +-
sys/external/bsd/acpica/dist/compiler/dtexpress.c | 4 +-
sys/external/bsd/acpica/dist/compiler/dtfield.c | 6 +-
sys/external/bsd/acpica/dist/compiler/dtio.c | 4 +-
sys/external/bsd/acpica/dist/compiler/dtparser.l | 4 +-
sys/external/bsd/acpica/dist/compiler/dtparser.y | 4 +-
sys/external/bsd/acpica/dist/compiler/dtsubtable.c | 4 +-
sys/external/bsd/acpica/dist/compiler/dttable.c | 4 +-
sys/external/bsd/acpica/dist/compiler/dttable1.c | 147 ++-
sys/external/bsd/acpica/dist/compiler/dttable2.c | 482 ++++++-
sys/external/bsd/acpica/dist/compiler/dttemplate.c | 7 +-
sys/external/bsd/acpica/dist/compiler/dttemplate.h | 366 +++--
sys/external/bsd/acpica/dist/compiler/dtutils.c | 9 +-
sys/external/bsd/acpica/dist/compiler/preprocess.h | 4 +-
sys/external/bsd/acpica/dist/compiler/prexpress.c | 4 +-
sys/external/bsd/acpica/dist/compiler/prmacros.c | 4 +-
sys/external/bsd/acpica/dist/compiler/prparser.l | 4 +-
sys/external/bsd/acpica/dist/compiler/prparser.y | 4 +-
sys/external/bsd/acpica/dist/compiler/prscan.c | 4 +-
sys/external/bsd/acpica/dist/compiler/prutils.c | 4 +-
sys/external/bsd/acpica/dist/debugger/dbcmds.c | 4 +-
sys/external/bsd/acpica/dist/debugger/dbconvert.c | 4 +-
sys/external/bsd/acpica/dist/debugger/dbdisply.c | 4 +-
sys/external/bsd/acpica/dist/debugger/dbexec.c | 4 +-
sys/external/bsd/acpica/dist/debugger/dbfileio.c | 4 +-
sys/external/bsd/acpica/dist/debugger/dbhistry.c | 4 +-
sys/external/bsd/acpica/dist/debugger/dbinput.c | 8 +-
sys/external/bsd/acpica/dist/debugger/dbmethod.c | 4 +-
sys/external/bsd/acpica/dist/debugger/dbnames.c | 4 +-
sys/external/bsd/acpica/dist/debugger/dbobject.c | 6 +-
sys/external/bsd/acpica/dist/debugger/dbstats.c | 4 +-
sys/external/bsd/acpica/dist/debugger/dbtest.c | 4 +-
sys/external/bsd/acpica/dist/debugger/dbutils.c | 4 +-
sys/external/bsd/acpica/dist/debugger/dbxface.c | 4 +-
sys/external/bsd/acpica/dist/disassembler/dmbuffer.c | 4 +-
sys/external/bsd/acpica/dist/disassembler/dmcstyle.c | 4 +-
sys/external/bsd/acpica/dist/disassembler/dmdeferred.c | 4 +-
sys/external/bsd/acpica/dist/disassembler/dmnames.c | 4 +-
sys/external/bsd/acpica/dist/disassembler/dmopcode.c | 4 +-
sys/external/bsd/acpica/dist/disassembler/dmresrc.c | 4 +-
sys/external/bsd/acpica/dist/disassembler/dmresrcl.c | 4 +-
sys/external/bsd/acpica/dist/disassembler/dmresrcl2.c | 94 +-
sys/external/bsd/acpica/dist/disassembler/dmresrcs.c | 4 +-
sys/external/bsd/acpica/dist/disassembler/dmutils.c | 4 +-
sys/external/bsd/acpica/dist/disassembler/dmwalk.c | 12 +-
sys/external/bsd/acpica/dist/dispatcher/dsargs.c | 4 +-
sys/external/bsd/acpica/dist/dispatcher/dscontrol.c | 6 +-
sys/external/bsd/acpica/dist/dispatcher/dsdebug.c | 6 +-
sys/external/bsd/acpica/dist/dispatcher/dsfield.c | 4 +-
sys/external/bsd/acpica/dist/dispatcher/dsinit.c | 4 +-
sys/external/bsd/acpica/dist/dispatcher/dsmethod.c | 4 +-
sys/external/bsd/acpica/dist/dispatcher/dsmthdat.c | 4 +-
sys/external/bsd/acpica/dist/dispatcher/dsobject.c | 4 +-
sys/external/bsd/acpica/dist/dispatcher/dsopcode.c | 4 +-
sys/external/bsd/acpica/dist/dispatcher/dspkginit.c | 4 +-
sys/external/bsd/acpica/dist/dispatcher/dsutils.c | 4 +-
sys/external/bsd/acpica/dist/dispatcher/dswexec.c | 7 +-
sys/external/bsd/acpica/dist/dispatcher/dswload.c | 6 +-
sys/external/bsd/acpica/dist/dispatcher/dswload2.c | 6 +-
sys/external/bsd/acpica/dist/dispatcher/dswscope.c | 4 +-
sys/external/bsd/acpica/dist/dispatcher/dswstate.c | 4 +-
sys/external/bsd/acpica/dist/events/evevent.c | 4 +-
sys/external/bsd/acpica/dist/events/evglock.c | 4 +-
sys/external/bsd/acpica/dist/events/evgpe.c | 4 +-
sys/external/bsd/acpica/dist/events/evgpeblk.c | 4 +-
sys/external/bsd/acpica/dist/events/evgpeinit.c | 4 +-
sys/external/bsd/acpica/dist/events/evgpeutil.c | 4 +-
sys/external/bsd/acpica/dist/events/evhandler.c | 11 +-
sys/external/bsd/acpica/dist/events/evmisc.c | 4 +-
sys/external/bsd/acpica/dist/events/evregion.c | 97 +-
sys/external/bsd/acpica/dist/events/evrgnini.c | 4 +-
sys/external/bsd/acpica/dist/events/evsci.c | 4 +-
sys/external/bsd/acpica/dist/events/evxface.c | 4 +-
sys/external/bsd/acpica/dist/events/evxfevnt.c | 4 +-
sys/external/bsd/acpica/dist/events/evxfgpe.c | 4 +-
sys/external/bsd/acpica/dist/events/evxfregn.c | 5 +-
sys/external/bsd/acpica/dist/executer/exconcat.c | 4 +-
sys/external/bsd/acpica/dist/executer/exconfig.c | 4 +-
sys/external/bsd/acpica/dist/executer/exconvrt.c | 4 +-
sys/external/bsd/acpica/dist/executer/excreate.c | 4 +-
sys/external/bsd/acpica/dist/executer/exdebug.c | 4 +-
sys/external/bsd/acpica/dist/executer/exdump.c | 4 +-
sys/external/bsd/acpica/dist/executer/exfield.c | 4 +-
sys/external/bsd/acpica/dist/executer/exfldio.c | 6 +-
sys/external/bsd/acpica/dist/executer/exmisc.c | 4 +-
sys/external/bsd/acpica/dist/executer/exmutex.c | 4 +-
sys/external/bsd/acpica/dist/executer/exnames.c | 4 +-
sys/external/bsd/acpica/dist/executer/exoparg1.c | 4 +-
sys/external/bsd/acpica/dist/executer/exoparg2.c | 4 +-
sys/external/bsd/acpica/dist/executer/exoparg3.c | 4 +-
sys/external/bsd/acpica/dist/executer/exoparg6.c | 4 +-
sys/external/bsd/acpica/dist/executer/exprep.c | 4 +-
sys/external/bsd/acpica/dist/executer/exregion.c | 4 +-
sys/external/bsd/acpica/dist/executer/exresnte.c | 4 +-
sys/external/bsd/acpica/dist/executer/exresolv.c | 4 +-
sys/external/bsd/acpica/dist/executer/exresop.c | 8 +-
sys/external/bsd/acpica/dist/executer/exserial.c | 4 +-
sys/external/bsd/acpica/dist/executer/exstore.c | 8 +-
sys/external/bsd/acpica/dist/executer/exstoren.c | 4 +-
sys/external/bsd/acpica/dist/executer/exstorob.c | 4 +-
sys/external/bsd/acpica/dist/executer/exsystem.c | 4 +-
sys/external/bsd/acpica/dist/executer/extrace.c | 4 +-
sys/external/bsd/acpica/dist/executer/exutils.c | 4 +-
sys/external/bsd/acpica/dist/hardware/hwacpi.c | 4 +-
sys/external/bsd/acpica/dist/hardware/hwesleep.c | 4 +-
sys/external/bsd/acpica/dist/hardware/hwgpe.c | 6 +-
sys/external/bsd/acpica/dist/hardware/hwpci.c | 4 +-
sys/external/bsd/acpica/dist/hardware/hwregs.c | 4 +-
sys/external/bsd/acpica/dist/hardware/hwsleep.c | 4 +-
sys/external/bsd/acpica/dist/hardware/hwtimer.c | 4 +-
sys/external/bsd/acpica/dist/hardware/hwvalid.c | 4 +-
sys/external/bsd/acpica/dist/hardware/hwxface.c | 4 +-
sys/external/bsd/acpica/dist/hardware/hwxfsleep.c | 4 +-
sys/external/bsd/acpica/dist/include/acapps.h | 6 +-
sys/external/bsd/acpica/dist/include/acbuffer.h | 4 +-
sys/external/bsd/acpica/dist/include/acclib.h | 4 +-
sys/external/bsd/acpica/dist/include/accommon.h | 4 +-
sys/external/bsd/acpica/dist/include/acconfig.h | 4 +-
sys/external/bsd/acpica/dist/include/acconvert.h | 4 +-
sys/external/bsd/acpica/dist/include/acdebug.h | 4 +-
sys/external/bsd/acpica/dist/include/acdisasm.h | 54 +-
sys/external/bsd/acpica/dist/include/acdispat.h | 4 +-
sys/external/bsd/acpica/dist/include/acevents.h | 4 +-
sys/external/bsd/acpica/dist/include/acexcep.h | 14 +-
sys/external/bsd/acpica/dist/include/acglobal.h | 4 +-
sys/external/bsd/acpica/dist/include/achware.h | 4 +-
sys/external/bsd/acpica/dist/include/acinterp.h | 4 +-
sys/external/bsd/acpica/dist/include/aclocal.h | 4 +-
sys/external/bsd/acpica/dist/include/acmacros.h | 4 +-
sys/external/bsd/acpica/dist/include/acnames.h | 4 +-
sys/external/bsd/acpica/dist/include/acnamesp.h | 4 +-
sys/external/bsd/acpica/dist/include/acobject.h | 5 +-
sys/external/bsd/acpica/dist/include/acopcode.h | 4 +-
sys/external/bsd/acpica/dist/include/acoutput.h | 6 +-
sys/external/bsd/acpica/dist/include/acparser.h | 4 +-
sys/external/bsd/acpica/dist/include/acpi.h | 4 +-
sys/external/bsd/acpica/dist/include/acpiosxf.h | 4 +-
sys/external/bsd/acpica/dist/include/acpixf.h | 6 +-
sys/external/bsd/acpica/dist/include/acpredef.h | 19 +-
sys/external/bsd/acpica/dist/include/acresrc.h | 8 +-
sys/external/bsd/acpica/dist/include/acrestyp.h | 16 +-
sys/external/bsd/acpica/dist/include/acstruct.h | 4 +-
sys/external/bsd/acpica/dist/include/actables.h | 4 +-
sys/external/bsd/acpica/dist/include/actbinfo.h | 32 +-
sys/external/bsd/acpica/dist/include/actbl.h | 4 +-
sys/external/bsd/acpica/dist/include/actbl1.h | 67 +-
sys/external/bsd/acpica/dist/include/actbl2.h | 315 ++++-
sys/external/bsd/acpica/dist/include/actbl3.h | 86 +-
sys/external/bsd/acpica/dist/include/actypes.h | 9 +-
sys/external/bsd/acpica/dist/include/acutils.h | 5 +-
sys/external/bsd/acpica/dist/include/acuuid.h | 5 +-
sys/external/bsd/acpica/dist/include/amlcode.h | 4 +-
sys/external/bsd/acpica/dist/include/amlresrc.h | 29 +-
sys/external/bsd/acpica/dist/include/platform/accygwin.h | 4 +-
sys/external/bsd/acpica/dist/include/platform/acdragonfly.h | 4 +-
sys/external/bsd/acpica/dist/include/platform/acdragonflyex.h | 4 +-
sys/external/bsd/acpica/dist/include/platform/acefi.h | 4 +-
sys/external/bsd/acpica/dist/include/platform/acefiex.h | 4 +-
sys/external/bsd/acpica/dist/include/platform/acenv.h | 4 +-
sys/external/bsd/acpica/dist/include/platform/acenvex.h | 4 +-
sys/external/bsd/acpica/dist/include/platform/acfreebsd.h | 4 +-
sys/external/bsd/acpica/dist/include/platform/acgcc.h | 19 +-
sys/external/bsd/acpica/dist/include/platform/acgccex.h | 4 +-
sys/external/bsd/acpica/dist/include/platform/achaiku.h | 4 +-
sys/external/bsd/acpica/dist/include/platform/acintel.h | 4 +-
sys/external/bsd/acpica/dist/include/platform/aclinux.h | 4 +-
sys/external/bsd/acpica/dist/include/platform/aclinuxex.h | 4 +-
sys/external/bsd/acpica/dist/include/platform/acmacosx.h | 4 +-
sys/external/bsd/acpica/dist/include/platform/acmsvc.h | 4 +-
sys/external/bsd/acpica/dist/include/platform/acmsvcex.h | 4 +-
sys/external/bsd/acpica/dist/include/platform/acnetbsd.h | 6 +-
sys/external/bsd/acpica/dist/include/platform/acos2.h | 4 +-
sys/external/bsd/acpica/dist/include/platform/acqnx.h | 4 +-
sys/external/bsd/acpica/dist/include/platform/acwin.h | 4 +-
sys/external/bsd/acpica/dist/include/platform/acwin64.h | 4 +-
sys/external/bsd/acpica/dist/namespace/nsaccess.c | 7 +-
sys/external/bsd/acpica/dist/namespace/nsalloc.c | 4 +-
sys/external/bsd/acpica/dist/namespace/nsarguments.c | 4 +-
sys/external/bsd/acpica/dist/namespace/nsconvert.c | 4 +-
sys/external/bsd/acpica/dist/namespace/nsdump.c | 4 +-
sys/external/bsd/acpica/dist/namespace/nsdumpdv.c | 4 +-
sys/external/bsd/acpica/dist/namespace/nseval.c | 4 +-
sys/external/bsd/acpica/dist/namespace/nsinit.c | 4 +-
sys/external/bsd/acpica/dist/namespace/nsload.c | 4 +-
sys/external/bsd/acpica/dist/namespace/nsnames.c | 4 +-
sys/external/bsd/acpica/dist/namespace/nsobject.c | 4 +-
sys/external/bsd/acpica/dist/namespace/nsparse.c | 4 +-
sys/external/bsd/acpica/dist/namespace/nspredef.c | 4 +-
sys/external/bsd/acpica/dist/namespace/nsprepkg.c | 4 +-
sys/external/bsd/acpica/dist/namespace/nsrepair.c | 4 +-
sys/external/bsd/acpica/dist/namespace/nsrepair2.c | 22 +-
sys/external/bsd/acpica/dist/namespace/nssearch.c | 4 +-
sys/external/bsd/acpica/dist/namespace/nsutils.c | 4 +-
sys/external/bsd/acpica/dist/namespace/nswalk.c | 4 +-
sys/external/bsd/acpica/dist/namespace/nsxfeval.c | 4 +-
sys/external/bsd/acpica/dist/namespace/nsxfname.c | 4 +-
sys/external/bsd/acpica/dist/namespace/nsxfobj.c | 4 +-
sys/external/bsd/acpica/dist/os_specific/service_layers/osbsdtbl.c | 4 +-
sys/external/bsd/acpica/dist/os_specific/service_layers/osgendbg.c | 4 +-
sys/external/bsd/acpica/dist/os_specific/service_layers/oslinuxtbl.c | 4 +-
sys/external/bsd/acpica/dist/os_specific/service_layers/osunixdir.c | 4 +-
sys/external/bsd/acpica/dist/os_specific/service_layers/osunixmap.c | 4 +-
sys/external/bsd/acpica/dist/os_specific/service_layers/osunixxf.c | 4 +-
sys/external/bsd/acpica/dist/os_specific/service_layers/oswindir.c | 4 +-
sys/external/bsd/acpica/dist/os_specific/service_layers/oswintbl.c | 4 +-
sys/external/bsd/acpica/dist/os_specific/service_layers/oswinxf.c | 4 +-
sys/external/bsd/acpica/dist/parser/psargs.c | 4 +-
sys/external/bsd/acpica/dist/parser/psloop.c | 7 +-
sys/external/bsd/acpica/dist/parser/psobject.c | 4 +-
sys/external/bsd/acpica/dist/parser/psopcode.c | 4 +-
sys/external/bsd/acpica/dist/parser/psopinfo.c | 4 +-
sys/external/bsd/acpica/dist/parser/psparse.c | 6 +-
sys/external/bsd/acpica/dist/parser/psscope.c | 4 +-
sys/external/bsd/acpica/dist/parser/pstree.c | 4 +-
sys/external/bsd/acpica/dist/parser/psutils.c | 4 +-
sys/external/bsd/acpica/dist/parser/pswalk.c | 4 +-
sys/external/bsd/acpica/dist/parser/psxface.c | 4 +-
sys/external/bsd/acpica/dist/resources/rsaddr.c | 4 +-
sys/external/bsd/acpica/dist/resources/rscalc.c | 8 +-
sys/external/bsd/acpica/dist/resources/rscreate.c | 4 +-
sys/external/bsd/acpica/dist/resources/rsdump.c | 14 +-
sys/external/bsd/acpica/dist/resources/rsdumpinfo.c | 19 +-
sys/external/bsd/acpica/dist/resources/rsinfo.c | 10 +-
sys/external/bsd/acpica/dist/resources/rsio.c | 4 +-
sys/external/bsd/acpica/dist/resources/rsirq.c | 4 +-
sys/external/bsd/acpica/dist/resources/rslist.c | 14 +-
sys/external/bsd/acpica/dist/resources/rsmemory.c | 4 +-
sys/external/bsd/acpica/dist/resources/rsmisc.c | 22 +-
sys/external/bsd/acpica/dist/resources/rsserial.c | 74 +-
sys/external/bsd/acpica/dist/resources/rsutils.c | 4 +-
sys/external/bsd/acpica/dist/resources/rsxface.c | 4 +-
sys/external/bsd/acpica/dist/tables/tbdata.c | 4 +-
sys/external/bsd/acpica/dist/tables/tbfadt.c | 4 +-
sys/external/bsd/acpica/dist/tables/tbfind.c | 4 +-
sys/external/bsd/acpica/dist/tables/tbinstal.c | 4 +-
sys/external/bsd/acpica/dist/tables/tbprint.c | 4 +-
sys/external/bsd/acpica/dist/tables/tbutils.c | 4 +-
sys/external/bsd/acpica/dist/tables/tbxface.c | 4 +-
sys/external/bsd/acpica/dist/tables/tbxfload.c | 4 +-
sys/external/bsd/acpica/dist/tables/tbxfroot.c | 4 +-
sys/external/bsd/acpica/dist/tools/acpibin/abcompare.c | 4 +-
sys/external/bsd/acpica/dist/tools/acpibin/abmain.c | 6 +-
sys/external/bsd/acpica/dist/tools/acpibin/acpibin.h | 4 +-
sys/external/bsd/acpica/dist/tools/acpidump/acpidump.h | 4 +-
sys/external/bsd/acpica/dist/tools/acpidump/apdump.c | 4 +-
sys/external/bsd/acpica/dist/tools/acpidump/apfiles.c | 4 +-
sys/external/bsd/acpica/dist/tools/acpidump/apmain.c | 4 +-
sys/external/bsd/acpica/dist/tools/acpiexec/aecommon.h | 4 +-
sys/external/bsd/acpica/dist/tools/acpiexec/aeexception.c | 4 +-
sys/external/bsd/acpica/dist/tools/acpiexec/aeexec.c | 4 +-
sys/external/bsd/acpica/dist/tools/acpiexec/aehandlers.c | 4 +-
sys/external/bsd/acpica/dist/tools/acpiexec/aeinitfile.c | 4 +-
sys/external/bsd/acpica/dist/tools/acpiexec/aeinstall.c | 4 +-
sys/external/bsd/acpica/dist/tools/acpiexec/aemain.c | 4 +-
sys/external/bsd/acpica/dist/tools/acpiexec/aeregion.c | 4 +-
sys/external/bsd/acpica/dist/tools/acpiexec/aetables.c | 4 +-
sys/external/bsd/acpica/dist/tools/acpiexec/aetables.h | 4 +-
sys/external/bsd/acpica/dist/tools/acpiexec/aetests.c | 4 +-
sys/external/bsd/acpica/dist/tools/acpihelp/acpihelp.h | 4 +-
sys/external/bsd/acpica/dist/tools/acpihelp/ahaml.c | 8 +-
sys/external/bsd/acpica/dist/tools/acpihelp/ahamlops.c | 4 +-
sys/external/bsd/acpica/dist/tools/acpihelp/ahasl.c | 4 +-
sys/external/bsd/acpica/dist/tools/acpihelp/ahaslkey.c | 4 +-
sys/external/bsd/acpica/dist/tools/acpihelp/ahaslops.c | 4 +-
sys/external/bsd/acpica/dist/tools/acpihelp/ahdecode.c | 12 +-
sys/external/bsd/acpica/dist/tools/acpihelp/ahgrammar.c | 4 +-
sys/external/bsd/acpica/dist/tools/acpihelp/ahmain.c | 4 +-
sys/external/bsd/acpica/dist/tools/acpisrc/acpisrc.h | 4 +-
sys/external/bsd/acpica/dist/tools/acpisrc/ascase.c | 4 +-
sys/external/bsd/acpica/dist/tools/acpisrc/asconvrt.c | 6 +-
sys/external/bsd/acpica/dist/tools/acpisrc/asfile.c | 4 +-
sys/external/bsd/acpica/dist/tools/acpisrc/asmain.c | 4 +-
sys/external/bsd/acpica/dist/tools/acpisrc/asremove.c | 4 +-
sys/external/bsd/acpica/dist/tools/acpisrc/astable.c | 45 +-
sys/external/bsd/acpica/dist/tools/acpisrc/asutils.c | 4 +-
sys/external/bsd/acpica/dist/tools/acpixtract/acpixtract.c | 4 +-
sys/external/bsd/acpica/dist/tools/acpixtract/acpixtract.h | 4 +-
sys/external/bsd/acpica/dist/tools/acpixtract/axmain.c | 4 +-
sys/external/bsd/acpica/dist/tools/acpixtract/axutils.c | 4 +-
sys/external/bsd/acpica/dist/tools/efihello/efihello.c | 4 +-
sys/external/bsd/acpica/dist/tools/examples/examples.c | 4 +-
sys/external/bsd/acpica/dist/tools/examples/examples.h | 4 +-
sys/external/bsd/acpica/dist/tools/examples/exstubs.c | 4 +-
sys/external/bsd/acpica/dist/tools/examples/extables.c | 4 +-
sys/external/bsd/acpica/dist/utilities/utaddress.c | 4 +-
sys/external/bsd/acpica/dist/utilities/utalloc.c | 4 +-
sys/external/bsd/acpica/dist/utilities/utascii.c | 4 +-
sys/external/bsd/acpica/dist/utilities/utbuffer.c | 4 +-
sys/external/bsd/acpica/dist/utilities/utcache.c | 4 +-
sys/external/bsd/acpica/dist/utilities/utclib.c | 4 +-
sys/external/bsd/acpica/dist/utilities/utcopy.c | 4 +-
sys/external/bsd/acpica/dist/utilities/utdebug.c | 4 +-
sys/external/bsd/acpica/dist/utilities/utdecode.c | 4 +-
sys/external/bsd/acpica/dist/utilities/utdelete.c | 6 +-
sys/external/bsd/acpica/dist/utilities/uterror.c | 4 +-
sys/external/bsd/acpica/dist/utilities/uteval.c | 4 +-
sys/external/bsd/acpica/dist/utilities/utexcep.c | 4 +-
sys/external/bsd/acpica/dist/utilities/utglobal.c | 4 +-
sys/external/bsd/acpica/dist/utilities/uthex.c | 4 +-
sys/external/bsd/acpica/dist/utilities/utids.c | 4 +-
sys/external/bsd/acpica/dist/utilities/utinit.c | 4 +-
sys/external/bsd/acpica/dist/utilities/utlock.c | 4 +-
sys/external/bsd/acpica/dist/utilities/utmath.c | 4 +-
sys/external/bsd/acpica/dist/utilities/utmisc.c | 4 +-
sys/external/bsd/acpica/dist/utilities/utmutex.c | 4 +-
sys/external/bsd/acpica/dist/utilities/utnonansi.c | 4 +-
sys/external/bsd/acpica/dist/utilities/utobject.c | 4 +-
sys/external/bsd/acpica/dist/utilities/utosi.c | 4 +-
sys/external/bsd/acpica/dist/utilities/utownerid.c | 4 +-
sys/external/bsd/acpica/dist/utilities/utpredef.c | 4 +-
sys/external/bsd/acpica/dist/utilities/utprint.c | 4 +-
sys/external/bsd/acpica/dist/utilities/utresdecode.c | 15 +-
sys/external/bsd/acpica/dist/utilities/utresrc.c | 5 +-
sys/external/bsd/acpica/dist/utilities/utstate.c | 4 +-
sys/external/bsd/acpica/dist/utilities/utstring.c | 4 +-
sys/external/bsd/acpica/dist/utilities/utstrsuppt.c | 8 +-
sys/external/bsd/acpica/dist/utilities/utstrtoul64.c | 4 +-
sys/external/bsd/acpica/dist/utilities/uttrack.c | 4 +-
sys/external/bsd/acpica/dist/utilities/utuuid.c | 4 +-
sys/external/bsd/acpica/dist/utilities/utxface.c | 4 +-
sys/external/bsd/acpica/dist/utilities/utxferror.c | 4 +-
sys/external/bsd/acpica/dist/utilities/utxfinit.c | 4 +-
sys/external/bsd/acpica/dist/utilities/utxfmutex.c | 4 +-
sys/fs/nfs/client/nfs_clbio.c | 12 +-
sys/fs/nfs/server/nfs_nfsdport.c | 6 +-
sys/fs/puffs/puffs_vfsops.c | 7 +-
sys/kern/init_main.c | 7 +-
sys/kern/kern_mutex.c | 5 +-
sys/kern/kern_sig.c | 7 +-
sys/kern/kern_time.c | 9 +-
sys/kern/kern_todr.c | 9 +-
sys/kern/kern_uidinfo.c | 36 +-
sys/kern/subr_evcnt.c | 63 +-
sys/kern/subr_hash.c | 124 ++-
sys/kern/vfs_bio.c | 41 +-
sys/kern/vfs_vnode.c | 37 +-
sys/lib/libsa/tftp.c | 12 +-
sys/modules/Makefile | 4 +-
sys/modules/examples/sysctl/sysctl.c | 8 +-
sys/net/pktqueue.c | 20 +-
sys/net/route.h | 12 +-
sys/nfs/nfs_vfsops.c | 31 +-
sys/sys/evcnt.h | 6 +-
sys/sys/sysctl.h | 24 +-
sys/uvm/uvm_bio.c | 40 +-
sys/uvm/uvm_pglist.c | 11 +-
635 files changed, 6883 insertions(+), 4244 deletions(-)
diffs (truncated from 26032 to 300 lines):
diff -r 72e0354a4ef4 -r dc672be573c0 sys/arch/aarch64/aarch64/aarch64_machdep.c
--- a/sys/arch/aarch64/aarch64/aarch64_machdep.c Sat Apr 03 21:21:07 2021 +0000
+++ b/sys/arch/aarch64/aarch64/aarch64_machdep.c Sat Apr 03 21:44:40 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aarch64_machdep.c,v 1.56 2020/12/12 09:27:31 skrll Exp $ */
+/* $NetBSD: aarch64_machdep.c,v 1.56.2.1 2021/04/03 21:44:40 thorpej Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: aarch64_machdep.c,v 1.56 2020/12/12 09:27:31 skrll Exp $");
+__KERNEL_RCSID(1, "$NetBSD: aarch64_machdep.c,v 1.56.2.1 2021/04/03 21:44:40 thorpej Exp $");
#include "opt_arm_debug.h"
#include "opt_cpuoptions.h"
@@ -96,6 +96,11 @@
static struct vm_map module_map_store;
#endif
+#ifdef KASAN
+vaddr_t kasan_kernelstart;
+vaddr_t kasan_kernelsize;
+#endif
+
/* XXX */
vaddr_t physical_start;
vaddr_t physical_end;
@@ -180,7 +185,7 @@
*
* text rwx => r-x
* rodata rwx => r--
- * data rwx => rw-
+ * data rwx => rw- (.bss included)
*
* kernel image has mapped by L2 block. (2Mbyte)
*/
@@ -195,6 +200,11 @@
kernstart_phys, kernend_phys, kernend_extra);
fdt_memory_remove_range(kernstart_phys,
kernend_phys - kernstart_phys + kernend_extra);
+
+#ifdef KASAN
+ kasan_kernelstart = kernstart;
+ kasan_kernelsize = L2_ROUND_BLOCK(kernend) - kernstart;
+#endif
}
@@ -205,12 +215,14 @@
* 0xffff_ffff_ffe0_0000 End of KVA
* = VM_MAX_KERNEL_ADDRESS
*
+ * 0xffff_c000_4000_0000 Start of KVA
+ *
* 0xffff_c000_0???_???? End of kernel
* = _end[]
* 0xffff_c000_00??_???? Start of kernel
* = __kernel_text[]
*
- * 0xffff_c000_0000_0000 Kernel base address & start of KVA
+ * 0xffff_c000_0000_0000 Kernel base address
* = VM_MIN_KERNEL_ADDRESS
*
* 0xffff_bfff_ffff_ffff End of direct mapped
@@ -239,14 +251,16 @@
vaddr_t kernstart, kernend;
vaddr_t kernstart_l2 __unused, kernend_l2; /* L2 table 2MB aligned */
vaddr_t kernelvmstart;
- int i;
+ size_t i;
cputype = cpu_idnum(); /* for compatible arm */
kernstart = trunc_page((vaddr_t)__kernel_text);
kernend = round_page((vaddr_t)_end);
+
kernstart_l2 = L2_TRUNC_BLOCK(kernstart);
kernend_l2 = L2_ROUND_BLOCK(kernend);
+
kernelvmstart = kernend_l2;
#ifdef MODULAR
@@ -266,6 +280,10 @@
kernelvmstart = module_end;
#endif /* MODULAR */
+ KASSERT(kernelvmstart < VM_KERNEL_VM_BASE);
+
+ kernelvmstart = VM_KERNEL_VM_BASE;
+
paddr_t kernstart_phys __unused = KERN_VTOPHYS(kernstart);
paddr_t kernend_phys __unused = KERN_VTOPHYS(kernend);
@@ -307,12 +325,13 @@
"kernel_start_l2 = 0x%016lx\n"
"kernel_start = 0x%016lx\n"
"kernel_end = 0x%016lx\n"
+ "(extra) = 0x%016lx\n"
"kernel_end_l2 = 0x%016lx\n"
#ifdef MODULAR
"module_start = 0x%016lx\n"
"module_end = 0x%016lx\n"
#endif
- "(kernel va area)\n"
+ "(kernel va area) = 0x%016lx\n"
"(devmap va area) = 0x%016lx\n"
"VM_MAX_KERNEL_ADDRESS = 0x%016lx\n"
"------------------------------------------\n",
@@ -328,11 +347,13 @@
kernstart_l2,
kernstart,
kernend,
+ kernend_extra,
kernend_l2,
#ifdef MODULAR
module_start,
module_end,
#endif
+ VM_KERNEL_VM_BASE,
VM_KERNEL_IO_ADDRESS,
VM_MAX_KERNEL_ADDRESS);
@@ -361,6 +382,10 @@
end = start + bootconfig.dram[i].pages;
int vm_freelist = VM_FREELIST_DEFAULT;
+
+ VPRINTF("block %2zu start %08lx end %08lx\n", i, ptoa(start),
+ ptoa(end));
+
/*
* This assumes the bp list is sorted in ascending
* order.
@@ -383,6 +408,10 @@
}
vm_freelist = bp[j].bp_freelist;
+ VPRINTF(" start %08lx end %08lx"
+ "... loading in freelist %d\n", ptoa(start),
+ ptoa(segend), vm_freelist);
+
uvm_page_physload(start, segend, start, segend,
vm_freelist);
memsize_total += ptoa(segend - start);
diff -r 72e0354a4ef4 -r dc672be573c0 sys/arch/aarch64/aarch64/efi_machdep.c
--- a/sys/arch/aarch64/aarch64/efi_machdep.c Sat Apr 03 21:21:07 2021 +0000
+++ b/sys/arch/aarch64/aarch64/efi_machdep.c Sat Apr 03 21:44:40 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: efi_machdep.c,v 1.8 2020/10/22 07:31:15 skrll Exp $ */
+/* $NetBSD: efi_machdep.c,v 1.8.4.1 2021/04/03 21:44:40 thorpej Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: efi_machdep.c,v 1.8 2020/10/22 07:31:15 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: efi_machdep.c,v 1.8.4.1 2021/04/03 21:44:40 thorpej Exp $");
#include <sys/param.h>
#include <uvm/uvm_extern.h>
@@ -53,18 +53,15 @@
switch (type) {
case ARM_EFIRT_MEM_CODE:
- attr = LX_BLKPAG_OS_READ | LX_BLKPAG_OS_WRITE |
- LX_BLKPAG_AF | LX_BLKPAG_AP_RW | LX_BLKPAG_UXN |
+ attr = LX_BLKPAG_AF | LX_BLKPAG_AP_RW | LX_BLKPAG_UXN |
LX_BLKPAG_ATTR_NORMAL_WB;
break;
case ARM_EFIRT_MEM_DATA:
- attr = LX_BLKPAG_OS_READ | LX_BLKPAG_OS_WRITE |
- LX_BLKPAG_AF | LX_BLKPAG_AP_RW | LX_BLKPAG_UXN | LX_BLKPAG_PXN |
+ attr = LX_BLKPAG_AF | LX_BLKPAG_AP_RW | LX_BLKPAG_UXN | LX_BLKPAG_PXN |
LX_BLKPAG_ATTR_NORMAL_WB;
break;
case ARM_EFIRT_MEM_MMIO:
- attr = LX_BLKPAG_OS_READ | LX_BLKPAG_OS_WRITE |
- LX_BLKPAG_AF | LX_BLKPAG_AP_RW | LX_BLKPAG_UXN | LX_BLKPAG_PXN |
+ attr = LX_BLKPAG_AF | LX_BLKPAG_AP_RW | LX_BLKPAG_UXN | LX_BLKPAG_PXN |
LX_BLKPAG_ATTR_DEVICE_MEM;
break;
default:
@@ -72,11 +69,6 @@
}
pmapboot_enter(va, pa, sz, L3_SIZE, attr, NULL);
- while (sz >= PAGE_SIZE) {
- aarch64_tlbi_by_va(va);
- va += PAGE_SIZE;
- sz -= PAGE_SIZE;
- }
}
int
diff -r 72e0354a4ef4 -r dc672be573c0 sys/arch/aarch64/aarch64/locore.S
--- a/sys/arch/aarch64/aarch64/locore.S Sat Apr 03 21:21:07 2021 +0000
+++ b/sys/arch/aarch64/aarch64/locore.S Sat Apr 03 21:44:40 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.S,v 1.76 2021/01/09 15:07:42 jmcneill Exp $ */
+/* $NetBSD: locore.S,v 1.76.2.1 2021/04/03 21:44:40 thorpej Exp $ */
/*
* Copyright (c) 2017 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -38,7 +38,7 @@
#include <aarch64/hypervisor.h>
#include "assym.h"
-RCSID("$NetBSD: locore.S,v 1.76 2021/01/09 15:07:42 jmcneill Exp $")
+RCSID("$NetBSD: locore.S,v 1.76.2.1 2021/04/03 21:44:40 thorpej Exp $")
#ifdef AARCH64_DEVICE_MEM_STRONGLY_ORDERED
#define MAIR_DEVICE_MEM MAIR_DEVICE_nGnRnE
@@ -175,7 +175,7 @@
msr tpidr_el0, xzr
msr tpidrro_el0, xzr
- /* set curcpu() */
+ /* set curlwp() */
adrl x0, lwp0 /* curlwp is lwp0 */
msr tpidr_el1, x0
DPRINTREG("curlwp = ", x0);
@@ -832,7 +832,7 @@
#endif
/*
- * int
+ * void
* pmapboot_enter(
* x0: vaddr_t va,
* x1: paddr_t pa,
@@ -853,7 +853,6 @@
orr x4, x4, #LX_BLKPAG_UXN | LX_BLKPAG_PXN /* attr */
mov x5, x26 /* pr func */
bl pmapboot_enter
- cbnz x0, init_mmutable_error
#endif
/* identity mapping for kernel image */
@@ -869,7 +868,6 @@
orr x4, x4, #LX_BLKPAG_UXN
mov x5, x26 /* pr func */
bl pmapboot_enter
- cbnz x0, init_mmutable_error
#ifdef FDT
VPRINT("Creating identity mapping for FDT\n")
@@ -884,7 +882,6 @@
orr x4, x4, #LX_BLKPAG_UXN | LX_BLKPAG_PXN /* attr */
mov x5, x26 /* pr func */
bl pmapboot_enter
- cbnz x0, init_mmutable_error
#endif
VPRINT("Creating KVA=PA tables\n")
@@ -897,7 +894,6 @@
orr x4, x4, #LX_BLKPAG_UXN
mov x5, x26 /* pr func */
bl pmapboot_enter
- cbnz x0, init_mmutable_error
VPRINT("OK\n");
mov x0, xzr
diff -r 72e0354a4ef4 -r dc672be573c0 sys/arch/aarch64/aarch64/pmapboot.c
--- a/sys/arch/aarch64/aarch64/pmapboot.c Sat Apr 03 21:21:07 2021 +0000
+++ b/sys/arch/aarch64/aarch64/pmapboot.c Sat Apr 03 21:44:40 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmapboot.c,v 1.15 2021/01/09 13:42:25 jmcneill Exp $ */
+/* $NetBSD: pmapboot.c,v 1.15.2.1 2021/04/03 21:44:40 thorpej Exp $ */
/*
* Copyright (c) 2018 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmapboot.c,v 1.15 2021/01/09 13:42:25 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmapboot.c,v 1.15.2.1 2021/04/03 21:44:40 thorpej Exp $");
#include "opt_arm_debug.h"
#include "opt_ddb.h"
@@ -207,7 +207,7 @@
* pmapboot_enter() accesses pagetables by physical address.
* this should be called while identity mapping (VA=PA) available.
*/
-int
+void
pmapboot_enter(vaddr_t va, paddr_t pa, psize_t size, psize_t blocksize,
pt_entry_t attr, void (*pr)(const char *, ...) __printflike(1, 2))
{
@@ -232,7 +232,7 @@
level = 3;
break;
default:
- return -1;
+ panic("%s: bad blocksize (%" PRIxPSIZE ")", __func__, blocksize);
Home |
Main Index |
Thread Index |
Old Index