points by RetroTechie 1 day ago | 0 comments
> Is it real bare-metal if you're using UEFI, though?
If I'm not mistaken, the "bare metal" part refers to how directly you can touch it once control passes to your code. So definitely qualifies imho.
Not whether a 'glorified bootloader' burned some CPU cycles before that.
The "bare metal" qualifier goes away if underlying OS prevents your code from touching the hardware directly.
[–] tremon 13 hours ago
[–] jasomill 9 hours ago
UEFI also provides block device and SCSI passthrough interfaces, and you're free to write your own drivers and poke storage controllers directly if you prefer, or for that matter, call ExitBootServices and then do anything the hardware itself allows.
Of course, I'm aware that doing actual hardware access on a complex platform such as x86 is massively complicated, which is why most bare-metal targets tend to use simpler platforms in the first place.