morpheus_network::mainloop

Module bare_metal

Source
Expand description

Bare-metal main loop for post-ExitBootServices execution.

This module provides the complete end-to-end runner that:

  1. Initializes the VirtIO-net driver using ASM layer
  2. Creates the smoltcp interface and sockets
  3. Runs the 5-phase main loop
  4. Orchestrates ISO download and disk write
  5. Writes manifest to disk for boot entry discovery

§Reference

NETWORK_IMPL_GUIDE.md §6, §7

Structs§

  • Configuration for the bare-metal runner.
  • RX token for smoltcp - uses a fixed-size buffer (no heap allocation). Maximum Ethernet frame size is 1514 bytes.
  • Adapter bridging NetworkDriver to smoltcp Device trait.
  • TX token for smoltcp - uses a fixed-size stack buffer (no heap allocation).

Enums§

Constants§

Statics§

Functions§