diff options
Diffstat (limited to 'arch/mips/tools/offset.c')
-rw-r--r-- | arch/mips/tools/offset.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/arch/mips/tools/offset.c b/arch/mips/tools/offset.c index f32f3e76e..ede1d5f93 100644 --- a/arch/mips/tools/offset.c +++ b/arch/mips/tools/offset.c @@ -1,9 +1,10 @@ -/* $Id: offset.c,v 1.9 1998/08/25 09:14:52 ralf Exp $ +/* $Id: offset.c,v 1.10 1999/08/18 23:37:46 ralf Exp $ * * offset.c: Calculate pt_regs and task_struct offsets. * * Copyright (C) 1996 David S. Miller - * Made portable by Ralf Baechle + * Copyright (C) 1997, 1998, 1999 Ralf Baechle + * Copyright (C) 1999 Silicon Graphics, Inc. */ #include <linux/types.h> @@ -126,20 +127,17 @@ void output_mm_defines(void) void output_sc_defines(void) { text("/* Linux sigcontext offsets. */"); - offset("#define SC_REGMASK ", struct sigcontext, sc_regmask); - offset("#define SC_STATUS ", struct sigcontext, sc_status); - offset("#define SC_PC ", struct sigcontext, sc_pc); offset("#define SC_REGS ", struct sigcontext, sc_regs); offset("#define SC_FPREGS ", struct sigcontext, sc_fpregs); + offset("#define SC_MDHI ", struct sigcontext, sc_mdhi); + offset("#define SC_MDLO ", struct sigcontext, sc_mdlo); + offset("#define SC_PC ", struct sigcontext, sc_pc); + offset("#define SC_STATUS ", struct sigcontext, sc_status); offset("#define SC_OWNEDFP ", struct sigcontext, sc_ownedfp); offset("#define SC_FPC_CSR ", struct sigcontext, sc_fpc_csr); offset("#define SC_FPC_EIR ", struct sigcontext, sc_fpc_eir); - offset("#define SC_SSFLAGS ", struct sigcontext, sc_ssflags); - offset("#define SC_MDHI ", struct sigcontext, sc_mdhi); - offset("#define SC_MDLO ", struct sigcontext, sc_mdlo); offset("#define SC_CAUSE ", struct sigcontext, sc_cause); offset("#define SC_BADVADDR ", struct sigcontext, sc_badvaddr); - offset("#define SC_SIGSET ", struct sigcontext, sc_sigset); linefeed; } |