boot_state: document unknown-section skip

This commit is contained in:
Matthew Stanley
2026-08-25 13:45:11 -07:00
parent 1d32acf74f
commit 19e5de4c28
+3 -2
View File
@@ -74,8 +74,9 @@ typedef struct {
* uint64_t len; LE payload byte count
* uint8_t payload[len]; (module payloads are LE field wires too)
* When BOOT_STATE_SEC_ZLIB is set, payload = u32 LE raw_len + zlib(raw).
* An unknown tag, a length mismatch, or a missing required section on load is a
* hard reject (incomplete restore is never allowed) -> normal boot + recapture.
* Unknown tags are skipped for forward compatibility. A malformed known section
* or a missing required section on load is a hard reject (incomplete restore is
* never allowed) -> normal boot + recapture.
*/
enum {
BS_SEC_CPU = 0x01, /* CPUState: gpr/pc/hi/lo/cop0/gte_data/gte_ctrl */