aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/alpha/include/frame.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/alpha/include/frame.h b/sys/alpha/include/frame.h
index 95c0a93c2a1f..6d8cceb20650 100644
--- a/sys/alpha/include/frame.h
+++ b/sys/alpha/include/frame.h
@@ -78,10 +78,14 @@
#define FRAME_TRAPARG_A0 27
#define FRAME_TRAPARG_A1 28
#define FRAME_TRAPARG_A2 29
+/* this is a flag area to see whether we need to restore all registers */
+#define FRAME_FLAGS 30
-#define FRAME_SW_SIZE (FRAME_TRAPARG_A2 + 1)
+#define FRAME_SW_SIZE (FRAME_FLAGS + 1)
#define FRAME_HW_OFFSET FRAME_SW_SIZE
+#define FRAME_FLAGS_SYSCALL 0x1
+
#define FRAME_PS (FRAME_HW_OFFSET + ALPHA_HWFRAME_PS)
#define FRAME_PC (FRAME_HW_OFFSET + ALPHA_HWFRAME_PC)
#define FRAME_GP (FRAME_HW_OFFSET + ALPHA_HWFRAME_GP)