summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2021-02-22 23:17:51 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2021-02-22 23:17:51 +0000
commit37a9dbeed643802899683075dd514d97872eda8f (patch)
tree7a28819d870abb3a8c823b8778678817a11969e9
parent4641c1d52951c6a37420f8e573313f2b2a8f98f7 (diff)
Terminate backtrace of secondary processors in ddb.
From miod@
-rw-r--r--sys/arch/hppa/hppa/locore.S5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/hppa/hppa/locore.S b/sys/arch/hppa/hppa/locore.S
index f72511dbe28..77dc1e3d780 100644
--- a/sys/arch/hppa/hppa/locore.S
+++ b/sys/arch/hppa/hppa/locore.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.S,v 1.202 2021/01/11 16:45:25 kettenis Exp $ */
+/* $OpenBSD: locore.S,v 1.203 2021/02/22 23:17:50 kettenis Exp $ */
/*
* Copyright (c) 1998-2004 Michael Shalayeff
@@ -2790,6 +2790,9 @@ ENTRY(hw_cpu_spinup_trampoline, 0)
stw r0, HPPA_FRAME_CRP(sp)
stw r0, HPPA_FRAME_PSP(sp)
+ ldil L%TFF_LAST, t1
+ stw t1, TF_FLAGS-TRAPFRAME_SIZEOF(sp)
+
/* Provide CPU with page tables. */
ldil L%hppa_vtop, t1
ldw R%hppa_vtop(t1), t1