x86, efi: Set runtime_version to the EFI spec revision
[linux/fpc-iii.git] / arch / score / include / asm / ptrace.h
blobabc279d96b7306858f82736ed98d1a614aef5783
1 #ifndef _ASM_SCORE_PTRACE_H
2 #define _ASM_SCORE_PTRACE_H
4 #include <uapi/asm/ptrace.h>
7 struct task_struct;
9 /*
10 * Does the process account for user or for system time?
12 #define user_mode(regs) ((regs->cp0_psr & 8) == 8)
14 #define instruction_pointer(regs) ((unsigned long)(regs)->cp0_epc)
15 #define profile_pc(regs) instruction_pointer(regs)
16 #define user_stack_pointer(r) ((unsigned long)(r)->regs[0])
18 extern void do_syscall_trace(struct pt_regs *regs, int entryexit);
19 extern int read_tsk_long(struct task_struct *, unsigned long, unsigned long *);
20 extern int read_tsk_short(struct task_struct *, unsigned long,
21 unsigned short *);
23 #define arch_has_single_step() (1)
25 #endif /* _ASM_SCORE_PTRACE_H */