From 1095458dcf6143c8e7dd908e945fc791eee652d8 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Tue, 29 Nov 2005 02:26:50 +0000 Subject: backout miod's change because he did not compile libc. --- sys/arch/mips64/include/signal.h | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'sys/arch') 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 /* @@ -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_ */ -- cgit v1.2.3