mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
6f5872b1f4
commit
efb419ea76
|
@ -38,5 +38,5 @@
|
||||||
[LibraryClasses]
|
[LibraryClasses]
|
||||||
LibC
|
LibC
|
||||||
LibStdio
|
LibStdio
|
||||||
DevShell
|
DevMedia
|
||||||
OrderedCollectionLib
|
OrderedCollectionLib
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
LibWchar
|
LibWchar
|
||||||
LibGen
|
LibGen
|
||||||
LibNetUtil
|
LibNetUtil
|
||||||
DevShell
|
DevMedia
|
||||||
#
|
#
|
||||||
# Comment out the following two library classes if socket support is
|
# Comment out the following two library classes if socket support is
|
||||||
# NOT being built in to Python.
|
# NOT being built in to Python.
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
[LibraryClasses]
|
[LibraryClasses]
|
||||||
BaseMemoryLib
|
BaseMemoryLib
|
||||||
BsdSocketLib
|
BsdSocketLib
|
||||||
DevShell
|
DevMedia
|
||||||
EfiSocketLib
|
EfiSocketLib
|
||||||
LibC
|
LibC
|
||||||
LibMath
|
LibMath
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
BaseMemoryLib
|
BaseMemoryLib
|
||||||
BsdSocketLib
|
BsdSocketLib
|
||||||
DebugLib
|
DebugLib
|
||||||
DevShell
|
DevMedia
|
||||||
EfiSocketLib
|
EfiSocketLib
|
||||||
LibC
|
LibC
|
||||||
LibMath
|
LibMath
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
BaseMemoryLib
|
BaseMemoryLib
|
||||||
BsdSocketLib
|
BsdSocketLib
|
||||||
DebugLib
|
DebugLib
|
||||||
DevShell
|
DevMedia
|
||||||
EfiSocketLib
|
EfiSocketLib
|
||||||
LibC
|
LibC
|
||||||
LibMath
|
LibMath
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
BaseMemoryLib
|
BaseMemoryLib
|
||||||
BsdSocketLib
|
BsdSocketLib
|
||||||
DebugLib
|
DebugLib
|
||||||
DevShell
|
DevMedia
|
||||||
EfiSocketLib
|
EfiSocketLib
|
||||||
LibC
|
LibC
|
||||||
LibMath
|
LibMath
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
[LibraryClasses]
|
[LibraryClasses]
|
||||||
BaseMemoryLib
|
BaseMemoryLib
|
||||||
BsdSocketLib
|
BsdSocketLib
|
||||||
DevShell
|
DevMedia
|
||||||
EfiSocketLib
|
EfiSocketLib
|
||||||
LibC
|
LibC
|
||||||
LibMath
|
LibMath
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
BaseMemoryLib
|
BaseMemoryLib
|
||||||
BsdSocketLib
|
BsdSocketLib
|
||||||
DebugLib
|
DebugLib
|
||||||
DevShell
|
DevMedia
|
||||||
EfiSocketLib
|
EfiSocketLib
|
||||||
LibC
|
LibC
|
||||||
LibMath
|
LibMath
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
BaseMemoryLib
|
BaseMemoryLib
|
||||||
BsdSocketLib
|
BsdSocketLib
|
||||||
DebugLib
|
DebugLib
|
||||||
DevShell
|
DevMedia
|
||||||
EfiSocketLib
|
EfiSocketLib
|
||||||
LibC
|
LibC
|
||||||
LibMath
|
LibMath
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
BaseMemoryLib
|
BaseMemoryLib
|
||||||
BsdSocketLib
|
BsdSocketLib
|
||||||
DebugLib
|
DebugLib
|
||||||
DevShell
|
DevMedia
|
||||||
EfiSocketLib
|
EfiSocketLib
|
||||||
LibC
|
LibC
|
||||||
LibMath
|
LibMath
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
BaseMemoryLib
|
BaseMemoryLib
|
||||||
BsdSocketLib
|
BsdSocketLib
|
||||||
DebugLib
|
DebugLib
|
||||||
DevShell
|
DevMedia
|
||||||
EfiSocketLib
|
EfiSocketLib
|
||||||
LibC
|
LibC
|
||||||
LibMath
|
LibMath
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
BaseMemoryLib
|
BaseMemoryLib
|
||||||
BsdSocketLib
|
BsdSocketLib
|
||||||
DebugLib
|
DebugLib
|
||||||
DevShell
|
DevMedia
|
||||||
EfiSocketLib
|
EfiSocketLib
|
||||||
LibC
|
LibC
|
||||||
LibMath
|
LibMath
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
BaseMemoryLib
|
BaseMemoryLib
|
||||||
BsdSocketLib
|
BsdSocketLib
|
||||||
DebugLib
|
DebugLib
|
||||||
DevShell
|
DevMedia
|
||||||
EfiSocketLib
|
EfiSocketLib
|
||||||
LibC
|
LibC
|
||||||
LibMath
|
LibMath
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
BaseMemoryLib
|
BaseMemoryLib
|
||||||
BsdSocketLib
|
BsdSocketLib
|
||||||
DebugLib
|
DebugLib
|
||||||
DevShell
|
DevMedia
|
||||||
EfiSocketLib
|
EfiSocketLib
|
||||||
LibC
|
LibC
|
||||||
LibMath
|
LibMath
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
BaseMemoryLib
|
BaseMemoryLib
|
||||||
BsdSocketLib
|
BsdSocketLib
|
||||||
DebugLib
|
DebugLib
|
||||||
DevShell
|
DevMedia
|
||||||
EfiSocketLib
|
EfiSocketLib
|
||||||
LibC
|
LibC
|
||||||
ShellLib
|
ShellLib
|
||||||
|
|
|
@ -75,7 +75,7 @@
|
||||||
BaseMemoryLib
|
BaseMemoryLib
|
||||||
BsdSocketLib
|
BsdSocketLib
|
||||||
DebugLib
|
DebugLib
|
||||||
DevShell
|
DevMedia
|
||||||
DxeServicesTableLib
|
DxeServicesTableLib
|
||||||
EfiSocketLib
|
EfiSocketLib
|
||||||
LibC
|
LibC
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
MODULE_TYPE = UEFI_APPLICATION
|
MODULE_TYPE = UEFI_APPLICATION
|
||||||
VERSION_STRING = 1.0
|
VERSION_STRING = 1.0
|
||||||
LIBRARY_CLASS = DevShell
|
LIBRARY_CLASS = DevShell
|
||||||
|
LIBRARY_CLASS = DevMedia
|
||||||
CONSTRUCTOR = __ctor_DevShell
|
CONSTRUCTOR = __ctor_DevShell
|
||||||
DESTRUCTOR = __dtor_DevShell
|
DESTRUCTOR = __dtor_DevShell
|
||||||
|
|
||||||
|
|
|
@ -65,7 +65,8 @@
|
||||||
# Applications should not directly access any functions defined in these libraries.
|
# Applications should not directly access any functions defined in these libraries.
|
||||||
LibGdtoa|StdLib/LibC/gdtoa/gdtoa.inf
|
LibGdtoa|StdLib/LibC/gdtoa/gdtoa.inf
|
||||||
DevConsole|StdLib/LibC/Uefi/Devices/daConsole.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
|
DevUtility|StdLib/LibC/Uefi/Devices/daUtility.inf
|
||||||
|
|
||||||
[LibraryClasses.ARM]
|
[LibraryClasses.ARM]
|
||||||
|
|
Loading…
Reference in New Issue