2016-06-29 16:47:26 +08:00
|
|
|
#ifndef SH4_TARGET_SYSCALL_H
|
|
|
|
#define SH4_TARGET_SYSCALL_H
|
2016-02-02 02:38:42 +08:00
|
|
|
|
2006-04-28 05:07:38 +08:00
|
|
|
struct target_pt_regs {
|
|
|
|
unsigned long regs[16];
|
|
|
|
unsigned long pc;
|
|
|
|
unsigned long pr;
|
|
|
|
unsigned long sr;
|
|
|
|
unsigned long gbr;
|
|
|
|
unsigned long mach;
|
|
|
|
unsigned long macl;
|
|
|
|
long tra;
|
|
|
|
};
|
|
|
|
|
|
|
|
#define UNAME_MACHINE "sh4"
|
2014-02-19 20:50:41 +08:00
|
|
|
#define UNAME_MINIMUM_RELEASE "2.6.32"
|
2014-08-13 02:53:40 +08:00
|
|
|
|
|
|
|
#define TARGET_MINSIGSTKSZ 2048
|
2014-08-13 02:53:42 +08:00
|
|
|
#define TARGET_MLOCKALL_MCL_CURRENT 1
|
|
|
|
#define TARGET_MLOCKALL_MCL_FUTURE 2
|
2016-02-02 02:38:42 +08:00
|
|
|
|
2016-06-29 16:47:26 +08:00
|
|
|
#endif /* SH4_TARGET_SYSCALL_H */
|