summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-11-29 02:26:50 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-11-29 02:26:50 +0000
commit1095458dcf6143c8e7dd908e945fc791eee652d8 (patch)
treeb81bc979f73775f6978eaec374f6dba740f5b51c
parent6ff144d08ae0eb6028f671b6b0bacb2a1ac17547 (diff)
backout miod's change because he did not compile libc.
-rw-r--r--sys/arch/mips64/include/signal.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/sys/arch/mips64/include/signal.h b/sys/arch/mips64/include/signal.h
index 26298319104..4e2319f5de5 100644
--- a/sys/arch/mips64/include/signal.h
+++ b/sys/arch/mips64/include/signal.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: signal.h,v 1.4 2005/11/28 22:02:16 miod Exp $ */
+/* $OpenBSD: signal.h,v 1.5 2005/11/29 02:26:49 deraadt Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -37,6 +37,7 @@
#ifndef _MIPS_SIGNAL_H_
#define _MIPS_SIGNAL_H_
+#if !defined(__LANGUAGE_ASSEMBLY)
#include <sys/types.h>
/*
@@ -67,4 +68,16 @@ struct sigcontext {
};
#endif /* !_ANSI_SOURCE */
+#else /* __LANGUAGE_ASSEMBLY */
+#define SC_ONSTACK (0 * REGSZ)
+#define SC_MASK (1 * REGSZ)
+#define SC_PC (2 * REGSZ)
+#define SC_REGS (3 * REGSZ)
+#define SC_MULLO (35 * REGSZ)
+#define SC_MULHI (36 * REGSZ)
+#define SC_FPREGS (37 * REGSZ)
+#define SC_FPUSED (70 * REGSZ)
+#define SC_FPC_EIR (71 * REGSZ)
+#endif /* __LANGUAGE_ASSEMBLY */
+
#endif /* !_MIPS_SIGNAL_H_ */