diff options
Diffstat (limited to 'sys/arch/sgi')
-rw-r--r-- | sys/arch/sgi/sgi/machdep.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/arch/sgi/sgi/machdep.c b/sys/arch/sgi/sgi/machdep.c index 272883332c8..1efaad2d35d 100644 --- a/sys/arch/sgi/sgi/machdep.c +++ b/sys/arch/sgi/sgi/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.159 2019/03/17 05:06:36 visa Exp $ */ +/* $OpenBSD: machdep.c,v 1.160 2019/04/01 07:00:52 tedu Exp $ */ /* * Copyright (c) 2003-2004 Opsycon AB (www.opsycon.se / www.opsycon.com) @@ -822,6 +822,9 @@ int waittime = -1; __dead void boot(int howto) { + if ((howto & RB_RESET) != 0) + goto doreset; + if (curproc) savectx(curproc->p_addr, 0); @@ -859,8 +862,10 @@ haltsys: printf("System Power Down.\n"); else printf("System Halt.\n"); - } else + } else { +doreset: printf("System restart.\n"); + } delay(1000000); md_halt(howto); |