2 ms·
well, the nice thing about EFI is that it already places you into long mode
by ornitorrincos 10y ago
well, the nice thing about EFI is that it already places you into long mode
- exDM69 10y agoBut how does it configure the page table? There's no identity mapped mode in x86_64, which slowed down my work because of chicken/egg problems in early boot page table configuration. That being said, I'd probably be using EFI in long mode if I was starting a bare metal project on x86_64 in 2016.
- ornitorrincos 10y agoUEFI identity maps the memory. UEFI applications are kind of weird, as until ExitBootServices is called they are regular hosted applications that need to call the EFI boot services to do things like allocating memory, once ExitBootServices is called they take full control of the system