morpheus_network

Module device

Source
Expand description

Network device abstraction for smoltcp integration.

This module provides the core NetworkDevice trait that all NIC drivers must implement, along with PCI discovery utilities for device enumeration.

§Architecture (ASM-First)

The MorpheusX network stack uses an ASM-first design where all hardware access (MMIO, barriers, descriptor rings) is performed by hand-written assembly for guaranteed correctness in bare-metal post-ExitBootServices execution.

The actual drivers are in crate::driver:::

§PCI Discovery

The pci module provides PCI bus scanning for device discovery.

Modules§

  • PCI bus enumeration and device discovery.
  • Hardware register definitions for NIC drivers.

Structs§

  • Placeholder NIC that does nothing. Useful for early bring-up.

Traits§

  • Unified network device interface MorpheusX drivers must implement.