Test initialisation of MUIA_List_AdjustWidth and MUIA_List_AdjustHeight, and
[AROS.git] / arch / .unmaintained / arm-all / include / exec / ptrace.h
blob694c08a9f39faa55a3c6a5215507a6d25147445d
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #ifndef ASM_PTRACE_H
7 #define ASM_PTRACE_H
9 /*
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!
17 struct pt_regs {
18 long r0;
19 long r1;
20 long r2;
21 long r3;
22 long r4;
23 long r5;
24 long r6;
25 long r7;
26 long r8;
27 long r9;
28 long r10;
29 long r11;
30 long r12;
31 long sp;
32 long lr;
33 long lr_svc;
34 long cpsr;
37 #define user_mode(regs) (0x10 == ((regs)->cpsr & 0x1f))
39 #endif