The patch sets make Win Host boot in 64 bit, fix all SCT issues regarding to console input/output, switch to use MdeModulePkg/Bds.
v2: 1. Pass PatchChecker.py (VS project files don't pass. I don't want to change the default file content because next time when VS opens the project again the file content will be restored back) 2. Skip the V1 5/10 "Do not zero out file content" because the current behavior is already to not zero out file content. 3. Always report 57 as CPU address size through CPU HOB. Ruiyu Ni (9): 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: 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 | 6 +- 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} | 63 ++- .../PlatformBmData.c} | 13 +- .../PlatformBmLib.inf} | 28 +- .../Library/PlatformBmLib/PlatformBmMemoryTest.c | 133 +++++ EmulatorPkg/Win/Host/WinBlockIo.c | 2 +- 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 | 25 + EmulatorPkg/Win/VS2017/Win.vcxproj | 120 +++++ EmulatorPkg/Win/VS2017/Win.vcxproj.filters | 50 ++ EmulatorPkg/Win/VS2017/Win.vcxproj.user | 13 + 25 files changed, 1008 insertions(+), 818 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} (60%) 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 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel