Expand description
Post-EBS Disk Operations
Allocation-free disk I/O for post-ExitBootServices environment. All operations use fixed-size stack buffers and the VirtIO-blk BlockIo adapter.
§Architecture
┌────────────────────────────────────────────────────────────┐
│ IsoWriter (streaming) │
│ Coordinates GPT + FAT32 + data writes │
└──────────────────────────┬─────────────────────────────────┘
│
┌─────────────────┼─────────────────┐
▼ ▼ ▼
┌──────────────┐ ┌──────────────┐ ┌──────────────┐
│ GptOps │ │ Fat32Fmt │ │ Manifest │
│ (partition) │ │ (format) │ │ (tracking) │
└──────────────┘ └──────────────┘ └──────────────┘
│ │ │
└─────────────────┼─────────────────┘
▼
┌────────────────────────────────────────────────────────────┐
│ VirtioBlkBlockIo (driver adapter) │
└────────────────────────────────────────────────────────────┘§Design Principles
- No heap allocations - All buffers are stack-allocated or DMA regions
- Streaming writes - Data written as it arrives from HTTP download
- Chunk partitions - ISO split across FAT32 partitions (4GB limit each)
- Manifest tracking - Binary manifest for bootloader to find chunks
Modules§
- fat32 🔒FAT32 formatter for post-EBS.
- gpt 🔒GPT partition operations for post-EBS.
- manifest 🔒Manifest writer for post-EBS.
- types 🔒Shared types for post-EBS disk operations.
- writer 🔒Streaming ISO writer for post-EBS.
Structs§
- Chunk partition for ISO storage
- Collection of chunk partitions for an ISO
- FAT32 filesystem formatter
- Information about formatted FAT32 filesystem
- GPT operations helper
- Parsed manifest information
- Streaming ISO writer
- Manifest reader for loading existing manifests
- Binary manifest for ISO chunks
- Information about a partition
Enums§
- Disk operation error types
Constants§
- Maximum number of chunk partitions for an ISO
- Sector size in bytes (standard 512-byte sectors)
Type Aliases§
- Result type for disk operations