opnsense-src/sys/powerpc/powerpc
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
..
altivec.c powerpc: Simplify _nodrop variants of FPU and vector register saves 2020-03-13 01:27:37 +00:00
autoconf.c sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
bus_machdep.c [PowerPC] bus_space cleanup part 2: Convert to c99 initializers. 2020-09-13 21:34:32 +00:00
busdma_machdep.c Refine the busdma template interface. Provide tools for filling in fields 2020-09-14 05:58:12 +00:00
clock.c [PowerPC] Implement VDSO timebase access on powerpc* 2020-09-08 03:00:31 +00:00
copyinout.c powerpc: Optimize copyinstr() to avoid repeatedly mapping user strings 2020-12-30 23:45:35 +01:00
cpu.c [PowerPC] Make PPC 970 PMC SPRs the standard ones 2020-11-05 14:15:50 +00:00
cpu_subr64.S Add CFI start/end proc directives to arm64, i386, and ppc 2020-12-05 00:33:28 +00:00
db_disasm.c powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
db_hwwatch.c ddb: replace watchpoint set/clear functions 2021-04-21 10:20:33 -03:00
db_interface.c powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
db_trace.c powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
dump_machdep.c sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
elf32_machdep.c Do not call FreeBSD-ABI specific code for all ABIs 2021-07-22 01:11:52 +03:00
elf64_machdep.c Do not call FreeBSD-ABI specific code for all ABIs 2021-07-22 01:11:52 +03:00
elf_common.c [PowerPC] Make new auxv format default 2020-08-24 13:40:35 +00:00
exec_machdep.c [PowerPC] Floating-point exception trap followup 2020-12-13 03:58:43 +00:00
fpu.c [PowerPC] Floating-point exception trap followup 2020-12-13 03:58:43 +00:00
gdb_machdep.c gdb: only return signal values for powerpc's gdb_cpu_signal() 2021-01-25 10:13:50 -04:00
genassym.c powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
interrupt.c [PowerPC] Move pmc_hook out of critical section 2020-09-01 11:30:39 +00:00
intr_machdep.c [PowerPC] Add root_pic assertion. 2020-09-08 22:42:41 +00:00
iommu_if.m
machdep.c powerpc64: fix OFWFB with Radix MMU 2021-11-05 11:08:27 -03:00
mem.c Add the MEM_EXTRACT_PADDR ioctl to /dev/mem. 2020-09-02 18:12:47 +00:00
minidump_machdep.c minidump: Use the provided dump bitset 2021-12-03 10:02:03 -04:00
mp_machdep.c [PowerPC] Remove unused IPI type count tracking. 2021-04-06 22:10:40 -05:00
nexus.c powerpc: implement bus_map_resource and bus_unmap_resource DEVMETHODs 2021-05-07 02:32:50 -03:00
openpic.c [PowerPC] Remove unused openpic_set_priority(). 2020-09-01 01:57:56 +00:00
pic_if.m powerpc: Add opaque 'private data' to interrupt vectors 2019-01-12 22:05:42 +00:00
platform.c powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
platform_if.m powerpc: Fix the NUMA domain list on powernv 2020-01-18 01:26:54 +00:00
pmap_dispatch.c minidump: Use the provided dump bitset 2021-12-03 10:02:03 -04:00
ptrace_machdep.c powerpc/ptrace: Give ptrace(2) access to SPE registers when available 2019-11-22 04:34:46 +00:00
sc_machdep.c sc(4) md bits: stop setting sc->kbd entirely 2019-12-30 02:07:55 +00:00
setjmp.S Add CFI start/end proc directives to arm64, i386, and ppc 2020-12-05 00:33:28 +00:00
sigcode32.S Rename assym.s to assym.inc 2018-03-20 17:58:51 +00:00
sigcode64.S [PowerPC] Save a dword in the powerpc64 signal trampoline 2020-01-17 23:41:35 +00:00
stack_machdep.c Reimplement stack capture of running threads on i386 and amd64. 2020-01-31 15:43:33 +00:00
support.S powerpc: Fix copyin/copyout race condition 2020-12-30 23:45:44 +01:00
swtch32.S Add CFI start/end proc directives to arm64, i386, and ppc 2020-12-05 00:33:28 +00:00
swtch64.S Add CFI start/end proc directives to arm64, i386, and ppc 2020-12-05 00:33:28 +00:00
syncicache.c powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
sys_machdep.c powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
trap.c [POWERPC] print uprintf_signal 'type' field in hex 2020-11-20 18:52:37 +00:00
uio_machdep.c sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
uma_machdep.c Convert vm_page_alloc() callers to use vm_page_alloc_noobj(). 2021-11-03 13:39:36 -04:00
vm_machdep.c amd64 KPTI: add control from procctl(2). 2019-03-16 11:44:33 +00:00