diff options
author | Daryl McDaniel <daryl.mcdaniel@intel.com> | 2014-09-18 19:13:22 +0000 |
---|---|---|
committer | darylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-09-18 19:13:22 +0000 |
commit | efb419ea76fb685688507fc6491f3969ee10cd67 (patch) | |
tree | 00e86ebb4ba0b6ed0d0f2e48e48e0b1d8242b80c | |
parent | 6f5872b1f4013f58c6d2f446d885edd6c8ea6d21 (diff) |
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 <daryl.mcdaniel@intel.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16142 6f19259b-4bc3-4df7-8a09-765794883524
18 files changed, 19 insertions, 17 deletions
diff --git a/AppPkg/Applications/OrderedCollectionTest/OrderedCollectionTest.inf b/AppPkg/Applications/OrderedCollectionTest/OrderedCollectionTest.inf index 5eb71fe49..cfa835b76 100644 --- a/AppPkg/Applications/OrderedCollectionTest/OrderedCollectionTest.inf +++ b/AppPkg/Applications/OrderedCollectionTest/OrderedCollectionTest.inf @@ -38,5 +38,5 @@ [LibraryClasses]
LibC
LibStdio
- DevShell
+ DevMedia
OrderedCollectionLib
diff --git a/AppPkg/Applications/Python/PythonCore.inf b/AppPkg/Applications/Python/PythonCore.inf index 91c3afa22..ece84378f 100644 --- a/AppPkg/Applications/Python/PythonCore.inf +++ b/AppPkg/Applications/Python/PythonCore.inf @@ -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.
diff --git a/AppPkg/Applications/Sockets/GetAddrInfo/GetAddrInfo.inf b/AppPkg/Applications/Sockets/GetAddrInfo/GetAddrInfo.inf index 34267a860..bcfb98543 100644 --- a/AppPkg/Applications/Sockets/GetAddrInfo/GetAddrInfo.inf +++ b/AppPkg/Applications/Sockets/GetAddrInfo/GetAddrInfo.inf @@ -40,7 +40,7 @@ [LibraryClasses]
BaseMemoryLib
BsdSocketLib
- DevShell
+ DevMedia
EfiSocketLib
LibC
LibMath
diff --git a/AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.inf b/AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.inf index 9ed1d37ad..d164510db 100644 --- a/AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.inf +++ b/AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.inf @@ -41,7 +41,7 @@ BaseMemoryLib
BsdSocketLib
DebugLib
- DevShell
+ DevMedia
EfiSocketLib
LibC
LibMath
diff --git a/AppPkg/Applications/Sockets/GetHostByDns/GetHostByDns.inf b/AppPkg/Applications/Sockets/GetHostByDns/GetHostByDns.inf index 44d6fda75..985657830 100644 --- a/AppPkg/Applications/Sockets/GetHostByDns/GetHostByDns.inf +++ b/AppPkg/Applications/Sockets/GetHostByDns/GetHostByDns.inf @@ -41,7 +41,7 @@ BaseMemoryLib
BsdSocketLib
DebugLib
- DevShell
+ DevMedia
EfiSocketLib
LibC
LibMath
diff --git a/AppPkg/Applications/Sockets/GetHostByName/GetHostByName.inf b/AppPkg/Applications/Sockets/GetHostByName/GetHostByName.inf index f6d0aea46..a6f001a76 100644 --- a/AppPkg/Applications/Sockets/GetHostByName/GetHostByName.inf +++ b/AppPkg/Applications/Sockets/GetHostByName/GetHostByName.inf @@ -41,7 +41,7 @@ BaseMemoryLib
BsdSocketLib
DebugLib
- DevShell
+ DevMedia
EfiSocketLib
LibC
LibMath
diff --git a/AppPkg/Applications/Sockets/GetNameInfo/GetNameInfo.inf b/AppPkg/Applications/Sockets/GetNameInfo/GetNameInfo.inf index 0aa35a5b6..87f8910f8 100644 --- a/AppPkg/Applications/Sockets/GetNameInfo/GetNameInfo.inf +++ b/AppPkg/Applications/Sockets/GetNameInfo/GetNameInfo.inf @@ -40,7 +40,7 @@ [LibraryClasses]
BaseMemoryLib
BsdSocketLib
- DevShell
+ DevMedia
EfiSocketLib
LibC
LibMath
diff --git a/AppPkg/Applications/Sockets/GetNetByAddr/GetNetByAddr.inf b/AppPkg/Applications/Sockets/GetNetByAddr/GetNetByAddr.inf index 003b89fd9..f1b3954bc 100644 --- a/AppPkg/Applications/Sockets/GetNetByAddr/GetNetByAddr.inf +++ b/AppPkg/Applications/Sockets/GetNetByAddr/GetNetByAddr.inf @@ -41,7 +41,7 @@ BaseMemoryLib
BsdSocketLib
DebugLib
- DevShell
+ DevMedia
EfiSocketLib
LibC
LibMath
diff --git a/AppPkg/Applications/Sockets/GetNetByName/GetNetByName.inf b/AppPkg/Applications/Sockets/GetNetByName/GetNetByName.inf index e5e741648..bfb1cd61b 100644 --- a/AppPkg/Applications/Sockets/GetNetByName/GetNetByName.inf +++ b/AppPkg/Applications/Sockets/GetNetByName/GetNetByName.inf @@ -41,7 +41,7 @@ BaseMemoryLib
BsdSocketLib
DebugLib
- DevShell
+ DevMedia
EfiSocketLib
LibC
LibMath
diff --git a/AppPkg/Applications/Sockets/GetServByName/GetServByName.inf b/AppPkg/Applications/Sockets/GetServByName/GetServByName.inf index 5c10b9014..1b66e50a3 100644 --- a/AppPkg/Applications/Sockets/GetServByName/GetServByName.inf +++ b/AppPkg/Applications/Sockets/GetServByName/GetServByName.inf @@ -41,7 +41,7 @@ BaseMemoryLib
BsdSocketLib
DebugLib
- DevShell
+ DevMedia
EfiSocketLib
LibC
LibMath
diff --git a/AppPkg/Applications/Sockets/GetServByPort/GetServByPort.inf b/AppPkg/Applications/Sockets/GetServByPort/GetServByPort.inf index a6b5b61ab..d2a387f36 100644 --- a/AppPkg/Applications/Sockets/GetServByPort/GetServByPort.inf +++ b/AppPkg/Applications/Sockets/GetServByPort/GetServByPort.inf @@ -41,7 +41,7 @@ BaseMemoryLib
BsdSocketLib
DebugLib
- DevShell
+ DevMedia
EfiSocketLib
LibC
LibMath
diff --git a/AppPkg/Applications/Sockets/RecvDgram/RecvDgram.inf b/AppPkg/Applications/Sockets/RecvDgram/RecvDgram.inf index 89e907c14..9a9ca711c 100644 --- a/AppPkg/Applications/Sockets/RecvDgram/RecvDgram.inf +++ b/AppPkg/Applications/Sockets/RecvDgram/RecvDgram.inf @@ -41,7 +41,7 @@ BaseMemoryLib
BsdSocketLib
DebugLib
- DevShell
+ DevMedia
EfiSocketLib
LibC
LibMath
diff --git a/AppPkg/Applications/Sockets/SetHostName/SetHostName.inf b/AppPkg/Applications/Sockets/SetHostName/SetHostName.inf index 97b63822b..ed1b4951e 100644 --- a/AppPkg/Applications/Sockets/SetHostName/SetHostName.inf +++ b/AppPkg/Applications/Sockets/SetHostName/SetHostName.inf @@ -41,7 +41,7 @@ BaseMemoryLib
BsdSocketLib
DebugLib
- DevShell
+ DevMedia
EfiSocketLib
LibC
LibMath
diff --git a/AppPkg/Applications/Sockets/SetSockOpt/SetSockOpt.inf b/AppPkg/Applications/Sockets/SetSockOpt/SetSockOpt.inf index 8f6ab004e..e088be7cc 100644 --- a/AppPkg/Applications/Sockets/SetSockOpt/SetSockOpt.inf +++ b/AppPkg/Applications/Sockets/SetSockOpt/SetSockOpt.inf @@ -41,7 +41,7 @@ BaseMemoryLib
BsdSocketLib
DebugLib
- DevShell
+ DevMedia
EfiSocketLib
LibC
LibMath
diff --git a/AppPkg/Applications/Sockets/TftpServer/TftpServer.inf b/AppPkg/Applications/Sockets/TftpServer/TftpServer.inf index f069494b3..79513c221 100644 --- a/AppPkg/Applications/Sockets/TftpServer/TftpServer.inf +++ b/AppPkg/Applications/Sockets/TftpServer/TftpServer.inf @@ -52,7 +52,7 @@ BaseMemoryLib
BsdSocketLib
DebugLib
- DevShell
+ DevMedia
EfiSocketLib
LibC
ShellLib
diff --git a/AppPkg/Applications/Sockets/WebServer/WebServer.inf b/AppPkg/Applications/Sockets/WebServer/WebServer.inf index 3650aef96..27faefba2 100644 --- a/AppPkg/Applications/Sockets/WebServer/WebServer.inf +++ b/AppPkg/Applications/Sockets/WebServer/WebServer.inf @@ -75,7 +75,7 @@ BaseMemoryLib
BsdSocketLib
DebugLib
- DevShell
+ DevMedia
DxeServicesTableLib
EfiSocketLib
LibC
diff --git a/StdLib/LibC/Uefi/Devices/daShell.inf b/StdLib/LibC/Uefi/Devices/daShell.inf index 56710259b..7c456cb65 100644 --- a/StdLib/LibC/Uefi/Devices/daShell.inf +++ b/StdLib/LibC/Uefi/Devices/daShell.inf @@ -23,6 +23,7 @@ MODULE_TYPE = UEFI_APPLICATION
VERSION_STRING = 1.0
LIBRARY_CLASS = DevShell
+ LIBRARY_CLASS = DevMedia
CONSTRUCTOR = __ctor_DevShell
DESTRUCTOR = __dtor_DevShell
diff --git a/StdLib/StdLib.inc b/StdLib/StdLib.inc index 60f4cc4d1..cb54be154 100644 --- a/StdLib/StdLib.inc +++ b/StdLib/StdLib.inc @@ -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]
|