summaryrefslogtreecommitdiffstats
path: root/sys/alpha/include/reg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/alpha/include/reg.h')
-rw-r--r--sys/alpha/include/reg.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/alpha/include/reg.h b/sys/alpha/include/reg.h
index 341a396..879aeed 100644
--- a/sys/alpha/include/reg.h
+++ b/sys/alpha/include/reg.h
@@ -73,6 +73,15 @@
#define R_SP 30
#define R_ZERO 31
+/*
+ * Register extensions used in mcontext_t
+ */
+#define R_PS 32
+#define R_PC 33
+#define R_TRAPARG_A0 34
+#define R_TRAPARG_A1 35
+#define R_TRAPARG_A2 36
+
struct reg {
u_int64_t r_regs[32];
};
OpenPOWER on IntegriCloud