hv: memory: remove get_sworld_memory_base API

memory_ops structure will be changed to store page table related fields.
However, secure world memory base address is not one of them, it's VM
related. So save sworld_memory_base_hva in vm_arch structure directly.

Signed-off-by: Li Fei1 <fei1.li@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
Tracked-On: #5788
This commit is contained in:
Li Fei1
2021-02-19 09:25:59 +08:00
committed by wenlingz
parent 0a7bb7340f
commit 312702f2ec
4 changed files with 3 additions and 12 deletions

View File

@@ -107,6 +107,7 @@ struct vm_arch {
* but Normal World can not access Secure World's memory.
*/
void *sworld_eptp;
void *sworld_memory_base_hva;
struct memory_ops ept_mem_ops;
struct acrn_vioapics vioapics; /* Virtual IOAPIC/s */