[edk2-devel] [Patch V4 00/10] EmulatorPkg: Fix VS20xx IA32 boot and simplify build config

Michael D Kinney posted 10 patches 4 years, 7 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
BaseTools/Conf/tools_def.template             |   4 +-
EmulatorPkg/EmuBusDriverDxe/EmuBusDriverDxe.c |   9 +-
EmulatorPkg/EmulatorPkg.dec                   |   4 +-
EmulatorPkg/EmulatorPkg.dsc                   |  38 +++---
EmulatorPkg/EmulatorPkg.fdf                   |   4 +
EmulatorPkg/FlashMapPei/FlashMapPei.c         |   8 +-
EmulatorPkg/Library/SmbiosLib/SmbiosLib.c     |   4 +-
.../ThunkProtocolList/ThunkProtocolList.c     |  11 +-
EmulatorPkg/Readme.md                         |   8 +-
EmulatorPkg/Sec/Sec.c                         |  16 ++-
EmulatorPkg/Unix/Host/BerkeleyPacketFilter.c  |  15 +--
EmulatorPkg/Unix/Host/Host.c                  |   3 +
EmulatorPkg/Unix/Host/Host.inf                |   4 +-
EmulatorPkg/Unix/Host/PosixFileSystem.c       |  80 ++++++++----
EmulatorPkg/Unix/Host/X11GraphicsWindow.c     |   4 +-
EmulatorPkg/Unix/lldbefi.py                   |   8 +-
EmulatorPkg/Win/Host/WinFileSystem.c          | 116 ++++++++++++------
EmulatorPkg/Win/VS2017/BuildVS.bat            |   2 +-
EmulatorPkg/build.sh                          |  25 +---
19 files changed, 227 insertions(+), 136 deletions(-)
[edk2-devel] [Patch V4 00/10] EmulatorPkg: Fix VS20xx IA32 boot and simplify build config
Posted by Michael D Kinney 4 years, 7 months ago
New in V4 (Resolve XCODE5 issues)
==================================
* Disable inline if SecGdbScriptBreak() for XCODE5 issues
* Disable XCODE5 compiler optimizations of Unix/Host
* Fix Host output location for XCODE5 X64 builds
* Update lldb scripts for XCODE5 symbiolic debugging
* Clean up BrekelyPlacketFilter.c for uninitialized variable and old debug code.
* Remove TftpDynamicCommand and LogoDxe modules from XCODE5 builds.  These 
  modules use HII section in a PE/COFF resource sections that is not currently
  supported by XCODE5 builds.
* EmulatorPkg/Sec - Move declaration of PpiArray[10] to beginning of function
  so storage is for entire lifetime of the function.  Delaractrion in the 
  middle of the function in {} cause corruption and exceptions in XCODE5 builds.
* Add -gdwarf flag to tols_def.template for XCODE5 X64 for symbolic debug.

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 (10):
  EmulatorPkg: Fix VS20xx IA32 boot failure
  EmulatorPkg: Remove UNIX_SEC_BUILD/WIN_SEC_BUILD
  EmulatorPkg: Add -D DISABLE_NEW_DEPRECATED_INTERFACES
  EmulatorPkg: Add support for NOOPT target
  EmulatorPkg/Unix/Host: Disable inline/optimizations
  EmulatorPkg: Fix XCODE5 lldb issues
  EmulatorPkg/Unix/Host: Fix BerkeleyPacketFilter.c issues
  EmulatorPkg: Disable TftpDynamicCommand and LogoDxe for XCODE5
  EmulatorPkg/Sec: Change local variable scope for XCODE5
  BaseTools/tools_def.template: Add -gdwarf to XCODE5 X64

 BaseTools/Conf/tools_def.template             |   4 +-
 EmulatorPkg/EmuBusDriverDxe/EmuBusDriverDxe.c |   9 +-
 EmulatorPkg/EmulatorPkg.dec                   |   4 +-
 EmulatorPkg/EmulatorPkg.dsc                   |  38 +++---
 EmulatorPkg/EmulatorPkg.fdf                   |   4 +
 EmulatorPkg/FlashMapPei/FlashMapPei.c         |   8 +-
 EmulatorPkg/Library/SmbiosLib/SmbiosLib.c     |   4 +-
 .../ThunkProtocolList/ThunkProtocolList.c     |  11 +-
 EmulatorPkg/Readme.md                         |   8 +-
 EmulatorPkg/Sec/Sec.c                         |  16 ++-
 EmulatorPkg/Unix/Host/BerkeleyPacketFilter.c  |  15 +--
 EmulatorPkg/Unix/Host/Host.c                  |   3 +
 EmulatorPkg/Unix/Host/Host.inf                |   4 +-
 EmulatorPkg/Unix/Host/PosixFileSystem.c       |  80 ++++++++----
 EmulatorPkg/Unix/Host/X11GraphicsWindow.c     |   4 +-
 EmulatorPkg/Unix/lldbefi.py                   |   8 +-
 EmulatorPkg/Win/Host/WinFileSystem.c          | 116 ++++++++++++------
 EmulatorPkg/Win/VS2017/BuildVS.bat            |   2 +-
 EmulatorPkg/build.sh                          |  25 +---
 19 files changed, 227 insertions(+), 136 deletions(-)

-- 
2.21.0.windows.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#45758): https://edk2.groups.io/g/devel/message/45758
Mute This Topic: https://groups.io/mt/32894345/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-