mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-06 08:04:55 +00:00
hv: mmu: rename hv_access_memory_region_update to ppt_clear_user_bit
Rename hv_access_memory_region_update to ppt_clear_user_bit to verb + object style. Tracked-On: #5330 Signed-off-by: Li Fei1 <fei1.li@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -104,7 +104,7 @@ void npk_log_setup(struct hv_npk_log_param *param)
|
||||
for (i = 0U; i < pcpu_nums; i++) {
|
||||
per_cpu(npk_log_ref, i) = 0U;
|
||||
}
|
||||
hv_access_memory_region_update(base,
|
||||
ppt_clear_user_bit(base,
|
||||
pcpu_nums * (HV_NPK_LOG_REF_MASK + 1U)
|
||||
* sizeof(struct npk_chan));
|
||||
}
|
||||
|
||||
@@ -139,7 +139,7 @@ void uart16550_init(bool early_boot)
|
||||
mmio_base_va = hpa2hva(hva2hpa_early(uart.mmio.pci.cached_mmio_base_va));
|
||||
}
|
||||
if (mmio_base_va != NULL) {
|
||||
hv_access_memory_region_update((uint64_t)mmio_base_va, PDE_SIZE);
|
||||
ppt_clear_user_bit((uint64_t)mmio_base_va, PDE_SIZE);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user