2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
10 This struct defines the way the registers are stored on the
11 stack during a system call.
12 Now you might think that the order is arbitrary, but in reality it
13 is not! The highest ones, sr & pc, are from the exception frame and
14 should also remain like that!
37 #define user_mode(regs) (0x10 == ((regs)->cpsr & 0x1f))