1/* Simulator CPU header for m32r. 2 3THIS FILE IS MACHINE GENERATED WITH CGEN. 4 5Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. 6 7This file is part of the GNU simulators. 8 9This program is free software; you can redistribute it and/or modify 10it under the terms of the GNU General Public License as published by 11the Free Software Foundation; either version 3 of the License, or 12(at your option) any later version. 13 14This program is distributed in the hope that it will be useful, 15but WITHOUT ANY WARRANTY; without even the implied warranty of 16MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17GNU General Public License for more details. 18 19You should have received a copy of the GNU General Public License 20along with this program. If not, see <http://www.gnu.org/licenses/>. 21 22*/ 23 24#ifndef M32R_CPUALL_H 25#define M32R_CPUALL_H 26 27/* Include files for each cpu family. */ 28 29#ifdef WANT_CPU_M32RBF 30#include "eng.h" 31#include "cgen-engine.h" 32#include "cpu.h" 33#include "decode.h" 34#endif 35 36#ifdef WANT_CPU_M32RXF 37#include "engx.h" 38#include "cgen-engine.h" 39#include "cpux.h" 40#include "decodex.h" 41#endif 42 43#ifdef WANT_CPU_M32R2F 44#include "eng2.h" 45#include "cgen-engine.h" 46#include "cpu2.h" 47#include "decode2.h" 48#endif 49 50extern const MACH m32r_mach; 51extern const MACH m32rx_mach; 52extern const MACH m32r2_mach; 53 54#ifndef WANT_CPU 55/* The ARGBUF struct. */ 56struct argbuf { 57 /* These are the baseclass definitions. */ 58 IADDR addr; 59 const IDESC *idesc; 60 char trace_p; 61 char profile_p; 62 /* ??? Temporary hack for skip insns. */ 63 char skip_count; 64 char unused; 65 /* cpu specific data follows */ 66}; 67#endif 68 69#ifndef WANT_CPU 70/* A cached insn. 71 72 ??? SCACHE used to contain more than just argbuf. We could delete the 73 type entirely and always just use ARGBUF, but for future concerns and as 74 a level of abstraction it is left in. */ 75 76struct scache { 77 struct argbuf argbuf; 78}; 79#endif 80 81#endif /* M32R_CPUALL_H */ 82