Merge branch 'dynamic-ssdt' into release
[linux-2.6] / arch / x86 / math-emu / fpu_asm.h
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 #define PARAM1  8(%ebp)
18 #define PARAM2  12(%ebp)
19 #define PARAM3  16(%ebp)
20 #define PARAM4  20(%ebp)
21 #define PARAM5  24(%ebp)
22 #define PARAM6  28(%ebp)
23 #define PARAM7  32(%ebp)
24
25 #define SIGL_OFFSET 0
26 #define EXP(x)  8(x)
27 #define SIG(x)  SIGL_OFFSET##(x)
28 #define SIGL(x) SIGL_OFFSET##(x)
29 #define SIGH(x) 4(x)
30
31 #endif /* _FPU_ASM_H_ */