From 19e5de4c283ff7474f0b4a90404ae6cf68bb5bb5 Mon Sep 17 00:00:00 2001 From: Matthew Stanley <1379tech@gmail.com> Date: Tue, 25 Aug 2026 13:45:11 -0700 Subject: [PATCH] boot_state: document unknown-section skip --- runtime/include/boot_state.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/runtime/include/boot_state.h b/runtime/include/boot_state.h index 922f981d..a27af0c8 100644 --- a/runtime/include/boot_state.h +++ b/runtime/include/boot_state.h @@ -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 */