mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
skip address tag embedded within the loadable program
This commit is contained in:
parent
241cfd6cca
commit
0045e32508
1 changed files with 2 additions and 1 deletions
|
|
@ -119,7 +119,8 @@ macro_rules! bio_code {
|
||||||
report_api($name_start as u32);
|
report_api($name_start as u32);
|
||||||
report_api($name_end as u32);
|
report_api($name_end as u32);
|
||||||
}
|
}
|
||||||
unsafe { core::slice::from_raw_parts($name_start, ($name_end as usize) - ($name_start as usize))}
|
// skip the first 4 bytes, as they contain the loading offset
|
||||||
|
unsafe { core::slice::from_raw_parts($name_start.add(4), ($name_end as usize) - ($name_start as usize) - 4)}
|
||||||
}
|
}
|
||||||
|
|
||||||
core::arch::global_asm!(
|
core::arch::global_asm!(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue