[edk2-devel] [Patch V2 0/3] EmulatorPkg: Fix VS20xx IA32 boot and simplify build config

Michael D Kinney posted 3 patches 4 years, 9 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
EmulatorPkg/EmuBusDriverDxe/EmuBusDriverDxe.c |   9 +-
EmulatorPkg/EmulatorPkg.dec                   |   4 +-
EmulatorPkg/EmulatorPkg.dsc                   |  32 ++---
EmulatorPkg/FlashMapPei/FlashMapPei.c         |   8 +-
EmulatorPkg/Library/SmbiosLib/SmbiosLib.c     |   4 +-
.../ThunkProtocolList/ThunkProtocolList.c     |  11 +-
EmulatorPkg/Readme.md                         |   8 +-
EmulatorPkg/Unix/Host/BerkeleyPacketFilter.c  |   8 +-
EmulatorPkg/Unix/Host/PosixFileSystem.c       |  77 ++++++++----
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, 193 insertions(+), 98 deletions(-)
[edk2-devel] [Patch V2 0/3] EmulatorPkg: Fix VS20xx IA32 boot and simplify build config
Posted by Michael D Kinney 4 years, 9 months ago
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 (3):
  EmulatorPkg: Fix VS20xx IA32 boot failure
  EmulatorPkg: Remove UNIX_SEC_BUILD/WIN_SEC_BUILD
  EmulatorPkg: Add -D DISABLE_NEW_DEPRECATED_INTERFACES

 EmulatorPkg/EmuBusDriverDxe/EmuBusDriverDxe.c |   9 +-
 EmulatorPkg/EmulatorPkg.dec                   |   4 +-
 EmulatorPkg/EmulatorPkg.dsc                   |  32 ++---
 EmulatorPkg/FlashMapPei/FlashMapPei.c         |   8 +-
 EmulatorPkg/Library/SmbiosLib/SmbiosLib.c     |   4 +-
 .../ThunkProtocolList/ThunkProtocolList.c     |  11 +-
 EmulatorPkg/Readme.md                         |   8 +-
 EmulatorPkg/Unix/Host/BerkeleyPacketFilter.c  |   8 +-
 EmulatorPkg/Unix/Host/PosixFileSystem.c       |  77 ++++++++----
 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, 193 insertions(+), 98 deletions(-)

-- 
2.21.0.windows.1


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

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