Ronald G. Minnich | 182615d | 2004-08-24 16:20:46 +0000 | [diff] [blame] | 1 | #include <arch/io.h> |
Myles Watson | 08e0fb8 | 2010-03-22 16:33:25 +0000 | [diff] [blame] | 2 | #include <reset.h> |
Ronald G. Minnich | 182615d | 2004-08-24 16:20:46 +0000 | [diff] [blame] | 3 | |
Myles Watson | 08e0fb8 | 2010-03-22 16:33:25 +0000 | [diff] [blame] | 4 | void hard_reset(void) |
Ronald G. Minnich | 182615d | 2004-08-24 16:20:46 +0000 | [diff] [blame] | 5 | { |
6 | /* Try rebooting through port 0xcf9 */ | ||||
7 | outb((0 <<3)|(1<<2)|(1<<1), 0xcf9); | ||||
8 | } |