summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/frame.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc/include/frame.h')
-rw-r--r--sys/powerpc/include/frame.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/powerpc/include/frame.h b/sys/powerpc/include/frame.h
index 63f07bf..27a5276 100644
--- a/sys/powerpc/include/frame.h
+++ b/sys/powerpc/include/frame.h
@@ -136,4 +136,9 @@ struct spillframe {
register_t r0; /* 48 */
};
+/* Definitions for syscalls */
+#define FIRSTARG 3 /* first arg in reg 3 */
+#define NARGREG 8 /* 8 args in regs */
+#define MOREARGS(sp) ((caddr_t)((int)(sp) + 8)) /* more args go here */
+
#endif /* _MACHINE_FRAME_H_ */
OpenPOWER on IntegriCloud