Code: Select all
Reboot:
in $0x64, %al
test $0x2, %al
jne Reboot
mov $0xFE, %al
out %al, $0x64
jmp Reboot
sysretq
09 General Page fault: Coprocessor Segment Overrun exception;
what I am doing wrong here?
This method is suggested here at http://wiki.osdev.org/Reboot
Any suggestions?