From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.120; helo=mga04.intel.com; envelope-from=ruiyu.ni@intel.com; receiver=edk2-devel@lists.01.org Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (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 3EAF921102DA0 for ; Thu, 23 Aug 2018 02:55:38 -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 fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Aug 2018 02:55:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,278,1531810800"; d="scan'208";a="85741542" Received: from ray-dev.ccr.corp.intel.com ([10.239.9.8]) by orsmga002.jf.intel.com with ESMTP; 23 Aug 2018 02:55:37 -0700 From: Ruiyu Ni To: edk2-devel@lists.01.org Date: Thu, 23 Aug 2018 17:56:08 +0800 Message-Id: <20180823095620.280996-1-ruiyu.ni@intel.com> X-Mailer: git-send-email 2.16.1.windows.1 Subject: [PATCH v2 00/12] Add WinHost support in EmulatorPkg 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: Thu, 23 Aug 2018 09:55:39 -0000 REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1112 The patch sets add WinHost support (Nt32) in EmulatorPkg. 3 EmulatorPkg common issues were found and fixed. Other 9 patches are to step-by-step enable the WinHost. v2 sends to correct mail address. Ruiyu Ni (12): EmulatorPkg/ThunkProtocolList: Fix VS build failure EmulatorPkg/Win: Add Windows host support EmulatorPkg/Win: Enable source level debugging EmulatorPkg/Win: Enable native OS console as firmware console EmulatorPkg/Win: Add input/output support EmulatorPkg/Win: Add timer and interrupt support EmulatorPkg/Win: Add RTC support EmulatorPkg/Win: Add SimpleFileSystem support EmulatorPkg/Win: Add BlockIo support EmulatorPkg/PlatformBds: Signal EndOfDxe in platform BDS EmulatorPkg/EmuFileSystem: Fix a bug that causes Close() assertion EmulatorPkg/DSC: Remove FS mapping to EDK Shell bin directory .../EmuSimpleFileSystemDxe/EmuSimpleFileSystem.c | 33 +- EmulatorPkg/EmulatorPkg.dsc | 17 +- EmulatorPkg/Library/EmuBdsLib/BdsPlatform.c | 4 +- EmulatorPkg/Library/EmuBdsLib/BdsPlatform.h | 4 +- EmulatorPkg/Library/EmuBdsLib/EmuBdsLib.inf | 5 +- .../Library/ThunkProtocolList/ThunkProtocolList.c | 4 +- EmulatorPkg/Win/Host/WinBlockIo.c | 563 +++++ EmulatorPkg/Win/Host/WinFileSystem.c | 2409 ++++++++++++++++++++ EmulatorPkg/Win/Host/WinGop.h | 204 ++ EmulatorPkg/Win/Host/WinGopInput.c | 417 ++++ EmulatorPkg/Win/Host/WinGopScreen.c | 872 +++++++ EmulatorPkg/Win/Host/WinHost.c | 947 ++++++++ EmulatorPkg/Win/Host/WinHost.h | 209 ++ EmulatorPkg/Win/Host/WinHost.inf | 107 + EmulatorPkg/Win/Host/WinInclude.h | 75 + EmulatorPkg/Win/Host/WinMemoryAllocationLib.c | 178 ++ EmulatorPkg/Win/Host/WinThunk.c | 577 +++++ 17 files changed, 6614 insertions(+), 11 deletions(-) create mode 100644 EmulatorPkg/Win/Host/WinBlockIo.c create mode 100644 EmulatorPkg/Win/Host/WinFileSystem.c create mode 100644 EmulatorPkg/Win/Host/WinGop.h create mode 100644 EmulatorPkg/Win/Host/WinGopInput.c create mode 100644 EmulatorPkg/Win/Host/WinGopScreen.c create mode 100644 EmulatorPkg/Win/Host/WinHost.c create mode 100644 EmulatorPkg/Win/Host/WinHost.h create mode 100644 EmulatorPkg/Win/Host/WinHost.inf create mode 100644 EmulatorPkg/Win/Host/WinInclude.h create mode 100644 EmulatorPkg/Win/Host/WinMemoryAllocationLib.c create mode 100644 EmulatorPkg/Win/Host/WinThunk.c -- 2.16.1.windows.1