summaryrefslogtreecommitdiffstats
path: root/AppPkg
diff options
context:
space:
mode:
authordarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>2011-06-28 02:38:33 +0000
committerdarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>2011-06-28 02:38:33 +0000
commit65126b4ebeafd738921c4c0da7f31ea1ed127d4e (patch)
tree38cce8326093c03dcd8b1b43ca2faed8178f03ed /AppPkg
parent53e1e5c647b73e45569ed6e8b8a0a5b276aa685e (diff)
downloadedk2-65126b4ebeafd738921c4c0da7f31ea1ed127d4e.tar.gz
edk2-65126b4ebeafd738921c4c0da7f31ea1ed127d4e.tar.bz2
edk2-65126b4ebeafd738921c4c0da7f31ea1ed127d4e.zip
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
Diffstat (limited to 'AppPkg')
-rw-r--r--AppPkg/AppPkg.dsc6
-rw-r--r--AppPkg/Applications/Main/Main.inf4
2 files changed, 8 insertions, 2 deletions
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-