Function multicore_bringup::handle_ap_cores
source · pub fn handle_ap_cores(
kernel_mmi_ref: &MmiRef,
multicore_info: MulticoreBringupInfo
) -> Result<u32, &'static str>
Expand description
Starts up and sets up AP cores based on system information from ACPI (specifically the MADT (APIC) table).
Arguments:
kernel_mmi_ref
: A reference to the MMI structure with the kernel’s page table.max_framebuffer_resolution
: the maximum resolution(width, height)
of the graphical framebuffer that an AP should request from the BIOS when it boots up in 16-bit real mode. IfNone
, there will be no maximum.