[ipxe-devel] Figuring out if system is (U)EFI or not

Michael Brown mcb30 at ipxe.org
Sat Apr 6 10:51:57 UTC 2013

On 05/04/13 21:34, James A. Peltier wrote:
> I've looked through the documentation but I can't seem to find out if there is a way to determine if the system is (U)EFI or not in a way similar to getting the cpuid value.  Is there such a thing?  If so how would I go about accomplishing this?  Pointing me to docs is fine.

How about some freshly minted code:


and the accompanying docs:


(I've been meaning to do this for a while; thanks for reminding me.)


More information about the ipxe-devel mailing list