mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-17 14:58:43 +00:00
hv: uart: enable early boot uart
Enable uart as early as possible to make things easier for debugging. After this we could use printf to output information to the uart. As for pr_xxx APIs, they start to work when init_logmsg is called. Tracked-On: #2987 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
This commit is contained in:
committed by
ACRN System Integration
parent
3945bc4c40
commit
cc47dbe769
@@ -26,8 +26,6 @@ static void init_depri_boot(void)
|
||||
struct multiboot_info *mbi = NULL;
|
||||
|
||||
if (!depri_initialized) {
|
||||
(void)parse_hv_cmdline();
|
||||
|
||||
mbi = (struct multiboot_info *) hpa2hva(((uint64_t)(uint32_t)boot_regs[1]));
|
||||
if ((mbi == NULL) || ((mbi->mi_flags & MULTIBOOT_INFO_HAS_DRIVES) == 0U)) {
|
||||
pr_err("no multiboot drivers for depri_boot found");
|
||||
|
Reference in New Issue
Block a user