Expand description
Boot integration module.
Handles the transition from UEFI boot services to bare metal.
§Two-Phase Boot Model
§Phase 1: UEFI Boot Services Active
- Calibrate TSC using UEFI Stall()
- Allocate DMA region via PCI I/O Protocol
- Scan PCI for NIC and block devices
- Populate BootHandoff structure
- Call ExitBootServices()
§Phase 2: Bare Metal (Post-EBS)
- Validate BootHandoff
- Initialize NIC driver
- Initialize block device driver (optional)
- Enter main poll loop
§Reference
NETWORK_IMPL_GUIDE.md §7
Re-exports§
pub use handoff::has_invariant_tsc;pub use handoff::read_tsc_raw;pub use handoff::BootHandoff;pub use handoff::HandoffError;pub use handoff::TscCalibration;pub use handoff::BLK_TYPE_AHCI;pub use handoff::BLK_TYPE_NONE;pub use handoff::BLK_TYPE_NVME;pub use handoff::BLK_TYPE_VIRTIO;pub use handoff::HANDOFF_MAGIC;pub use handoff::HANDOFF_VERSION;pub use handoff::NIC_TYPE_BROADCOM;pub use handoff::NIC_TYPE_INTEL;pub use handoff::NIC_TYPE_NONE;pub use handoff::NIC_TYPE_REALTEK;pub use handoff::NIC_TYPE_VIRTIO;pub use init::post_ebs_init;pub use init::InitError;pub use init::InitResult;pub use init::TimeoutConfig;
Modules§
- BootHandoff structure.
- Post-ExitBootServices initialization.