On Sep 8, 2014, at 10:53 AM, Andrew Fish <[email protected]> wrote:

> You can try this:
> 
> In INF [LibraryClasses] section add:
> UefiBootServicesTableLib

> UefiBootServicesTableLib
> 

Typo: UefiRuntimeServicesTableLib

> 
> In the application add these includes before the POSIX ones. 
> 
> #include <Uefi.h>
> #include <Library/UefiBootServicesTableLib.h>

> #include <Library/UefiBootServicesTableLib.h>

Typo: #include <Library/UefiRuntimeServicesTableLib.h>

I was able to get 
https://svn.code.sf.net/p/edk2/code/trunk/edk2/AppPkg/Applications/Main/Main.c 
to compile using the above, corrected, patches. To me that implies you should 
be able to use the edk2 libraries in a StdLib application. 

Thanks,

Andrew Fish
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to