2 * linux/arch/mips/jazz/process.c
4 * Reset a Jazz machine.
6 * $Id: reset.c,v 1.3 1998/03/04 08:29:10 ralf Exp $
9 #include <linux/sched.h>
12 #include <asm/system.h>
13 #include <asm/reboot.h>
14 #include <asm/delay.h>
15 #include <asm/keyboard.h>
17 static inline void kb_wait(void)
19 unsigned long start
= jiffies
;
22 if (! (kbd_read_status() & 0x02))
24 } while (jiffies
- start
< 50);
27 void jazz_machine_restart(char *command
)
31 kbd_write_command (0xd1);
33 kbd_write_output (0x00);
37 void jazz_machine_halt(void)
41 void jazz_machine_power_off(void)
43 /* Jazz machines don't have a software power switch */