Revision: 16142
http://sourceforge.net/p/edk2/code/16142
Author: darylm503
Date: 2014-09-18 19:13:22 +0000 (Thu, 18 Sep 2014)
Log Message:
-----------
StdLib: Produce DevMedia as a library class alternative to DevShell.
AppPkg: Replace existing DevShell dependencies with DevMedia.
These patches will NOT cause existing code which uses DevShell to break.
During an interim period, either DevShell or DevMedia may be used.
In the future, DevShell will be removed from the code base.
During the interim, DevShell and DevMedia refer to the same library.
StdLib/LibC/Uefi/Devices/daShell.inf
Make this library also satisfy the DevMedia library class.
StdLib/StdLib.inc
Add a library class definition for DevMedia
AppPkg/Applications/OrderedCollectionTest/OrderedCollectionTest.inf
AppPkg/Applications/Python/PythonCore.inf
AppPkg/Applications/Sockets/GetAddrInfo/GetAddrInfo.inf
AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.inf
AppPkg/Applications/Sockets/GetHostByDns/GetHostByDns.inf
AppPkg/Applications/Sockets/GetHostByName/GetHostByName.inf
AppPkg/Applications/Sockets/GetNameInfo/GetNameInfo.inf
AppPkg/Applications/Sockets/GetNetByAddr/GetNetByAddr.inf
AppPkg/Applications/Sockets/GetNetByName/GetNetByName.inf
AppPkg/Applications/Sockets/GetServByName/GetServByName.inf
AppPkg/Applications/Sockets/GetServByPort/GetServByPort.inf
AppPkg/Applications/Sockets/RecvDgram/RecvDgram.inf
AppPkg/Applications/Sockets/SetHostName/SetHostName.inf
AppPkg/Applications/Sockets/SetSockOpt/SetSockOpt.inf
AppPkg/Applications/Sockets/TftpServer/TftpServer.inf
AppPkg/Applications/Sockets/WebServer/WebServer.inf
Change LibraryClass dependency from DevShell to DevMedia
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Daryl McDaniel <[email protected]>
Reviewed-by: Jaben Carsey <[email protected]>
Modified Paths:
--------------
trunk/edk2/AppPkg/Applications/OrderedCollectionTest/OrderedCollectionTest.inf
trunk/edk2/AppPkg/Applications/Python/PythonCore.inf
trunk/edk2/AppPkg/Applications/Sockets/GetAddrInfo/GetAddrInfo.inf
trunk/edk2/AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.inf
trunk/edk2/AppPkg/Applications/Sockets/GetHostByDns/GetHostByDns.inf
trunk/edk2/AppPkg/Applications/Sockets/GetHostByName/GetHostByName.inf
trunk/edk2/AppPkg/Applications/Sockets/GetNameInfo/GetNameInfo.inf
trunk/edk2/AppPkg/Applications/Sockets/GetNetByAddr/GetNetByAddr.inf
trunk/edk2/AppPkg/Applications/Sockets/GetNetByName/GetNetByName.inf
trunk/edk2/AppPkg/Applications/Sockets/GetServByName/GetServByName.inf
trunk/edk2/AppPkg/Applications/Sockets/GetServByPort/GetServByPort.inf
trunk/edk2/AppPkg/Applications/Sockets/RecvDgram/RecvDgram.inf
trunk/edk2/AppPkg/Applications/Sockets/SetHostName/SetHostName.inf
trunk/edk2/AppPkg/Applications/Sockets/SetSockOpt/SetSockOpt.inf
trunk/edk2/AppPkg/Applications/Sockets/TftpServer/TftpServer.inf
trunk/edk2/AppPkg/Applications/Sockets/WebServer/WebServer.inf
trunk/edk2/StdLib/LibC/Uefi/Devices/daShell.inf
trunk/edk2/StdLib/StdLib.inc
Modified:
trunk/edk2/AppPkg/Applications/OrderedCollectionTest/OrderedCollectionTest.inf
===================================================================
---
trunk/edk2/AppPkg/Applications/OrderedCollectionTest/OrderedCollectionTest.inf
2014-09-18 18:11:24 UTC (rev 16141)
+++
trunk/edk2/AppPkg/Applications/OrderedCollectionTest/OrderedCollectionTest.inf
2014-09-18 19:13:22 UTC (rev 16142)
@@ -38,5 +38,5 @@
[LibraryClasses]
LibC
LibStdio
- DevShell
+ DevMedia
OrderedCollectionLib
Modified: trunk/edk2/AppPkg/Applications/Python/PythonCore.inf
===================================================================
--- trunk/edk2/AppPkg/Applications/Python/PythonCore.inf 2014-09-18
18:11:24 UTC (rev 16141)
+++ trunk/edk2/AppPkg/Applications/Python/PythonCore.inf 2014-09-18
19:13:22 UTC (rev 16142)
@@ -41,7 +41,7 @@
LibWchar
LibGen
LibNetUtil
- DevShell
+ DevMedia
#
# Comment out the following two library classes if socket support is
# NOT being built in to Python.
Modified: trunk/edk2/AppPkg/Applications/Sockets/GetAddrInfo/GetAddrInfo.inf
===================================================================
--- trunk/edk2/AppPkg/Applications/Sockets/GetAddrInfo/GetAddrInfo.inf
2014-09-18 18:11:24 UTC (rev 16141)
+++ trunk/edk2/AppPkg/Applications/Sockets/GetAddrInfo/GetAddrInfo.inf
2014-09-18 19:13:22 UTC (rev 16142)
@@ -40,7 +40,7 @@
[LibraryClasses]
BaseMemoryLib
BsdSocketLib
- DevShell
+ DevMedia
EfiSocketLib
LibC
LibMath
Modified: trunk/edk2/AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.inf
===================================================================
--- trunk/edk2/AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.inf
2014-09-18 18:11:24 UTC (rev 16141)
+++ trunk/edk2/AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.inf
2014-09-18 19:13:22 UTC (rev 16142)
@@ -41,7 +41,7 @@
BaseMemoryLib
BsdSocketLib
DebugLib
- DevShell
+ DevMedia
EfiSocketLib
LibC
LibMath
Modified: trunk/edk2/AppPkg/Applications/Sockets/GetHostByDns/GetHostByDns.inf
===================================================================
--- trunk/edk2/AppPkg/Applications/Sockets/GetHostByDns/GetHostByDns.inf
2014-09-18 18:11:24 UTC (rev 16141)
+++ trunk/edk2/AppPkg/Applications/Sockets/GetHostByDns/GetHostByDns.inf
2014-09-18 19:13:22 UTC (rev 16142)
@@ -41,7 +41,7 @@
BaseMemoryLib
BsdSocketLib
DebugLib
- DevShell
+ DevMedia
EfiSocketLib
LibC
LibMath
Modified: trunk/edk2/AppPkg/Applications/Sockets/GetHostByName/GetHostByName.inf
===================================================================
--- trunk/edk2/AppPkg/Applications/Sockets/GetHostByName/GetHostByName.inf
2014-09-18 18:11:24 UTC (rev 16141)
+++ trunk/edk2/AppPkg/Applications/Sockets/GetHostByName/GetHostByName.inf
2014-09-18 19:13:22 UTC (rev 16142)
@@ -41,7 +41,7 @@
BaseMemoryLib
BsdSocketLib
DebugLib
- DevShell
+ DevMedia
EfiSocketLib
LibC
LibMath
Modified: trunk/edk2/AppPkg/Applications/Sockets/GetNameInfo/GetNameInfo.inf
===================================================================
--- trunk/edk2/AppPkg/Applications/Sockets/GetNameInfo/GetNameInfo.inf
2014-09-18 18:11:24 UTC (rev 16141)
+++ trunk/edk2/AppPkg/Applications/Sockets/GetNameInfo/GetNameInfo.inf
2014-09-18 19:13:22 UTC (rev 16142)
@@ -40,7 +40,7 @@
[LibraryClasses]
BaseMemoryLib
BsdSocketLib
- DevShell
+ DevMedia
EfiSocketLib
LibC
LibMath
Modified: trunk/edk2/AppPkg/Applications/Sockets/GetNetByAddr/GetNetByAddr.inf
===================================================================
--- trunk/edk2/AppPkg/Applications/Sockets/GetNetByAddr/GetNetByAddr.inf
2014-09-18 18:11:24 UTC (rev 16141)
+++ trunk/edk2/AppPkg/Applications/Sockets/GetNetByAddr/GetNetByAddr.inf
2014-09-18 19:13:22 UTC (rev 16142)
@@ -41,7 +41,7 @@
BaseMemoryLib
BsdSocketLib
DebugLib
- DevShell
+ DevMedia
EfiSocketLib
LibC
LibMath
Modified: trunk/edk2/AppPkg/Applications/Sockets/GetNetByName/GetNetByName.inf
===================================================================
--- trunk/edk2/AppPkg/Applications/Sockets/GetNetByName/GetNetByName.inf
2014-09-18 18:11:24 UTC (rev 16141)
+++ trunk/edk2/AppPkg/Applications/Sockets/GetNetByName/GetNetByName.inf
2014-09-18 19:13:22 UTC (rev 16142)
@@ -41,7 +41,7 @@
BaseMemoryLib
BsdSocketLib
DebugLib
- DevShell
+ DevMedia
EfiSocketLib
LibC
LibMath
Modified: trunk/edk2/AppPkg/Applications/Sockets/GetServByName/GetServByName.inf
===================================================================
--- trunk/edk2/AppPkg/Applications/Sockets/GetServByName/GetServByName.inf
2014-09-18 18:11:24 UTC (rev 16141)
+++ trunk/edk2/AppPkg/Applications/Sockets/GetServByName/GetServByName.inf
2014-09-18 19:13:22 UTC (rev 16142)
@@ -41,7 +41,7 @@
BaseMemoryLib
BsdSocketLib
DebugLib
- DevShell
+ DevMedia
EfiSocketLib
LibC
LibMath
Modified: trunk/edk2/AppPkg/Applications/Sockets/GetServByPort/GetServByPort.inf
===================================================================
--- trunk/edk2/AppPkg/Applications/Sockets/GetServByPort/GetServByPort.inf
2014-09-18 18:11:24 UTC (rev 16141)
+++ trunk/edk2/AppPkg/Applications/Sockets/GetServByPort/GetServByPort.inf
2014-09-18 19:13:22 UTC (rev 16142)
@@ -41,7 +41,7 @@
BaseMemoryLib
BsdSocketLib
DebugLib
- DevShell
+ DevMedia
EfiSocketLib
LibC
LibMath
Modified: trunk/edk2/AppPkg/Applications/Sockets/RecvDgram/RecvDgram.inf
===================================================================
--- trunk/edk2/AppPkg/Applications/Sockets/RecvDgram/RecvDgram.inf
2014-09-18 18:11:24 UTC (rev 16141)
+++ trunk/edk2/AppPkg/Applications/Sockets/RecvDgram/RecvDgram.inf
2014-09-18 19:13:22 UTC (rev 16142)
@@ -41,7 +41,7 @@
BaseMemoryLib
BsdSocketLib
DebugLib
- DevShell
+ DevMedia
EfiSocketLib
LibC
LibMath
Modified: trunk/edk2/AppPkg/Applications/Sockets/SetHostName/SetHostName.inf
===================================================================
--- trunk/edk2/AppPkg/Applications/Sockets/SetHostName/SetHostName.inf
2014-09-18 18:11:24 UTC (rev 16141)
+++ trunk/edk2/AppPkg/Applications/Sockets/SetHostName/SetHostName.inf
2014-09-18 19:13:22 UTC (rev 16142)
@@ -41,7 +41,7 @@
BaseMemoryLib
BsdSocketLib
DebugLib
- DevShell
+ DevMedia
EfiSocketLib
LibC
LibMath
Modified: trunk/edk2/AppPkg/Applications/Sockets/SetSockOpt/SetSockOpt.inf
===================================================================
--- trunk/edk2/AppPkg/Applications/Sockets/SetSockOpt/SetSockOpt.inf
2014-09-18 18:11:24 UTC (rev 16141)
+++ trunk/edk2/AppPkg/Applications/Sockets/SetSockOpt/SetSockOpt.inf
2014-09-18 19:13:22 UTC (rev 16142)
@@ -41,7 +41,7 @@
BaseMemoryLib
BsdSocketLib
DebugLib
- DevShell
+ DevMedia
EfiSocketLib
LibC
LibMath
Modified: trunk/edk2/AppPkg/Applications/Sockets/TftpServer/TftpServer.inf
===================================================================
--- trunk/edk2/AppPkg/Applications/Sockets/TftpServer/TftpServer.inf
2014-09-18 18:11:24 UTC (rev 16141)
+++ trunk/edk2/AppPkg/Applications/Sockets/TftpServer/TftpServer.inf
2014-09-18 19:13:22 UTC (rev 16142)
@@ -52,7 +52,7 @@
BaseMemoryLib
BsdSocketLib
DebugLib
- DevShell
+ DevMedia
EfiSocketLib
LibC
ShellLib
Modified: trunk/edk2/AppPkg/Applications/Sockets/WebServer/WebServer.inf
===================================================================
--- trunk/edk2/AppPkg/Applications/Sockets/WebServer/WebServer.inf
2014-09-18 18:11:24 UTC (rev 16141)
+++ trunk/edk2/AppPkg/Applications/Sockets/WebServer/WebServer.inf
2014-09-18 19:13:22 UTC (rev 16142)
@@ -75,7 +75,7 @@
BaseMemoryLib
BsdSocketLib
DebugLib
- DevShell
+ DevMedia
DxeServicesTableLib
EfiSocketLib
LibC
Modified: trunk/edk2/StdLib/LibC/Uefi/Devices/daShell.inf
===================================================================
--- trunk/edk2/StdLib/LibC/Uefi/Devices/daShell.inf 2014-09-18 18:11:24 UTC
(rev 16141)
+++ trunk/edk2/StdLib/LibC/Uefi/Devices/daShell.inf 2014-09-18 19:13:22 UTC
(rev 16142)
@@ -23,6 +23,7 @@
MODULE_TYPE = UEFI_APPLICATION
VERSION_STRING = 1.0
LIBRARY_CLASS = DevShell
+ LIBRARY_CLASS = DevMedia
CONSTRUCTOR = __ctor_DevShell
DESTRUCTOR = __dtor_DevShell
Modified: trunk/edk2/StdLib/StdLib.inc
===================================================================
--- trunk/edk2/StdLib/StdLib.inc 2014-09-18 18:11:24 UTC (rev 16141)
+++ trunk/edk2/StdLib/StdLib.inc 2014-09-18 19:13:22 UTC (rev 16142)
@@ -65,7 +65,8 @@
# Applications should not directly access any functions defined in these
libraries.
LibGdtoa|StdLib/LibC/gdtoa/gdtoa.inf
DevConsole|StdLib/LibC/Uefi/Devices/daConsole.inf
- DevShell|StdLib/LibC/Uefi/Devices/daShell.inf
+ DevShell|StdLib/LibC/Uefi/Devices/daShell.inf # DEPRECATED! Please
use DevMedia for new code.
+ DevMedia|StdLib/LibC/Uefi/Devices/daShell.inf
DevUtility|StdLib/LibC/Uefi/Devices/daUtility.inf
[LibraryClasses.ARM]
------------------------------------------------------------------------------
Slashdot TV. Video for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits