opnsense-src/sys/arm/arm
Mitchell Horne 233ec6b12b minidump: Use the provided dump bitset
When constructing the set of dumpable pages, use the bitset provided by
the state argument, rather than assuming vm_page_dump invariably. For
normal kernel minidumps this will be a pointer to vm_page_dump, but when
dumping the live system it will not.

To do this, the functions in vm_dumpset.h are extended to accept the
desired bitset as an argument. Note that this provided bitset is assumed
to be derived from vm_page_dump, and therefore has the same size.

Reviewed by:	kib, markj, jhb
MFC after:	2 weeks
Sponsored by:	Juniper Networks, Inc.
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D31992

(cherry picked from commit 10fe6f80a6)
2021-12-03 10:02:03 -04:00
..
autoconf.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
bcopy_page.S _ARM_ARCH_5E is always defined, we not support older CPUs. 2020-11-29 16:44:22 +00:00
bcopyinout.S _ARM_ARCH_5E is always defined, we not support older CPUs. 2020-11-29 16:44:22 +00:00
bcopyinout_xscale.S Remove remaining support of big endian byte order. 2020-11-29 15:04:39 +00:00
blockio.S Remove trailing whitespace from sys/arm/arm 2015-05-24 12:20:11 +00:00
bus_space_asm_generic.S Remove arm's cpuconf.h, and references to it, after moving a few lines from 2017-01-16 16:44:13 +00:00
bus_space_base.c Remove the pre-ARMv6 and pre-INTRNG code. 2020-11-29 08:40:12 +00:00
bus_space_generic.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
busdma_machdep.c arm: hide busdma statistics behind ifdef ARM_BUSDMA_MAPLOAD_STATS 2021-08-23 12:35:09 +00:00
copystr.S Remove the pre-ARMv6 and pre-INTRNG code. 2020-11-29 08:40:12 +00:00
cpu_asm-v6.S Rename assym.s to assym.inc 2018-03-20 17:58:51 +00:00
cpufunc.c Remove unused functions and variables in cpufunc.[ch]. 2020-12-14 14:00:54 +00:00
cpufunc_asm.S Remove unused functions and variables in cpufunc.[ch]. 2020-12-14 14:00:54 +00:00
cpufunc_asm_arm11x6.S Remove arm11x6_setttb and armv7_setttb as they are unused. While here 2016-10-25 16:25:06 +00:00
cpufunc_asm_armv7.S Remove the dead code from ARM cpufunc_* files. 2018-07-18 10:33:07 +00:00
cpufunc_asm_pj4b.S
cpuinfo.c Remove the pre-ARMv6 and pre-INTRNG code. 2020-11-29 08:40:12 +00:00
db_disasm.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
db_interface.c Remove the pre-ARMv6 and pre-INTRNG code. 2020-11-29 08:40:12 +00:00
db_trace.c ddb: replace watchpoint set/clear functions 2021-04-21 10:20:33 -03:00
debug_monitor.c arm: implement kdb watchpoint functions 2021-04-21 10:20:33 -03:00
disassem.c Remove the pre-ARMv6 and pre-INTRNG code. 2020-11-29 08:40:12 +00:00
dump_machdep.c Revert r336773: it removed too much. 2018-07-27 21:25:01 +00:00
elf_machdep.c Do not call FreeBSD-ABI specific code for all ABIs 2021-07-22 01:11:52 +03:00
elf_note.S Add an elf not so kgdb detects the kernel as a FreeBSD elf file. The 2014-10-18 13:38:04 +00:00
exception.S Remove the pre-ARMv6 and pre-INTRNG code. 2020-11-29 08:40:12 +00:00
exec_machdep.c arm: move signal delivery code to exec_machdep.c 2021-10-16 16:01:48 +03:00
fiq.c Remove the pre-ARMv6 and pre-INTRNG code. 2020-11-29 08:40:12 +00:00
fiq_subr.S Include machine/armreg.h after machine/asm.h to ensure __ARM_ARCH is 2016-11-07 11:01:09 +00:00
fusu.S Remove remaining support of big endian byte order. 2020-11-29 15:04:39 +00:00
gdb_machdep.c arm: Let the GDB stub write to SP, LR and GP registers 2020-12-07 15:09:28 +00:00
genassym.c make maximum interrupt number tunable on ARM, ARM64, MIPS, and RISC-V 2021-01-18 16:36:39 -08:00
generic_timer.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
gic.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
gic.h Remove teh non-INTRNG code from the ARM GIC interrupt controller driver. 2018-07-30 10:55:02 +00:00
gic_acpi.c Add missing ACPI GICv2 MSI/MSI-X attachment 2019-06-28 01:17:33 +00:00
gic_common.h Add more GIC and GICv3 registers 2021-08-05 20:50:16 +00:00
gic_fdt.c Remove teh non-INTRNG code from the ARM GIC interrupt controller driver. 2018-07-30 10:55:02 +00:00
hypervisor-stub.S Rename assym.s to assym.inc 2018-03-20 17:58:51 +00:00
identcpu-v6.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
in_cksum_arm.S _ARM_ARCH_5E is always defined, we not support older CPUs. 2020-11-29 16:44:22 +00:00
in_cksum_machdep.c netinet: Deduplicate most in_cksum() implementations 2021-12-01 07:42:43 -05:00
locore-v6.S Set a "kernbase" symbol in 32-bit arm locore.S and use it with ldscript.arm. 2019-12-30 23:20:46 +00:00
locore.S Remove now unused armv4 and not-INTRNG files. 2020-11-28 15:00:08 +00:00
machdep.c arm: move signal delivery code to exec_machdep.c 2021-10-16 16:01:48 +03:00
machdep_boot.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
machdep_intr.c Also enable IPIs on 32-bit arm 2021-06-11 19:23:50 +01:00
machdep_kdb.c Remove the pre-ARMv6 and pre-INTRNG code. 2020-11-29 08:40:12 +00:00
machdep_ptrace.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
mem.c Remove the pre-ARMv6 and pre-INTRNG code. 2020-11-29 08:40:12 +00:00
minidump_machdep.c minidump: Use the provided dump bitset 2021-12-03 10:02:03 -04:00
mp_machdep.c Store MPIDR register in pcpu. 2020-11-29 18:59:01 +00:00
mpcore_timer.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
mpcore_timervar.h
nexus.c arm, arm64, riscv: adjust top-level nexus comment 2021-10-15 12:22:14 -03:00
nexusvar.h arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
ofw_machdep.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
pl190.c Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
pl310.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
platform.c Add external PLATFORM access on arm, and use it in the pl310 driver. 2017-07-11 16:30:16 +00:00
platform_if.m All armv6 platforms have the same implementation of platform_lastaddr. 2016-12-16 10:31:13 +00:00
platform_pl310_if.m Add external PLATFORM access on arm, and use it in the pl310 driver. 2017-07-11 16:30:16 +00:00
pmap-v6.c Convert vm_page_alloc() callers to use vm_page_alloc_noobj(). 2021-11-03 13:39:36 -04:00
pmu.c Split out the FDT arm pmu attachment 2020-12-30 16:11:02 +00:00
pmu.h Add pmu.h missed in 5e78bbb74a 2020-12-31 10:12:34 +00:00
pmu_fdt.c Split out the FDT arm pmu attachment 2020-12-30 16:11:02 +00:00
ptrace_machdep.c Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
sc_machdep.c sc(4) md bits: stop setting sc->kbd entirely 2019-12-30 02:07:55 +00:00
setcpsr.S
setstack.s Include machine/armreg.h after machine/asm.h to ensure __ARM_ARCH is 2016-11-07 11:01:09 +00:00
stack_machdep.c Reimplement stack capture of running threads on i386 and amd64. 2020-01-31 15:43:33 +00:00
stdatomic.c Remove the pre-ARMv6 and pre-INTRNG code. 2020-11-29 08:40:12 +00:00
support.S arm: replace byte-by-byte memcmp with an already existing asm variant 2021-07-19 09:54:18 +00:00
swtch-v6.S Rename assym.s to assym.inc 2018-03-20 17:58:51 +00:00
swtch.S Rename assym.s to assym.inc 2018-03-20 17:58:51 +00:00
sys_machdep.c arm32: Align arguments of sync_icache() syscall to cacheline size. 2021-02-11 16:08:21 +01:00
syscall.c Remove the 'nap' field from ARM's 'struct syscall_args', to bring it 2020-11-05 18:10:03 +00:00
trap-v6.c Fix some common typos in source code comments 2021-08-31 08:13:15 +02:00
uio_machdep.c sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
undefined.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
unwind.c Rewrite arm kernel stack unwind code to work when unwinding through modules. 2019-12-15 21:16:35 +00:00
vfp.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
vm_machdep.c Remove remaining support of big endian byte order. 2020-11-29 15:04:39 +00:00