1 #ifndef CRIS_TARGET_SYSCALL_H
2 #define CRIS_TARGET_SYSCALL_H
4 #define UNAME_MACHINE "cris"
5 #define UNAME_MINIMUM_RELEASE "2.6.32"
7 /* pt_regs not only specifices the format in the user-struct during
8 * ptrace but is also the frame format used in the kernel prologue/epilogues
12 struct target_pt_regs
{
13 unsigned long orig_r10
;
14 /* pushed by movem r13, [sp] in SAVE_ALL. */
35 unsigned long erp
; /* This is actually the debugged process' PC */
36 /* For debugging purposes; saved only when needed. */
41 #define TARGET_CLONE_BACKWARDS2
42 #define TARGET_MINSIGSTKSZ 2048
43 #define TARGET_MLOCKALL_MCL_CURRENT 1
44 #define TARGET_MLOCKALL_MCL_FUTURE 2