hv: mmu: add hpa2hva_early API for earlt boot

When need hpa and hva translation before init_paging, we need hpa2hva_early and
hva2hpa_early since init_paging may modify hva2hpa to not be identical mapping.

Tracked-On: #2987
Signed-off-by: Li, Fei1 <fei1.li@intel.com>
This commit is contained in:
Li, Fei1
2019-07-24 18:03:44 +08:00
committed by ACRN System Integration
parent 40475e22b8
commit 11cf9a4a8a
5 changed files with 33 additions and 5 deletions

View File

@@ -24,7 +24,6 @@ uint16_t console_vmid = ACRN_INVALID_VMID;
void console_init(void)
{
uart16550_init(false);
}
void console_putc(const char *ch)