3 ms·
It's indeed a bit like a kexec. On system initialization, kernel routines are copied into RAM by the bootloader[1]. Executables run in ring 0, and have a jump
by MayeulC 6y ago
It's indeed a bit like a kexec.
On system initialization, kernel routines are copied into RAM by the bootloader[1]. Executables run in ring 0, and have a jump table to call kernel routines in their own address space (IIRC) [2].
As such, loading any executable counts as a soft reboot.
Also, there is a functioning open source emulator, Xqemu [3] (and its sibling/fork focused on speed and compatibility more than accuracy, xemu [4])
I recommend reading "17 mistakes Microsoft made in the Xbox security system", which is very informative [5].
[1]: https://xboxdevwiki.net/Boot_Process https://xboxdevwiki.net/Boot_Process
[2]: https://xboxdevwiki.net/Kernel https://xboxdevwiki.net/Kernel
[3]: https://xqemu.com/ https://xqemu.com/
[4]: https://xemu.app/ https://xemu.app/
[5]: https://xboxdevwiki.net/17_Mistakes_Microsoft_Made_in_the_Xbox_Security_System https://xboxdevwiki.net/17_Mistakes_Microsoft_Made_in_the_Xb...