mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 16:57:20 +00:00
hv: unmap software region of pre-RTVM from Service VM EPT
Accessing to software SRAM region is not allowed when software SRAM is pass-thru to prelaunch RTVM. This patch removes software SRAM region from service VM EPT if it is enabled for prelaunch RTVM. Tracked-On: #5649 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
#define RTCT_ENTRY_TYPE_RT_IOMMU 8U
|
||||
#define RTCT_ENTRY_TYPE_MEM_HIERARCHY_LATENCY 9U
|
||||
|
||||
#if !defined(PRE_RTVM_SW_SRAM_BASE_GPA)
|
||||
#if !defined(PRE_RTVM_SW_SRAM_ENABLED)
|
||||
/*
|
||||
* PRE_RTVM_SW_SRAM_BASE_GPA is for Prelaunch VM only and
|
||||
* is configured by config tool on platform that Software SRAM is detected.
|
||||
|
Reference in New Issue
Block a user