Another comment the “Beyond BIOS” book Helloworld,c could be used in any UEFI 
|EFI system.   This is because it is using the UEFI Services directly for 
ConOut and ConIn.  In contrast, the  AppPkg\Applications\Hello would need the 
EDK II library UefiLib compiled with it and it also has a dependency on the 
Shell library UefiShellCEntryLib to use the Argc/Argv parameters.



thanks,
Laurie

laurie.jarlst...@intel.com<mailto:laurie.jarlst...@intel.com>
EFI / Framework Technical
Marketing Engineering Team
(503) 712-9395
From: Jarlstrom, Laurie
Sent: Thursday, January 30, 2014 12:52 PM
To: edk2-devel@lists.sourceforge.net
Subject: RE: [edk2] regarding the chapter 4 sample program in the book Beyond 
Bios

The Hello in the AppPkg\Applications\Hello\ uses the “Print” function that is 
part of the UefiLib Library. While the Helloworld.c in the Beyond BIOS book is 
making a call using the EFI_SERVICES SystemTable pointer that is passed into 
its entry point.
Both are correct and both are current.

For writing and compiling look at the links for 
http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=Getting_Started_with_EDK_II
This show how to compile EDK II in several OS/Compiler environments

For another example:
http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=Getting_Started_Writing_Simple_Application


thanks,
Laurie

laurie.jarlst...@intel.com<mailto:laurie.jarlst...@intel.com>
EFI / Framework Technical
Marketing Engineering Team
(503) 712-9395
From: John Davis [mailto:davi...@gmail.com]
Sent: Thursday, January 30, 2014 12:38 PM
To: edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
Subject: [edk2] regarding the chapter 4 sample program in the book Beyond Bios

Hello

I'm reading the Beyond Bios book in conjunction with the stuff on tianocore.  
The example code in chapter 4 of that book talks about a HelloApplication.  The 
format looks different from the sample code in AppPkg\Hello directory of the 
EDK2 src.  Is that format/api shown in the book obsolete?  The book does not 
say how to compile it or even where to put it and I am confused.

--
John F. Davis
6 Kandes Court
Durham, NC 27713
919-888-8358

独树一帜
------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to