Bottomley: Owning your Windows 8 UEFI Platform
Bottomley: Owning your Windows 8 UEFI Platform
Posted Feb 23, 2013 15:32 UTC (Sat) by khim (subscriber, #9252)In reply to: Bottomley: Owning your Windows 8 UEFI Platform by zlynx
Parent article: Bottomley: Owning your Windows 8 UEFI Platform
How much of it is in 16-bit real mode code and how much of it is in 32-bit protected mode code?
Significant chunk of it is for SMM mode which is 32-bit unprotected code with full access to 4GiB of address space. You can compile code for this mode with [relatively] modern compilers, etc. Yes, it's still weird mode (that's why EFI is going with normal 32/64-bit protected mode), but it's not 16-bit mode and it's programmed in C, not in assembler which means that the message which started the whole discussion (in BIOS there's limited amounts of RAM available and it all has to be written in 16-bit assembly) is factually wrong as mirabilos pointed out.
