mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
add RETURN_FROM_ISR magic address
this is picked to not conflict with other addresses used by the ARM implementation. I think it should be OK?
This commit is contained in:
parent
26047bf956
commit
47a16b6ce4
1 changed files with 3 additions and 0 deletions
|
|
@ -27,6 +27,9 @@ pub const EXIT_THREAD: usize = 0xff80_3000;
|
|||
/// This is the address a thread will return to when it finishes handling an exception.
|
||||
pub const RETURN_FROM_EXCEPTION_HANDLER: usize = 0xff80_4000;
|
||||
|
||||
/// This is the address the swapper returns from
|
||||
pub const RETURN_FROM_SWAPPER: usize = 0xff80_8000;
|
||||
|
||||
/// Support processing interrupts, which normally are TID 0. Since
|
||||
/// the TID is a NonZeroU8, we must pick a value here that can be
|
||||
/// used throughout the rest of the kernel.
|
||||
|
|
|
|||
Loading…
Reference in a new issue