summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-07-18 14:00:54 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-07-18 14:00:54 +0000
commit691bac822d9bad240780a5fce1a50c8c47582d87 (patch)
tree6af5d1abaf9792e5302dcf080f5fae098dea71a5 /sys/arch/hppa
parent8d645e1c0229b5944be96bb7c2638e54bd6c8e41 (diff)
if such an occasion occures that hpmc_dump() returns -- just summon the global broadcast and reset
Diffstat (limited to 'sys/arch/hppa')
-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 831af05ee89..ab5b35ae194 100644
--- a/sys/arch/hppa/hppa/locore.S
+++ b/sys/arch/hppa/hppa/locore.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.S,v 1.71 2002/07/18 04:35:03 mickey Exp $ */
+/* $OpenBSD: locore.S,v 1.72 2002/07/18 14:00:53 mickey Exp $ */
/*
* Copyright (c) 1998-2002 Michael Shalayeff
@@ -1884,6 +1884,9 @@ ENTRY(TLABEL(hpmc),0)
ldw R%emrg_stack(arg1), arg1
/* never returns, but still */
+ ldil L%GBCAST_ADDR, t1
+ ldi CMD_RESET, t2
+ stw t2, R%GBCAST_ADDR(t1)
hpmc_never_dies
b hpmc_never_dies
nop