StdLib: Produce DevMedia as a library class alternative to DevShell.
authorDaryl McDaniel <daryl.mcdaniel@intel.com>
Thu, 18 Sep 2014 19:13:22 +0000 (19:13 +0000)
committerdarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 18 Sep 2014 19:13:22 +0000 (19:13 +0000)
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:
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
StdLib/LibC/Uefi/Devices/daShell.inf
StdLib/StdLib.inc

index 91c3afa..ece8437 100644 (file)
@@ -41,7 +41,7 @@
   LibWchar\r
   LibGen\r
   LibNetUtil\r
-  DevShell\r
+  DevMedia\r
   #\r
   # Comment out the following two library classes if socket support is\r
   # NOT being built in to Python.\r
index 34267a8..bcfb985 100644 (file)
@@ -40,7 +40,7 @@
 [LibraryClasses]\r
   BaseMemoryLib\r
   BsdSocketLib\r
-  DevShell\r
+  DevMedia\r
   EfiSocketLib\r
   LibC\r
   LibMath\r
index 9ed1d37..d164510 100644 (file)
@@ -41,7 +41,7 @@
   BaseMemoryLib\r
   BsdSocketLib\r
   DebugLib\r
-  DevShell\r
+  DevMedia\r
   EfiSocketLib\r
   LibC\r
   LibMath\r
index 44d6fda..9856578 100644 (file)
@@ -41,7 +41,7 @@
   BaseMemoryLib\r
   BsdSocketLib\r
   DebugLib\r
-  DevShell\r
+  DevMedia\r
   EfiSocketLib\r
   LibC\r
   LibMath\r
index f6d0aea..a6f001a 100644 (file)
@@ -41,7 +41,7 @@
   BaseMemoryLib\r
   BsdSocketLib\r
   DebugLib\r
-  DevShell\r
+  DevMedia\r
   EfiSocketLib\r
   LibC\r
   LibMath\r
index 0aa35a5..87f8910 100644 (file)
@@ -40,7 +40,7 @@
 [LibraryClasses]\r
   BaseMemoryLib\r
   BsdSocketLib\r
-  DevShell\r
+  DevMedia\r
   EfiSocketLib\r
   LibC\r
   LibMath\r
index 003b89f..f1b3954 100644 (file)
@@ -41,7 +41,7 @@
   BaseMemoryLib\r
   BsdSocketLib\r
   DebugLib\r
-  DevShell\r
+  DevMedia\r
   EfiSocketLib\r
   LibC\r
   LibMath\r
index e5e7416..bfb1cd6 100644 (file)
@@ -41,7 +41,7 @@
   BaseMemoryLib\r
   BsdSocketLib\r
   DebugLib\r
-  DevShell\r
+  DevMedia\r
   EfiSocketLib\r
   LibC\r
   LibMath\r
index 5c10b90..1b66e50 100644 (file)
@@ -41,7 +41,7 @@
   BaseMemoryLib\r
   BsdSocketLib\r
   DebugLib\r
-  DevShell\r
+  DevMedia\r
   EfiSocketLib\r
   LibC\r
   LibMath\r
index a6b5b61..d2a387f 100644 (file)
@@ -41,7 +41,7 @@
   BaseMemoryLib\r
   BsdSocketLib\r
   DebugLib\r
-  DevShell\r
+  DevMedia\r
   EfiSocketLib\r
   LibC\r
   LibMath\r
index 89e907c..9a9ca71 100644 (file)
@@ -41,7 +41,7 @@
   BaseMemoryLib\r
   BsdSocketLib\r
   DebugLib\r
-  DevShell\r
+  DevMedia\r
   EfiSocketLib\r
   LibC\r
   LibMath\r
index 97b6382..ed1b495 100644 (file)
@@ -41,7 +41,7 @@
   BaseMemoryLib\r
   BsdSocketLib\r
   DebugLib\r
-  DevShell\r
+  DevMedia\r
   EfiSocketLib\r
   LibC\r
   LibMath\r
index 8f6ab00..e088be7 100644 (file)
@@ -41,7 +41,7 @@
   BaseMemoryLib\r
   BsdSocketLib\r
   DebugLib\r
-  DevShell\r
+  DevMedia\r
   EfiSocketLib\r
   LibC\r
   LibMath\r
index f069494..79513c2 100644 (file)
@@ -52,7 +52,7 @@
   BaseMemoryLib\r
   BsdSocketLib\r
   DebugLib\r
-  DevShell\r
+  DevMedia\r
   EfiSocketLib\r
   LibC\r
   ShellLib\r
index 3650aef..27faefb 100644 (file)
@@ -75,7 +75,7 @@
   BaseMemoryLib\r
   BsdSocketLib\r
   DebugLib\r
-  DevShell\r
+  DevMedia\r
   DxeServicesTableLib\r
   EfiSocketLib\r
   LibC\r
index 5671025..7c456cb 100644 (file)
@@ -23,6 +23,7 @@
   MODULE_TYPE                   = UEFI_APPLICATION\r
   VERSION_STRING                = 1.0\r
   LIBRARY_CLASS                 = DevShell\r
+  LIBRARY_CLASS                 = DevMedia\r
   CONSTRUCTOR                   = __ctor_DevShell\r
   DESTRUCTOR                    = __dtor_DevShell\r
 \r
index 60f4cc4..cb54be1 100644 (file)
@@ -65,7 +65,8 @@
 # Applications should not directly access any functions defined in these libraries.\r
   LibGdtoa|StdLib/LibC/gdtoa/gdtoa.inf\r
   DevConsole|StdLib/LibC/Uefi/Devices/daConsole.inf\r
-  DevShell|StdLib/LibC/Uefi/Devices/daShell.inf\r
+  DevShell|StdLib/LibC/Uefi/Devices/daShell.inf       # DEPRECATED!  Please use DevMedia for new code.\r
+  DevMedia|StdLib/LibC/Uefi/Devices/daShell.inf\r
   DevUtility|StdLib/LibC/Uefi/Devices/daUtility.inf\r
 \r
 [LibraryClasses.ARM]\r