1 /* 2 * This file is part of ltrace. 3 * Copyright (C) 2010 Arnaud Patard, Mandriva SA 4 * Copyright (C) 2006 Eric Vaitl, Cisco Systems, Inc. 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License as 8 * published by the Free Software Foundation; either version 2 of the 9 * License, or (at your option) any later version. 10 * 11 * This program is distributed in the hope that it will be useful, but 12 * WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with this program; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 19 * 02110-1301 USA 20 */ 21 22 #ifndef MIPS_h 23 #define MIPS_h 24 // asm/ptrace.h for these offsets. 25 #define off_v0 2 26 #define off_pc 64 27 #define off_a0 4 28 #define off_a3 7 29 #define off_lr 31 30 #define off_fpr0 32 31 #define off_sp 29 32 33 #endif // MIPS_h 34