mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-28 08:16:54 +00:00
hv: fix typo in relocation code
Fixed a typo in 621425da20
("hv: further fix to configurable
relocation"). It shoud allocate fixed address if CONFIG_RELOC is
not defined.
This commit is contained in:
parent
b35e330995
commit
a368b57eca
@ -268,7 +268,7 @@ EFI_STATUS __emalloc(UINTN size, UINTN min_addr, EFI_PHYSICAL_ADDRESS *addr,
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef CONFIG_RELOC
|
#ifdef CONFIG_RELOC
|
||||||
aligned = start;
|
aligned = start;
|
||||||
#else
|
#else
|
||||||
aligned = min_addr;
|
aligned = min_addr;
|
||||||
|
Loading…
Reference in New Issue
Block a user