diff options
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r-- | sys/arch/amd64/amd64/machdep.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/arch/amd64/amd64/machdep.c b/sys/arch/amd64/amd64/machdep.c index 6a24232..34bea11 100644 --- a/sys/arch/amd64/amd64/machdep.c +++ b/sys/arch/amd64/amd64/machdep.c @@ -331,6 +331,15 @@ processor_switch_to(struct proc *old_td, struct proc *new_td) } void +cpu_reset(void) +{ + for (;;) { + /* Pulse the reset line */ + outb(0x64, 0xFE); + } +} + +void processor_init(void) { /* Indicates what doesn't need to be init anymore */ |