pub fn validate_sequencer_layout<const N: usize>(
layout: &SequencerLayout<N>,
) -> Result<(), Error>Expand description
Validate a mapped SequencerLayout<N>.
Checks:
- v1 header compatibility (magic/version)
- required capabilities (sequencer)
layout_bytesis large enough for the base layout- initialization state is
2 - if
INDEXBUS_CAP_SUPPORTS_BLOCKINGis set, ensures the mapping is large enough to hold an appendedSequencerWakeSection<N>at the next 64B boundary