27 ms·
I wonder what a minimal version of this would look like for x64 UEFI machines. Does anyone know whether such a project exists?
by Udo 7y ago
I wonder what a minimal version of this would look like for x64 UEFI machines. Does anyone know whether such a project exists?
- dantle 7y agoIt's pretty easy. With CL.exe (Microsoft's Visual Studio compiler) just use the /SUBSYSTEM:EFI_APPLICATION flag. You may have to manually specify the entry point. Note that there's no default cstdlib, so if you want to use the EFI APIs (e.g. for a "printf" function or other things from the article), you'll need to tell the compiler about the header definitions (as you would any C API).