How do you debug crashes when working at such a low level? I'm thinking of writing my own booter á la the booters that NetBSD has, that adds a shutdown hook that copies the kernel into memory, disables interrupts as late as possible, and JMPs there. However, I'm worried that I won't be able to...