summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2021-02-22 23:17:50 +0000
committerkettenis <kettenis@openbsd.org>2021-02-22 23:17:50 +0000
commit23cb250d88d969dfcb6210c4d932a74cf763daea (patch)
treea6d5583a6f66ad629e99f1b7c3df6e4758290790
parentMark as arm64-specific. (diff)
downloadwireguard-openbsd-23cb250d88d969dfcb6210c4d932a74cf763daea.tar.xz
wireguard-openbsd-23cb250d88d969dfcb6210c4d932a74cf763daea.zip
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