4 ms·
x86_64 is more work to get bootstrapped than 32 bit mode, it might still make sense to do hobby hacking projects in 32 bit mode. Although I've not worked with
by exDM69 10y ago
x86_64 is more work to get bootstrapped than 32 bit mode, it might still make sense to do hobby hacking projects in 32 bit mode.
Although I've not worked with EFI (only multiboot) so I'm not sure how different it would be.
- ornitorrincos 10y agowell, 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