diff options
author | 1999-04-23 03:11:55 +0000 | |
---|---|---|
committer | 1999-04-23 03:11:55 +0000 | |
commit | f9362f168e34bd2097fab8c212f599f643a08ccb (patch) | |
tree | fdd64739011743723fc6a869ec86a7caffdf79ed | |
parent | Fixed cut & paste error in .Nx 1.4 macro. (diff) | |
download | wireguard-openbsd-f9362f168e34bd2097fab8c212f599f643a08ccb.tar.xz wireguard-openbsd-f9362f168e34bd2097fab8c212f599f643a08ccb.zip |
Fix kcore initialization.
-rw-r--r-- | sys/arch/hp300/hp300/machdep.c | 4 |
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. */ |