I=92m asking, because I see no clean way to do it. On stack based machines you simply =93pushall=94 onto the active task=92s stack, switch stacks, and do a =93popall=94. The ARM makes this difficult because when it switches to a privileged mode, the active task=92s stack becomes =93invisible=94, and the CPSR gets saved into the SPSR (as opposed to being pushed onto the stack). Thanks!
- posted
15 years ago