Re: When interrput occurred,it will reboot.
Posted: Thu Nov 05, 2015 6:22 am
GRUB Manual wrote:All other processor registers and flag bits are undefined. This includes, in particular:
‘ESP’
The OS image must create its own stack as soon as it needs one.
‘GDTR’
Even though the segment registers are set up as described above, the ‘GDTR’ may be invalid, so the OS image must not load any segment registers (even just reloading the same values!) until it sets up its own ‘GDT’.
‘IDTR’
The OS image must leave interrupts disabled until it sets up its own IDT.