vvaltchev/tilck

Research ways to handle total memory corruption (i.e. causing a double-fault)

vvaltchev opened this issue · 2 comments

Research ways to handle total memory corruption (i.e. causing a double-fault)

The stack pointer validation does a great job most of the time but, if for any reason the overflow is so big that messes up stuff like the ESP in the current TSS, regular fault handlers cannot run, the CPU triggers a double-fault, but it cannot run as well (because it triggers a page fault) and therefore we get a triple fault and the system reboots. The point of this (non high-priority task) is to research safe ways to handle the double fault and, at least, being able to display a panic message on the screen.

I'm closing this issue from here, as I'm not using this tool (Github's issues) anymore for self-driven projects/improvements for Tilck. Still, this tool will remain enabled for bug reporting.