Re: [Patch V3 0/4] EmulatorPkg: Fix VS20xx IA32 boot and simplify build config


Jordan Justen
 

On 2019-08-09 15:44:01, Michael D Kinney wrote:
New in V3
==========
* Fix size value used in call to AsciiStrCpyS() in PosixFileSystem.c
* Fix XCODE5 safe string function build failure in BerkleyPacketFilter.c
* Add NOOPT build target to DSC file.

New in V2
=========
* Fix size values in safe string function calls.
* Update POSIX sources to use AsciiStrCpyS() and AsciiStrCatS().
* Verify that no exceptions occur if EMU_MAGIC_PAGE() can not be mapped. An
error message is generated and the host app exits normally.
* Update EmulatorPkg DEC file with a new PcdPeiServicesTablePage default value
that works for Windows/POSIX hosts for both IA32 and X64.

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

* Fix VS20xx IA32 boot failure
* Remove UNIX_SEC_BUILD/WIN_SEC_BUILD
* Add -D DISABLE_NEW_DEPRECATED_INTERFACES

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>

Michael D Kinney (4):
EmulatorPkg: Fix VS20xx IA32 boot failure
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>

EmulatorPkg: Remove UNIX_SEC_BUILD/WIN_SEC_BUILD
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>

EmulatorPkg: Add -D DISABLE_NEW_DEPRECATED_INTERFACES
Acked-by: Jordan Justen <jordan.l.justen@intel.com>

EmulatorPkg: Add support for NOOPT target
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>

Were you able to test this still boots on Linux?

-Jordan


EmulatorPkg/EmuBusDriverDxe/EmuBusDriverDxe.c | 9 +-
EmulatorPkg/EmulatorPkg.dec | 4 +-
EmulatorPkg/EmulatorPkg.dsc | 34 ++---
EmulatorPkg/FlashMapPei/FlashMapPei.c | 8 +-
EmulatorPkg/Library/SmbiosLib/SmbiosLib.c | 4 +-
.../ThunkProtocolList/ThunkProtocolList.c | 11 +-
EmulatorPkg/Readme.md | 8 +-
EmulatorPkg/Unix/Host/BerkeleyPacketFilter.c | 10 +-
EmulatorPkg/Unix/Host/PosixFileSystem.c | 80 ++++++++----
EmulatorPkg/Unix/Host/X11GraphicsWindow.c | 4 +-
EmulatorPkg/Win/Host/WinFileSystem.c | 116 ++++++++++++------
EmulatorPkg/Win/VS2017/BuildVS.bat | 2 +-
EmulatorPkg/build.sh | 8 +-
13 files changed, 197 insertions(+), 101 deletions(-)

--
2.21.0.windows.1

Join devel@edk2.groups.io to automatically receive all group messages.