Re: Build UEFI application


Tomas Pilar (tpilar)
 

Hi Peter,

I don’t recall a specific application-writer's-guide but the Driver Writer's Guide and the UEFI Specification are quite comprehensive.

That said, you want to have a look at existing applications, particularly at MdePkg/Application/HelloWorld to see how they are built. In particular, you will need these non-obvious things:

Your application will need to use UefiApplicationEntryPointLib to specify which function is the entry point.
Your application will need its own .inf module file and you will need to specify the .inf file in the platform .dsc file in the [Components] section. You then build your application by building that platform.

Hope that gets you started.

Cheers,
Tom

-----Original Message-----
From: discuss@edk2.groups.io <discuss@edk2.groups.io> On Behalf Of Peter Wiehe via groups.io
Sent: 20 June 2020 07:35
To: discuss@edk2.groups.io
Subject: [edk2-discuss] Build UEFI application

Hi, all!
I have built EDK II and then OVMF. Now I want to develop an UEFI application with EDK II. Is there any documentation about that?

Greetings
Peter

Join discuss@edk2.groups.io to automatically receive all group messages.