morpheus_network::boot::init

Function post_ebs_init

Source
pub unsafe fn post_ebs_init(
    handoff: &'static BootHandoff,
) -> Result<InitResult, InitError>
Expand description

Perform post-ExitBootServices initialization.

§Arguments

  • handoff: Pointer to BootHandoff structure (must be valid)

§Returns

  • Ok(InitResult) with initialized components
  • Err(InitError) if initialization fails

§Safety

  • handoff must point to a valid, populated BootHandoff structure
  • Must be called after ExitBootServices()
  • Must be called on the pre-allocated stack
  • Must not be called more than once