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