]> git.proxmox.com Git - mirror_edk2.git/commit
EmulatorPkg: Add -D DISABLE_NEW_DEPRECATED_INTERFACES
authorMichael D Kinney <michael.d.kinney@intel.com>
Wed, 7 Aug 2019 00:10:03 +0000 (17:10 -0700)
committerMichael D Kinney <michael.d.kinney@intel.com>
Mon, 19 Aug 2019 16:49:54 +0000 (09:49 -0700)
commit9e3ab94dc871926392b35dcf44c72ea74b1dd134
tree54b530f4fdf3650ad4b5c22fe7db7c0f212d116c
parent50509ec66c7a23acee1aaedfb5fb63871ee9b522
EmulatorPkg: Add -D DISABLE_NEW_DEPRECATED_INTERFACES

https://bugzilla.tianocore.org/show_bug.cgi?id=162

Update EmulatorPkg specific modules and libraries to use
safe string functions in BaseLib and safe PcdSetxx()
functions in PcdLib.  With these updates, the define
DISABLE_NEW_DEPRECATED_INTERFACES is enabled in the DSC
file.

Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Andrew Fish <afish@apple.com>
Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
Acked-by: Jordan Justen <jordan.l.justen@intel.com>
Tested-by: Andrew Fish <afish@apple.com>
EmulatorPkg/EmuBusDriverDxe/EmuBusDriverDxe.c
EmulatorPkg/EmulatorPkg.dsc
EmulatorPkg/FlashMapPei/FlashMapPei.c
EmulatorPkg/Library/SmbiosLib/SmbiosLib.c
EmulatorPkg/Library/ThunkProtocolList/ThunkProtocolList.c
EmulatorPkg/Unix/Host/BerkeleyPacketFilter.c
EmulatorPkg/Unix/Host/PosixFileSystem.c
EmulatorPkg/Unix/Host/X11GraphicsWindow.c
EmulatorPkg/Win/Host/WinFileSystem.c