mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-01 08:56:55 +00:00
hv: cleanup legacy terminologies in RTCM module
This patch updates below terminologies according to the latest TCC Spec: PTCT -> RTCT PTCM -> RTCM pSRAM -> Software SRAM Tracked-On: #5649 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
This commit is contained in:
@@ -581,14 +581,14 @@ static int32_t add_vm_memory_region(struct acrn_vm *vm, struct acrn_vm *target_v
|
||||
} else {
|
||||
prot |= EPT_UNCACHED;
|
||||
}
|
||||
/* If pSRAM is initialized, and HV received a request to map pSRAM area to guest,
|
||||
* we should add EPT_WB flag to make pSRAM effective.
|
||||
* Assumption: SOS must assign the PSRAM area as a whole and as a separate memory
|
||||
* region whose base address is PSRAM_BASE_HPA
|
||||
* TODO: We can enforce WB for any region has overlap with pSRAM, for simplicity,
|
||||
/* If Software SRAM is initialized, and HV received a request to map Software SRAM
|
||||
* area to guest, we should add EPT_WB flag to make Software SRAM effective.
|
||||
* Assumption: SOS must assign the Software SRAM area as a whole and as a separate memory
|
||||
* region whose base address is SOFTWARE_SRAM_BASE_HPA
|
||||
* TODO: We can enforce WB for any region has overlap with Software SRAM, for simplicity,
|
||||
* and leave it to SOS to make sure it won't violate.
|
||||
*/
|
||||
if ((hpa == PSRAM_BASE_HPA) && is_psram_initialized) {
|
||||
if ((hpa == SOFTWARE_SRAM_BASE_HPA) && is_sw_sram_initialized) {
|
||||
prot |= EPT_WB;
|
||||
}
|
||||
/* create gpa to hpa EPT mapping */
|
||||
|
Reference in New Issue
Block a user