mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-30 23:54:40 +00:00
acrn: rename param in uart16550_init
Tracked-On: #4390 Signed-off-by: Alexander Merritt <alex.merritt@intel.com>
This commit is contained in:
committed by
wenlingz
parent
2e10930d12
commit
920f02706a
@@ -193,13 +193,13 @@ static void uart16550_set_baud_rate(uint32_t baud_rate)
|
||||
uart16550_write_reg(uart, temp_reg, UART16550_LCR);
|
||||
}
|
||||
|
||||
void uart16550_init(bool eraly_boot)
|
||||
void uart16550_init(bool early_boot)
|
||||
{
|
||||
if (!uart.enabled) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!eraly_boot && !uart.serial_port_mapped) {
|
||||
if (!early_boot && !uart.serial_port_mapped) {
|
||||
uart.mmio_base_vaddr = hpa2hva(hva2hpa_early(uart.mmio_base_vaddr));
|
||||
hv_access_memory_region_update((uint64_t)uart.mmio_base_vaddr, PDE_SIZE);
|
||||
return;
|
||||
|
Reference in New Issue
Block a user