From 65126b4ebeafd738921c4c0da7f31ea1ed127d4e Mon Sep 17 00:00:00 2001 From: darylm503 Date: Tue, 28 Jun 2011 02:38:33 +0000 Subject: Changes required to build using the new device abstraction capability of StdLib. Applications which require file-system functionality must have DevShell listed in the [LibraryClasses] section of the application's INF file. Entries for the device abstraction Library Classes must be added to the application's package's DSC file. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11909 6f19259b-4bc3-4df7-8a09-765794883524 --- AppPkg/AppPkg.dsc | 6 ++++++ AppPkg/Applications/Main/Main.inf | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'AppPkg') diff --git a/AppPkg/AppPkg.dsc b/AppPkg/AppPkg.dsc index ffa4b0f69c..d0c7a56ee2 100644 --- a/AppPkg/AppPkg.dsc +++ b/AppPkg/AppPkg.dsc @@ -85,6 +85,12 @@ LibSignal|StdLib/LibC/Signal/Signal.inf LibNetUtil|StdLib/LibC/NetUtil/NetUtil.inf + # Libraries for device abstractions within the Standard C Library + # Applications should not directly access any functions defined in these libraries. + DevUtility|StdLib/LibC/Uefi/Devices/daUtility.inf + DevConsole|StdLib/LibC/Uefi/Devices/daConsole.inf + DevShell|StdLib/LibC/Uefi/Devices/daShell.inf + [LibraryClasses.IA32] TimerLib|PerformancePkg/Library/DxeTscTimerLib/DxeTscTimerLib.inf ## Comment out the above line and un-comment the line below for running under Nt32 emulation. diff --git a/AppPkg/Applications/Main/Main.inf b/AppPkg/Applications/Main/Main.inf index 750cf55d55..434c14593b 100644 --- a/AppPkg/Applications/Main/Main.inf +++ b/AppPkg/Applications/Main/Main.inf @@ -35,8 +35,8 @@ [LibraryClasses] LibC LibStdio -# UefiLib -# ShellCEntryLib + DevShell + [BuildOptions] MSFT:*_*_IA32_CC_FLAGS = /Oi- -- cgit v1.2.3