opnsense-src/sys/mips/malta
John Baldwin f2f9011e6c Fix dump_avail[] for MALTA platforms to include the kernel.
dump_avail[] is supposed to be a superset of phys_avail[] that
describes all of the memory ranges that should be included in a full
dump.  minidumps don't consider pages described by dump_avail[] to be
valid and thus they are excluded via the is_dumpable() function.  Most
MIPS platforms (including MALTA) set dump_avail[] to be identical to
phys_avail[].  In particular, phys_avail[] doesn't include the kernel
itself, so pages for the kernel and it's global variables are not
considered dumpable and not included in the dump.  Fix this by setting
dump_avail[0] to the first memory address (0) rather than the end of
the kernel.

Several other MIPS platforms have the same bug, though I am only able
to test malta in qemu.  The correct fix is to set dump_avail[] to
describe RAM and in particular to not set dump_avail[0] to the end of
the kernel (kernel_kseg0_end).

Sponsored by:	DARPA / AFRL
2016-12-22 20:28:06 +00:00
..
asm_malta.S Add SMP support for MTI Malta 34kf CPU. 2016-09-12 16:38:51 +00:00
files.malta Add support for SMP on MIPS Malta platform. 2016-09-09 14:50:44 +00:00
gt.c Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
gt_pci.c Fixed FreeBSD/mips MALTA support for QEMU 2016-06-29 23:33:44 +00:00
gt_pci_bus_space.c Add PCI bus space implementation that converts all 2 and 4 bytes 2013-08-30 20:28:35 +00:00
gt_pci_bus_space.h Add PCI bus space implementation that converts all 2 and 4 bytes 2013-08-30 20:28:35 +00:00
gtreg.h The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 17:55:51 +00:00
gtvar.h
malta_machdep.c Fix dump_avail[] for MALTA platforms to include the kernel. 2016-12-22 20:28:06 +00:00
malta_mp.c Add SMP support for MTI Malta 34kf CPU. 2016-09-12 16:38:51 +00:00
maltareg.h Merge from projects/mips to head by hand: 2010-01-10 20:06:14 +00:00
obio.c Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
obiovar.h
std.malta Add support for SMP on MIPS Malta platform. 2016-09-09 14:50:44 +00:00
uart_bus_maltausart.c Merge from projects/mips to head by hand: 2010-01-10 20:06:14 +00:00
uart_cpu_maltausart.c Merge from projects/mips to head by hand: 2010-01-10 20:06:14 +00:00
yamon.c - Initialize freq variable so we will not end up with random value 2013-08-27 01:08:55 +00:00
yamon.h Merge from projects/mips to head by hand: 2010-01-10 20:06:14 +00:00