mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
update the static table definition
This commit is contained in:
parent
c1544ca5e7
commit
cdb60eed0f
1 changed files with 3 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue