Reboot

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Jeffrey

Reboot

Post by Jeffrey »

How do I reboot the computer in PM?
DennisCGc

Re:Reboot

Post by DennisCGc »

Code: Select all

mov  al,0xfe
out   0x64,al
HTH
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Reboot

Post by Pype.Clicker »

Code: Select all

    newidt: dw 0 dd 0
reboot:
    lidt [newidt]
    int 0
this will tripple-fault and thus reboot.

Alternatively, you might like to send a 'pulse reset' signal to the 8042 in order to get a "cold" reboot.
St8ic

Re:Reboot

Post by St8ic »

Tripple faults make baby jesus cry...
Post Reply