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