update the static table definition

This commit is contained in:
bunnie 2025-09-30 21:52:45 +08:00
parent c1544ca5e7
commit cdb60eed0f

View file

@ -83,9 +83,10 @@ pub struct StaticsInRom {
pub data_size_bytes: u32,
// poke table of values to stick in the data segment. This is needed in particular
// to initialize `static` variables, such as Atomics and Mutexes, required by the
// loader environment. Presented as (address, data) tuples, up to 30 of them.
// loader environment. Presented as (address, data) tuples, up to 40 of them.
// Only entries from [0..valid_pokes] are processed.
pub poke_table: [(u32, u32); 30],
// The addresses and data are packed as u8's to avoid padding of the record.
pub poke_table: [([u8; 2], [u8; 4]); 40],
}
impl StaticsInRom {