EmulatorPkg/Win: Add input/output support

The patch adds GOP and SimpleTextIn[Ex] support.
Now firmware can boot to UI and Shell but timer doesn't work.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Andrew Fish <afish@apple.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
This commit is contained in:
Ruiyu Ni
2018-08-23 13:33:54 +08:00
parent 5601e90d5c
commit 7a465451be
6 changed files with 1507 additions and 0 deletions

View File

@@ -30,6 +30,9 @@
[Sources]
WinMemoryAllocationLib.c
WinGopInput.c
WinGopScreen.c
WinGop.h
WinThunk.c
WinHost.h
WinHost.c
@@ -55,6 +58,9 @@
[Ppis]
gEmuThunkPpiGuid
[Protocols]
gEmuIoThunkProtocolGuid
gEmuGraphicsWindowProtocolGuid
[Pcd]
gEfiMdeModulePkgTokenSpaceGuid.PcdInitValueInTempStack
@@ -62,6 +68,7 @@
gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareVolume
gEmulatorPkgTokenSpaceGuid.PcdEmuMemorySize
gEmulatorPkgTokenSpaceGuid.PcdEmuFdBaseAddress
gEmulatorPkgTokenSpaceGuid.PcdEmuGop|L"GOP Window"
gEmulatorPkgTokenSpaceGuid.PcdPeiServicesTablePage
[BuildOptions]