summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1999-04-23 03:11:56 +0000
committerJason Downs <downsj@cvs.openbsd.org>1999-04-23 03:11:56 +0000
commit4132b389ff14b6e3983e9cf7324adf80442c40f5 (patch)
tree58fe12a53484fcf972253d4aa67ca92d75220b88 /sys
parent7ecde12d35fb3f6018bf2dfab95b284cf0f8db22 (diff)
Fix kcore initialization.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/hp300/hp300/machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hp300/hp300/machdep.c b/sys/arch/hp300/hp300/machdep.c
index c1b96ef3b53..50660fa8df9 100644
--- a/sys/arch/hp300/hp300/machdep.c
+++ b/sys/arch/hp300/hp300/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.35 1999/02/04 23:00:24 niklas Exp $ */
+/* $OpenBSD: machdep.c,v 1.36 1999/04/23 03:11:55 downsj Exp $ */
/* $NetBSD: machdep.c,v 1.94 1997/06/12 15:46:29 mrg Exp $ */
/*
@@ -857,7 +857,7 @@ dumpconf()
cpu_kcore_hdr.ram_segs[0].size = ctob(dumpsize);
cpu_kcore_hdr.mmutype = mmutype;
cpu_kcore_hdr.kernel_pa = lowram;
- cpu_kcore_hdr.sysseg_pa = 0; /* XXX */
+ cpu_kcore_hdr.sysseg_pa = pmap_kernel()->pm_stpa;
#endif /* HP300_NEWKVM */
/* Always skip the first CLBYTES, in case there is a label there. */