summaryrefslogtreecommitdiffstats
path: root/arch/mips/tools/offset.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-12-10 07:56:02 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-12-10 07:56:02 +0000
commit57826f276a6fc8de0665dd956f78533fe0c25c7e (patch)
tree467de18afa9e4a3b3c02073a945a317a850991d7 /arch/mips/tools/offset.c
parent5c03a0eb664aa8802f9e3ede6fb6531581302762 (diff)
Final round of FPU emulator bits.
Diffstat (limited to 'arch/mips/tools/offset.c')
-rw-r--r--arch/mips/tools/offset.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/arch/mips/tools/offset.c b/arch/mips/tools/offset.c
index 977a791d8..7df4a6c1d 100644
--- a/arch/mips/tools/offset.c
+++ b/arch/mips/tools/offset.c
@@ -1,12 +1,13 @@
-/* $Id: offset.c,v 1.11 1999/09/28 22:25:50 ralf Exp $
- *
+/*
* offset.c: Calculate pt_regs and task_struct offsets.
*
* Copyright (C) 1996 David S. Miller
* Copyright (C) 1997, 1998, 1999 Ralf Baechle
* Copyright (C) 1999 Silicon Graphics, Inc.
+ *
+ * Kevin Kissell, kevink@mips.com and Carsten Langgaard, carstenl@mips.com
+ * Copyright (C) 2000 MIPS Technologies, Inc.
*/
-
#include <linux/types.h>
#include <linux/sched.h>
@@ -120,6 +121,10 @@ void output_thread_defines(void)
thread.irix_trampoline);
offset("#define THREAD_OLDCTX ", struct task_struct, \
thread.irix_oldctx);
+ offset("#define THREAD_DSEEPC ", struct task_struct, \
+ thread.dsemul_epc);
+ offset("#define THREAD_DSEAERPC ", struct task_struct, \
+ thread.dsemul_aerpc);
linefeed;
}