Function get_ap

Source
pub(crate) fn get_ap(cpu_id: CpuId) -> Paddr
Expand description

Gets the pointer to the static CPU-local storage for the given AP.

§Panics

This method will panic if the cpu_id does not represent an AP or the AP’s CPU-local storage has not been allocated.