From: kettenis Date: Mon, 22 Feb 2021 23:17:50 +0000 (+0000) Subject: Terminate backtrace of secondary processors in ddb. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=23cb250d88d969dfcb6210c4d932a74cf763daea;p=openbsd Terminate backtrace of secondary processors in ddb. From miod@ --- 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