mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-06 18:55:40 +00:00
hv: modularization: multiboot
Calling sanitize_multiboot() from init.c instead of cpu.c. Tracked-On: #5661 Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
parent
c23e557a18
commit
66599e0aa7
@ -131,10 +131,6 @@ void init_pcpu_pre(bool is_bsp)
|
|||||||
panic("hardware not support!");
|
panic("hardware not support!");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sanitize_multiboot_info() != 0) {
|
|
||||||
panic("Multiboot info error!");
|
|
||||||
}
|
|
||||||
|
|
||||||
init_pcpu_model_name();
|
init_pcpu_model_name();
|
||||||
|
|
||||||
load_pcpu_state_data();
|
load_pcpu_state_data();
|
||||||
|
@ -90,6 +90,10 @@ void init_primary_pcpu(void)
|
|||||||
|
|
||||||
init_debug_pre();
|
init_debug_pre();
|
||||||
|
|
||||||
|
if (sanitize_multiboot_info() != 0) {
|
||||||
|
panic("Multiboot info error!");
|
||||||
|
}
|
||||||
|
|
||||||
init_pcpu_pre(true);
|
init_pcpu_pre(true);
|
||||||
|
|
||||||
init_seed();
|
init_seed();
|
||||||
|
Loading…
Reference in New Issue
Block a user