You need to also add your new driver to your .fdf platform file.

thanks,
Laurie

[email protected]<mailto:[email protected]>
EFI / Framework Technical
Marketing Engineering Team
(503) 712-9395
From: manish mahajan [mailto:[email protected]]
Sent: Tuesday, April 08, 2014 4:01 PM
To: [email protected]
Subject: [edk2] Entry point for DXE_DRIVER module

Hi All,

I have added a new DXE_DRIVER module. I want to make sure that this DXE_DRIVER 
is getting invoked during boot up process.

[Defines]
  INF_VERSION                    = 0x00010005
  BASE_NAME                      = UefiMainSample
  FILE_GUID                      = 7C04A583-9E3E-4f1c-AD65-E05268D0B4D1
  MODULE_TYPE                    = DXE_DRIVER
  VERSION_STRING                 = 0.1
  ENTRY_POINT                    = UefiMain

I have added my new .inf file before Bds.inf, so that UefiMain will be called 
before Bds Module.

To make sure that UefiMain function is called during bootup, I added while(1) 
loop in UefiMain(). But still I can see Boot Options.

That means my UefiMain function is not called, since it did not "hang". Please 
advice me in this case.

Thanks,
Manish

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to