diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1998-03-27 04:47:53 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1998-03-27 04:47:53 +0000 |
commit | 36ea5120664550fae6d31f1c6f695e4f8975cb06 (patch) | |
tree | 7b985f066e6fa149027022366b9f3dd92506db24 /arch/mips/sgi/kernel/reset.c | |
parent | f7f4aaffdad04eb69ab618c771df0416ad04a952 (diff) |
o Speedup syscalls. Now 816ns per syscall. Yes, nanoseconds and goodbye
Pentium :-)
o Little bit smarter handling of unimplemented exceptions.
o Fix FPU context switches.
o Fix reboot / halt. Powerdown in software still doesn't work.
o Fix the fix for handling of return values of interrupted syscalls.
o Handling of the Indy second level cache now works as spec'ed. Purely
cosmentic, this was not causing any problems.
Diffstat (limited to 'arch/mips/sgi/kernel/reset.c')
-rw-r--r-- | arch/mips/sgi/kernel/reset.c | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/arch/mips/sgi/kernel/reset.c b/arch/mips/sgi/kernel/reset.c index 578a20574..e465208cf 100644 --- a/arch/mips/sgi/kernel/reset.c +++ b/arch/mips/sgi/kernel/reset.c @@ -1,7 +1,13 @@ /* - * linux/arch/mips/sgi/kernel/process.c - * * Reset a SGI. + * + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright (C) 1997, 1998 by Ralf Baechle + * + * $Id: reset.c,v 1.3 1998/03/26 07:31:16 ralf Exp $ */ #include <asm/io.h> #include <asm/system.h> @@ -11,16 +17,15 @@ /* XXX How to pass the reboot command to the firmware??? */ void sgi_machine_restart(char *command) { - for(;;) - prom_imode(); + prom_reboot(); } void sgi_machine_halt(void) { - /* XXX */ + prom_imode(); } void sgi_machine_power_off(void) { - /* XXX */ + prom_powerdown(); } |