summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authormarkj <markj@FreeBSD.org>2015-01-07 01:01:39 +0000
committermarkj <markj@FreeBSD.org>2015-01-07 01:01:39 +0000
commit7e7e145818dbebec11d3fb1dded0452f0c3d99f9 (patch)
tree6d50f1ee65f4ceaf3fa5c14faf47e9ecd3aae3e5 /sys/pc98
parentd7969594c9a8a347e4914f5381da2436c1a93710 (diff)
downloadFreeBSD-src-7e7e145818dbebec11d3fb1dded0452f0c3d99f9.zip
FreeBSD-src-7e7e145818dbebec11d3fb1dded0452f0c3d99f9.tar.gz
Factor out duplicated code from dumpsys() on each architecture into generic
code in sys/kern/kern_dump.c. Most dumpsys() implementations are nearly identical and simply redefine a number of constants and helper subroutines; a generic implementation will make it easier to implement features around kernel core dumps. This change does not alter any minidump code and should have no functional impact. PR: 193873 Differential Revision: https://reviews.freebsd.org/D904 Submitted by: Conrad Meyer <conrad.meyer@isilon.com> Reviewed by: jhibbits (earlier version) Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/include/dump.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/pc98/include/dump.h b/sys/pc98/include/dump.h
new file mode 100644
index 0000000..815942d
--- /dev/null
+++ b/sys/pc98/include/dump.h
@@ -0,0 +1,6 @@
+/*-
+ * This file is in the public domain.
+ */
+/* $FreeBSD$ */
+
+#include <x86/dump.h>
OpenPOWER on IntegriCloud