From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.136, mailfrom: michael.d.kinney@intel.com) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by groups.io with SMTP; Wed, 07 Aug 2019 19:25:59 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Aug 2019 19:25:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,358,1559545200"; d="scan'208";a="168833318" Received: from unknown (HELO mdkinney-MOBL2.amr.corp.intel.com) ([10.241.98.74]) by orsmga008.jf.intel.com with ESMTP; 07 Aug 2019 19:25:58 -0700 From: "Michael D Kinney" To: devel@edk2.groups.io Cc: Jordan Justen , Andrew Fish , Ray Ni Subject: [Patch V2 0/3] EmulatorPkg: Fix VS20xx IA32 boot and simplify build config Date: Wed, 7 Aug 2019 19:25:53 -0700 Message-Id: <20190808022556.18828-1-michael.d.kinney@intel.com> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Cc: Andrew Fish Cc: Ray Ni Signed-off-by: Michael D Kinney 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