diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2007-10-11 05:16:31 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2007-10-11 05:16:31 -0400 |
commit | da957e111bb0c189a4a3bf8a00caaecb59ed94ca (patch) | |
tree | 6916075fdd3e28869dcd3dfa2cf160a74d1cb02e /arch/x86/math-emu/fpu_asm.h | |
parent | 2ec1df4130c60d1eb49dc0fa0ed15858fede6b05 (diff) |
i386: move math-emu
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/math-emu/fpu_asm.h')
-rw-r--r-- | arch/x86/math-emu/fpu_asm.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/arch/x86/math-emu/fpu_asm.h b/arch/x86/math-emu/fpu_asm.h new file mode 100644 index 000000000000..9ba12416df12 --- /dev/null +++ b/arch/x86/math-emu/fpu_asm.h | |||
@@ -0,0 +1,32 @@ | |||
1 | /*---------------------------------------------------------------------------+ | ||
2 | | fpu_asm.h | | ||
3 | | | | ||
4 | | Copyright (C) 1992,1995,1997 | | ||
5 | | W. Metzenthen, 22 Parker St, Ormond, Vic 3163, | | ||
6 | | Australia. E-mail billm@suburbia.net | | ||
7 | | | | ||
8 | +---------------------------------------------------------------------------*/ | ||
9 | |||
10 | #ifndef _FPU_ASM_H_ | ||
11 | #define _FPU_ASM_H_ | ||
12 | |||
13 | #include <linux/linkage.h> | ||
14 | |||
15 | #define EXCEPTION FPU_exception | ||
16 | |||
17 | |||
18 | #define PARAM1 8(%ebp) | ||
19 | #define PARAM2 12(%ebp) | ||
20 | #define PARAM3 16(%ebp) | ||
21 | #define PARAM4 20(%ebp) | ||
22 | #define PARAM5 24(%ebp) | ||
23 | #define PARAM6 28(%ebp) | ||
24 | #define PARAM7 32(%ebp) | ||
25 | |||
26 | #define SIGL_OFFSET 0 | ||
27 | #define EXP(x) 8(x) | ||
28 | #define SIG(x) SIGL_OFFSET##(x) | ||
29 | #define SIGL(x) SIGL_OFFSET##(x) | ||
30 | #define SIGH(x) 4(x) | ||
31 | |||
32 | #endif /* _FPU_ASM_H_ */ | ||