freebsd-dev/sys/arm
Mark Johnston 46fcd1af63 Move kernel dump offset tracking into MI code.
All of the kernel dump implementations keep track of the current offset
("dumplo") within the dump device. However, except for textdumps, they
all write the dump sequentially, so we can reduce code duplication by
having the MI code keep track of the current offset. The new
dump_append() API can be used to write at the current offset.

This is needed to implement support for kernel dump compression in the
MI kernel dump code.

Also simplify dump_encrypted_write() somewhat: use dump_write() instead
of duplicating its bounds checks, and get rid of the redundant offset
tracking.

Reviewed by:	cem
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D11722
2017-10-18 15:38:05 +00:00
..
allwinner a10_ehci: Remove the passby code 2017-10-12 18:00:29 +00:00
altera/socfpga Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
amlogic/aml8726 Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
annapurna/alpine Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
arm Move kernel dump offset tracking into MI code. 2017-10-18 15:38:05 +00:00
at91 Defer attaching and probing iicbus and its children until interrupts are 2017-09-13 16:54:27 +00:00
broadcom/bcm2835 Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
cavium/cns11xx Allow setting access-width for UART registers. 2017-02-27 20:08:42 +00:00
cloudabi32 Move struct syscall_args syscall arguments parameters container into 2017-06-12 21:03:23 +00:00
conf Previously there was a VIRT kernel to which I had added these options. 2017-10-12 14:32:45 +00:00
freescale Fix imx6 hdmi init after r323553, which used a config_intrhook to defer the 2017-10-08 18:38:22 +00:00
include Save VFP state in getcontext(3) on ARM. 2017-10-16 12:53:54 +00:00
lpc Add and use a MMC_DECLARE_BRIDGE macro for declaring mmc(4) bridges 2017-03-07 22:42:44 +00:00
mv Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
nvidia Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
qemu Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
ralink [arm] [rt1310] add initial RT1310 SoC code. 2017-05-06 06:14:46 +00:00
rockchip Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
samsung/exynos Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
ti Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
versatile Move the simple armv6 only timer drivers to require MULTIDELAY to help 2017-07-04 18:07:09 +00:00
xilinx Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
xscale i81342 is little endian, not big endian. 2017-09-19 20:33:22 +00:00