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#ifdef CONFIG_CPU_32 28#define REG_ORIG_R0 17 29#define REG_CPSR 16 30#else 31#define REG_ORIG_R0 16 32#define REG_CPSR 15 33#endif 34 35#define REG_PC 15 36#define REG_LR 14 37#define REG_SP 13 38#define REG_IP 12 39#define REG_FP 11 40#define REG_R10 10 41#define REG_R9 9 42#define REG_R9 9 43#define REG_R8 8 44#define REG_R7 7 45#define REG_R6 6 46#define REG_R5 5 47#define REG_R4 4 48#define REG_R3 3 49#define REG_R2 2 50#define REG_R1 1 51#define REG_R0 0 52 53#endif 54