morpheus_core::iso

Module manifest

Source
Expand description

ISO Manifest Format

Binary manifest format for tracking ISO chunks. Stored on ESP at /.iso/<name>.manifest.

§Binary Format (v1)

Offset  Size  Field
------  ----  -----
0x00    8     Magic number "MXISO\x01\x00\x00"
0x08    64    ISO filename (null-terminated, padded)
0x48    8     Total ISO size (little-endian u64)
0x50    32    SHA256 hash (or zeros if not verified)
0x70    1     Number of chunks
0x71    1     Flags (bit 0 = complete, bit 1 = verified)
0x72    2     Reserved
0x74    4     CRC32 of header (offset 0x00-0x73)
0x78    8     Reserved (align to 128 bytes)
0x80    N*48  Chunk entries (48 bytes each)

Chunk Entry (48 bytes):
0x00    16    Partition UUID
0x10    8     Start LBA
0x18    8     End LBA  
0x20    8     Data size in this chunk
0x28    1     Chunk index
0x29    1     Flags (bit 0 = written)
0x2A    6     Reserved

Total header size: 128 + (num_chunks * 48) bytes

Modules§

Structs§

Constants§

Functions§

  • crc32 🔒
    Simple CRC32 implementation (no_std compatible) Uses the standard CRC32 polynomial (IEEE 802.3)
  • Generate CRC32 lookup table at compile time