]>
Commit | Line | Data |
---|---|---|
3622634b MA |
1 | #ifndef OPENRISC_TARGET_SYSCALL_H |
2 | #define OPENRISC_TARGET_SYSCALL_H | |
460c579f | 3 | |
e8f29049 RH |
4 | /* Note that in linux/arch/openrisc/include/uapi/asm/ptrace.h, |
5 | * this is called user_regs_struct. Given that this is what | |
6 | * is used within struct sigcontext we need this definition. | |
7 | * However, elfload.c wants this name. | |
8 | */ | |
a8720299 | 9 | struct target_pt_regs { |
e8f29049 RH |
10 | abi_ulong gpr[32]; |
11 | abi_ulong pc; | |
12 | abi_ulong sr; | |
a8720299 JL |
13 | }; |
14 | ||
15 | #define UNAME_MACHINE "openrisc" | |
cbc14e6f | 16 | #define UNAME_MINIMUM_RELEASE "2.6.32" |
0903c8be TM |
17 | |
18 | #define TARGET_MINSIGSTKSZ 2048 | |
6f6a4032 TM |
19 | #define TARGET_MLOCKALL_MCL_CURRENT 1 |
20 | #define TARGET_MLOCKALL_MCL_FUTURE 2 | |
460c579f | 21 | |
ab902338 RH |
22 | #define MMAP_SHIFT TARGET_PAGE_BITS |
23 | ||
3622634b | 24 | #endif /* OPENRISC_TARGET_SYSCALL_H */ |