diff options
Diffstat (limited to 'arch/arm26/nwfpe/fpmodule.h')
-rw-r--r-- | arch/arm26/nwfpe/fpmodule.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/arch/arm26/nwfpe/fpmodule.h b/arch/arm26/nwfpe/fpmodule.h new file mode 100644 index 000000000000..ef71aab46a32 --- /dev/null +++ b/arch/arm26/nwfpe/fpmodule.h | |||
@@ -0,0 +1,47 @@ | |||
1 | /* | ||
2 | NetWinder Floating Point Emulator | ||
3 | (c) Rebel.com, 1998-1999 | ||
4 | |||
5 | Direct questions, comments to Scott Bambrough <scottb@netwinder.org> | ||
6 | |||
7 | This program is free software; you can redistribute it and/or modify | ||
8 | it under the terms of the GNU General Public License as published by | ||
9 | the Free Software Foundation; either version 2 of the License, or | ||
10 | (at your option) any later version. | ||
11 | |||
12 | This program is distributed in the hope that it will be useful, | ||
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | GNU General Public License for more details. | ||
16 | |||
17 | You should have received a copy of the GNU General Public License | ||
18 | along with this program; if not, write to the Free Software | ||
19 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
20 | */ | ||
21 | |||
22 | #ifndef __FPMODULE_H__ | ||
23 | #define __FPMODULE_H__ | ||
24 | |||
25 | #include <linux/config.h> | ||
26 | |||
27 | #define REG_ORIG_R0 16 | ||
28 | #define REG_CPSR 15 | ||
29 | #define REG_PC 15 | ||
30 | #define REG_LR 14 | ||
31 | #define REG_SP 13 | ||
32 | #define REG_IP 12 | ||
33 | #define REG_FP 11 | ||
34 | #define REG_R10 10 | ||
35 | #define REG_R9 9 | ||
36 | #define REG_R9 9 | ||
37 | #define REG_R8 8 | ||
38 | #define REG_R7 7 | ||
39 | #define REG_R6 6 | ||
40 | #define REG_R5 5 | ||
41 | #define REG_R4 4 | ||
42 | #define REG_R3 3 | ||
43 | #define REG_R2 2 | ||
44 | #define REG_R1 1 | ||
45 | #define REG_R0 0 | ||
46 | |||
47 | #endif | ||