From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.31; helo=mga06.intel.com; envelope-from=ruiyu.ni@intel.com; receiver=edk2-devel@lists.01.org Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 85D2E210FC0C8 for ; Mon, 27 Aug 2018 00:52:47 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Aug 2018 00:52:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,294,1531810800"; d="scan'208";a="86641593" Received: from ray-dev.ccr.corp.intel.com ([10.239.9.8]) by orsmga002.jf.intel.com with ESMTP; 27 Aug 2018 00:52:46 -0700 From: Ruiyu Ni To: edk2-devel@lists.01.org Date: Mon, 27 Aug 2018 15:53:20 +0800 Message-Id: <20180827075330.269224-1-ruiyu.ni@intel.com> X-Mailer: git-send-email 2.16.1.windows.1 Subject: [PATCH 00/10] Quality improvement for EmulatorPkg Win Host X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Aug 2018 07:52:47 -0000 The patch sets make Win Host boot in 64 bit, fix all SCT issues regarding to console input/output, switch to use MdeModulePkg/Bds. Ruiyu Ni (10): EmulatorPkg/EmuGopDxe: Fix TxtInEx.SetState SCT conformance failure EmulatorPkg/EmuGopDxe: Clear screen to black in GOP.SetMode EmulatorPkg/Win: Use FrameBufferBltLib for BLT operation EmulatorPkg/Win: ReadKeyStrokeEx() always returns correct KeyState EmulatorPkg/Win: Do not zero out file content EmulatorPkg/Win: Enable 64bit (SEC,PEI,DXE all run at 64bit) EmulatorPkg/AutoScanPei: Report the correct CPU address size EmulatorPkg/Win: Add VS2017 project file EmulatorPkg: Use MdeModulePkg/Bds module EmulatorPkg: IoThunk->Close() is called too early, may causing hang EmulatorPkg/AutoScanPei/AutoScanPei.c | 17 +- EmulatorPkg/EmuBlockIoDxe/EmuBlockIo.c | 14 +- EmulatorPkg/EmuGopDxe/GopInput.c | 11 +- EmulatorPkg/EmuGopDxe/GopScreen.c | 8 +- .../EmuSimpleFileSystemDxe/EmuSimpleFileSystem.c | 10 +- EmulatorPkg/EmuSnpDxe/EmuSnpDxe.c | 32 +- EmulatorPkg/EmulatorPkg.dsc | 38 +- EmulatorPkg/EmulatorPkg.fdf | 21 +- EmulatorPkg/Library/EmuBdsLib/BdsPlatform.c | 559 --------------------- EmulatorPkg/Library/PlatformBmLib/PlatformBm.c | 435 ++++++++++++++++ .../BdsPlatform.h => PlatformBmLib/PlatformBm.h} | 57 +-- .../PlatformBmData.c} | 13 +- .../PlatformBmLib.inf} | 28 +- .../Library/PlatformBmLib/PlatformBmMemoryTest.c | 133 +++++ EmulatorPkg/Win/Host/WinBlockIo.c | 30 +- EmulatorPkg/Win/Host/WinGop.h | 4 +- EmulatorPkg/Win/Host/WinGopInput.c | 17 + EmulatorPkg/Win/Host/WinGopScreen.c | 218 +++----- EmulatorPkg/Win/Host/WinHost.c | 2 +- EmulatorPkg/Win/Host/WinHost.inf | 1 + EmulatorPkg/Win/VS2017/BuildVS.bat | 3 + EmulatorPkg/Win/VS2017/Win.sln | 31 ++ EmulatorPkg/Win/VS2017/Win.vcxproj | 120 +++++ EmulatorPkg/Win/VS2017/Win.vcxproj.filters | 50 ++ EmulatorPkg/Win/VS2017/Win.vcxproj.user | 13 + 25 files changed, 1046 insertions(+), 819 deletions(-) delete mode 100644 EmulatorPkg/Library/EmuBdsLib/BdsPlatform.c create mode 100644 EmulatorPkg/Library/PlatformBmLib/PlatformBm.c rename EmulatorPkg/Library/{EmuBdsLib/BdsPlatform.h => PlatformBmLib/PlatformBm.h} (62%) rename EmulatorPkg/Library/{EmuBdsLib/PlatformData.c => PlatformBmLib/PlatformBmData.c} (77%) rename EmulatorPkg/Library/{EmuBdsLib/EmuBdsLib.inf => PlatformBmLib/PlatformBmLib.inf} (71%) create mode 100644 EmulatorPkg/Library/PlatformBmLib/PlatformBmMemoryTest.c create mode 100644 EmulatorPkg/Win/VS2017/BuildVS.bat create mode 100644 EmulatorPkg/Win/VS2017/Win.sln create mode 100644 EmulatorPkg/Win/VS2017/Win.vcxproj create mode 100644 EmulatorPkg/Win/VS2017/Win.vcxproj.filters create mode 100644 EmulatorPkg/Win/VS2017/Win.vcxproj.user -- 2.16.1.windows.1