4 ms·
No sequence of instructions should cause the machine to reboot.
by jrockway 7y ago
No sequence of instructions should cause the machine to reboot.
- wtallis 7y agoThat's an excusable outcome if you're overclocking or otherwise tweaking critical operating parameters beyond their safe default ranges.
- marmaduke 7y agoExcept the 'reboot' command? I'm always curious how it works.
- deleted 7y ago[deleted]
- monocasa 7y agoNormally you'd ask the chipset so that it can reset all the peripherals at the same time. On Intel you can also intentionally "triple fault" the CPU and that'll cause it to reset. The way that works is you tell the CPU that it doesn't have interrupt handlers anymore, then cause a software interrupt. Then the CPU will first try to call your interrupt handler (but that'll fail because you told it there are no handlers), then errors during an interrupt cause a "double fault" interrupt that's supposed to handle those errors (but once again, there's no handlers), so now you're in a "triple fault" condition and the only way to recover is to reset, so that's what the CPU does.