aboutsummaryrefslogtreecommitdiff
path: root/linux-user/sh4/target_syscall.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/sh4/target_syscall.h')
-rw-r--r--linux-user/sh4/target_syscall.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/linux-user/sh4/target_syscall.h b/linux-user/sh4/target_syscall.h
index 78d5557124..2b5f75be13 100644
--- a/linux-user/sh4/target_syscall.h
+++ b/linux-user/sh4/target_syscall.h
@@ -19,4 +19,11 @@ struct target_pt_regs {
#define TARGET_MLOCKALL_MCL_CURRENT 1
#define TARGET_MLOCKALL_MCL_FUTURE 2
+#define TARGET_FORCE_SHMLBA
+
+static inline abi_ulong target_shmlba(CPUSH4State *env)
+{
+ return 0x4000;
+}
+
#endif /* SH4_TARGET_SYSCALL_H */