Not calling ExitBootServices?
Posted: Tue Jan 02, 2024 9:32 am
Question: on BIOS systems there is no ExitBootServices involved, instead the OS just moves the CPU to protected mode and forgets that BIOS existed. What bad things can happen if I do the same to UEFI?
That is: not call ExitBootServices, instead just load my own GDT/IDT/page tables, reconfigure PIC/APIC/whatever and boot the OS. And maybe even keep calling the boot services in some emulated environment (this is just a random spin-off thought, please don't interpret it the way that I'm lazy to write drivers).
Watchdog might be one concern, are there others?
That is: not call ExitBootServices, instead just load my own GDT/IDT/page tables, reconfigure PIC/APIC/whatever and boot the OS. And maybe even keep calling the boot services in some emulated environment (this is just a random spin-off thought, please don't interpret it the way that I'm lazy to write drivers).
Watchdog might be one concern, are there others?