summaryrefslogtreecommitdiff
path: root/ports/sysdeps/unix/sysv/linux/m68k/sys/user.h
diff options
context:
space:
mode:
Diffstat (limited to 'ports/sysdeps/unix/sysv/linux/m68k/sys/user.h')
-rw-r--r--ports/sysdeps/unix/sysv/linux/m68k/sys/user.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/ports/sysdeps/unix/sysv/linux/m68k/sys/user.h b/ports/sysdeps/unix/sysv/linux/m68k/sys/user.h
index f8b19fcbe..2663ac6df 100644
--- a/ports/sysdeps/unix/sysv/linux/m68k/sys/user.h
+++ b/ports/sysdeps/unix/sysv/linux/m68k/sys/user.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008 Free Software Foundation, Inc.
+/* Copyright (C) 2008, 2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -58,4 +58,9 @@ struct user {
char u_comm[32];
};
+#define NBPG 4096
+#define UPAGES 1
+#define HOST_TEXT_START_ADDR u.start_code
+#define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG)
+
#endif