1/* Simulator CPU header for cris. 2 3THIS FILE IS MACHINE GENERATED WITH CGEN. 4 5Copyright 1996-2005 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 CRIS_CPUALL_H 25#define CRIS_CPUALL_H 26 27/* Include files for each cpu family. */ 28 29#ifdef WANT_CPU_CRISV0F 30#include "engv0.h" 31#include "cgen-engine.h" 32#include "cpuv0.h" 33#include "decodev0.h" 34#endif 35 36#ifdef WANT_CPU_CRISV3F 37#include "engv3.h" 38#include "cgen-engine.h" 39#include "cpuv3.h" 40#include "decodev3.h" 41#endif 42 43#ifdef WANT_CPU_CRISV8F 44#include "engv8.h" 45#include "cgen-engine.h" 46#include "cpuv8.h" 47#include "decodev8.h" 48#endif 49 50#ifdef WANT_CPU_CRISV10F 51#include "engv10.h" 52#include "cgen-engine.h" 53#include "cpuv10.h" 54#include "decodev10.h" 55#endif 56 57#ifdef WANT_CPU_CRISV32F 58#include "engv32.h" 59#include "cgen-engine.h" 60#include "cpuv32.h" 61#include "decodev32.h" 62#endif 63 64extern const MACH crisv10_mach; 65extern const MACH crisv32_mach; 66 67#ifndef WANT_CPU 68/* The ARGBUF struct. */ 69struct argbuf { 70 /* These are the baseclass definitions. */ 71 IADDR addr; 72 const IDESC *idesc; 73 char trace_p; 74 char profile_p; 75 /* ??? Temporary hack for skip insns. */ 76 char skip_count; 77 char unused; 78 /* cpu specific data follows */ 79}; 80#endif 81 82#ifndef WANT_CPU 83/* A cached insn. 84 85 ??? SCACHE used to contain more than just argbuf. We could delete the 86 type entirely and always just use ARGBUF, but for future concerns and as 87 a level of abstraction it is left in. */ 88 89struct scache { 90 struct argbuf argbuf; 91}; 92#endif 93 94#endif /* CRIS_CPUALL_H */ 95