Showing changes from revision #0 to #1:
Added | Removed | Changed
Read status information
Entry | |
---|---|
R0 | reason code |
Exit | |
---|---|
R0 | value |
- | All other registers are preserved |
V flag is set if the reason code was not recognised |
Interrupts
Processor Mode
Re-entrancy
This SWI enables you to read current state variables.
Reason codes currently defined are:
Reason | Meaning |
---|---|
0 | RTSupport handle for current routine, or |
0 if in foreground, or | |
-1 if in interrupt context | |
1 | Priority setting (integer value) of current routine, or -1 if in interrupt context |
2 | Base address of SVC stack for real-time routines |