diff options
author | 2002-09-11 16:01:37 +0000 | |
---|---|---|
committer | 2002-09-11 16:01:37 +0000 | |
commit | 40602d3a16f451e9d50a2a1e1208163fdea19173 (patch) | |
tree | 2c1911059d498a33a64ecf37a846a71b1ce3f698 | |
parent | stack grows the other way, but the frame is the other way to that. hehe (diff) | |
download | wireguard-openbsd-40602d3a16f451e9d50a2a1e1208163fdea19173.tar.xz wireguard-openbsd-40602d3a16f451e9d50a2a1e1208163fdea19173.zip |
provide a convinient reset label
-rw-r--r-- | sys/arch/hppa/hppa/machdep.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/hppa/hppa/machdep.c b/sys/arch/hppa/hppa/machdep.c index a37eb44f5b7..a99b3e167f8 100644 --- a/sys/arch/hppa/hppa/machdep.c +++ b/sys/arch/hppa/hppa/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.78 2002/09/11 15:55:58 mickey Exp $ */ +/* $OpenBSD: machdep.c,v 1.79 2002/09/11 16:01:37 mickey Exp $ */ /* * Copyright (c) 1999-2002 Michael Shalayeff @@ -946,6 +946,8 @@ boot(howto) } else { printf("rebooting..."); DELAY(1000000); + __asm __volatile(".export hppa_reset, entry\n\t" + ".label hppa_reset"); __asm __volatile("stwas %0, 0(%1)" :: "r" (CMD_RESET), "r" (LBCAST_ADDR + iomod_command)); } |