Tsung Ho Wu
5d982b52d3
Test/FrmPkg: Fix the boot failure if guest OS has kernel 4.12 or newer.
...
Kernel 4.12 reads MSR 0x140, MSR_XEON_PHI_MISC_FEATURE_ENABLES_REGISTER
and it causes CPU hang if CPU is in VMM mode.
Solution: Set MsrBitmap to 1 and set the corresponding bits in
mGuestContextCommon.MsrBitmap. Make VMM service the MSR read/write
requests only if the MSR handler is defined in MsrHandler.c.
Testing: Verified pass with Minnowboard max.
2018-12-12 17:14:46 -08:00
Jiewen Yao
5fb1d10d98
Make SmMonitorService optional
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
2016-12-14 12:02:15 +08:00
Jiewen Yao
fed93f2347
Sync SimpleSyncLib to EDKII.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
2016-12-14 12:01:35 +08:00
Jiewen Yao
7ca2869b02
Enhance debug message in test FRM.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
2016-12-14 10:54:18 +08:00
Jiewen Yao
3b0160622c
enable 1G paging for test FRM.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
2016-12-14 10:53:37 +08:00
Jiewen Yao
6ddc89f7e7
Fix guest XD enabling issue in test FRM.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
2016-12-14 10:51:43 +08:00
Jiewen Yao
763a620874
Make SmmMonitorService optional.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
2016-10-28 21:45:13 +08:00
Jiewen Yao
25c4e6b9a5
Add DisableAp/EnableAp.
...
to notify CPU driver on convert MONITOR wakeup to HLT wakeup.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
2016-10-28 21:42:02 +08:00
Jiewen Yao
acbdef4d55
Support not SmMonitorServiceProtocol.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
2016-10-28 21:38:10 +08:00
Jiewen Yao
5829c88ac5
Skip MSR 0x400000xx access.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
2016-10-28 21:37:10 +08:00
Jiewen Yao
06960576d1
Support non-paging IA32 guest.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
2016-10-28 21:36:37 +08:00
Jiewen Yao
58c6e9fa74
Fix AsmVmRead IA32.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
2016-10-28 21:36:03 +08:00
Jiewen Yao
aeee693e26
Add >4G memory map.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
2016-10-08 12:59:17 +08:00
Jiewen Yao
2b5345f479
Add Microcode update handling.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
2016-10-08 12:58:25 +08:00
Jiewen Yao
a0a6a1c031
Fix CPU number calculation in EFI_ACPI_4_0_PROCESSOR_LOCAL_X2APIC_STRUCTURE.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
2016-09-22 15:00:05 +08:00
Jiewen Yao
8e4c1267e2
Correct event log type.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
2016-08-02 11:50:13 +08:00
Jiewen Yao
04074850f6
Add TXT launch support in FRM.
...
Known limitation:
The FRM does not support S3, and FRM TXT support does not have a complete trusted boot chain.
The purpose of FrmPkg is to validate STM with or without TXT support.
Please do not include it in the production without full validation.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
2016-08-01 20:39:21 +08:00
Jiewen Yao
0640726c01
Add license file.
2016-05-17 13:48:02 +08:00
Jiewen Yao
3da9a66044
Add STM, bios and test package.
2016-03-31 15:15:57 +08:00