And where do I add the module in the OVMF compilation (It must run on every 
OVMF boot) ?

Do I need to add it on OvmfPkg FDF and DSC files? This module was built using 
GNU-EFI so I have only the source and efi binary files.


 Miguel R.
________________________________________
From: Laszlo Ersek <ler...@redhat.com>
Sent: Tuesday, May 20, 2014 11:09 AM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] Initializing Driver

On 05/19/14 18:53, miguelro...@ua.pt wrote:
> I have a UEFI Application (that I built using GNU-EFI) that does not
> produce any entry in the handle database, it only consumes protocols
> and services. Right now I am loading this UEFI Application through
> the UEFI Shell but I want this application to run on every boot.

> Is there any way to tell OVMF to run this application/driver on every
> boot. I want this to be embedded in the firmware so I understand that
> I need to recompile OVMF.

> I read in the Driver Writer's Guide that there is a Initializing
> Driver type of driver that seems to fit my needs but EDKII does not
> include any examples of this kind of drivers so I was wondering if it
> is possible to add my application/driver to the OVMF booting
> process.

Flip the module type from UEFI_APPLICATION to UEFI_DRIVER, do what you
want in the entry point, then return an error code.

Laszlo


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to