freebsd-dev/sys/sparc64
Mark Johnston 50ef60dabe Factor out duplicated kernel dump code into dump_{start,finish}().
dump_start() and dump_finish() are responsible for writing kernel dump
headers, optionally writing the key when encryption is enabled, and
initializing the initial offset into the dump device.

Also remove the unused dump_pad(), and make some functions static now that
they're only called from kern_shutdown.c.

No functional change intended.

Reviewed by:	cem, def
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D11584
2017-08-18 03:52:35 +00:00
..
central Use OF_prop_free instead of direct call to free(9) 2016-05-18 23:39:31 +00:00
conf Revert previous change to sys/conf/options & associated notes so builds can 2017-04-07 21:06:50 +00:00
ebus Use OF_prop_free instead of direct call to free(9) 2016-05-18 23:39:31 +00:00
fhc Consistently use device_t 2016-08-09 19:32:06 +00:00
include Clean up MD pollution of bus_dma.h: 2017-07-01 05:35:29 +00:00
isa Use OF_prop_free instead of direct call to free(9) 2016-05-18 23:39:31 +00:00
pci Fix a bug introduced as part of r287726; use the right device_t for 2017-04-29 00:53:17 +00:00
sbus Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
sparc64 Factor out duplicated kernel dump code into dump_{start,finish}(). 2017-08-18 03:52:35 +00:00