xref: /netbsd-src/external/gpl3/gdb/dist/sim/m32r/cpuall.h (revision 05fa08567a80471fd0eb3843a238392874f2577c)
14e98e3e1Schristos /* Simulator CPU header for m32r.
24e98e3e1Schristos 
34e98e3e1Schristos THIS FILE IS MACHINE GENERATED WITH CGEN.
44e98e3e1Schristos 
5*05fa0856Schristos Copyright (C) 1996-2024 Free Software Foundation, Inc.
64e98e3e1Schristos 
74e98e3e1Schristos This file is part of the GNU simulators.
84e98e3e1Schristos 
94e98e3e1Schristos    This file is free software; you can redistribute it and/or modify
104e98e3e1Schristos    it under the terms of the GNU General Public License as published by
114e98e3e1Schristos    the Free Software Foundation; either version 3, or (at your option)
124e98e3e1Schristos    any later version.
134e98e3e1Schristos 
144e98e3e1Schristos    It is distributed in the hope that it will be useful, but WITHOUT
154e98e3e1Schristos    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
164e98e3e1Schristos    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
174e98e3e1Schristos    License for more details.
184e98e3e1Schristos 
194e98e3e1Schristos    You should have received a copy of the GNU General Public License along
20*05fa0856Schristos    with this program; if not, write to the Free Software Foundation, Inc.,
21*05fa0856Schristos    51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
224e98e3e1Schristos 
234e98e3e1Schristos */
244e98e3e1Schristos 
254e98e3e1Schristos #ifndef M32R_CPUALL_H
264e98e3e1Schristos #define M32R_CPUALL_H
274e98e3e1Schristos 
284e98e3e1Schristos /* Include files for each cpu family.  */
294e98e3e1Schristos 
304e98e3e1Schristos #ifdef WANT_CPU_M32RBF
314e98e3e1Schristos #include "eng.h"
324e98e3e1Schristos #include "cpu.h"
334e98e3e1Schristos #include "decode.h"
344e98e3e1Schristos #endif
354e98e3e1Schristos 
364e98e3e1Schristos #ifdef WANT_CPU_M32RXF
374e98e3e1Schristos #include "engx.h"
384e98e3e1Schristos #include "cpux.h"
394e98e3e1Schristos #include "decodex.h"
404e98e3e1Schristos #endif
414e98e3e1Schristos 
424e98e3e1Schristos #ifdef WANT_CPU_M32R2F
434e98e3e1Schristos #include "eng2.h"
444e98e3e1Schristos #include "cpu2.h"
454e98e3e1Schristos #include "decode2.h"
464e98e3e1Schristos #endif
474e98e3e1Schristos 
48ba340e45Schristos extern const SIM_MACH m32r_mach;
49ba340e45Schristos extern const SIM_MACH m32rx_mach;
50ba340e45Schristos extern const SIM_MACH m32r2_mach;
514e98e3e1Schristos 
524e98e3e1Schristos #ifndef WANT_CPU
534e98e3e1Schristos /* The ARGBUF struct.  */
544e98e3e1Schristos struct argbuf {
554e98e3e1Schristos   /* These are the baseclass definitions.  */
564e98e3e1Schristos   IADDR addr;
574e98e3e1Schristos   const IDESC *idesc;
584e98e3e1Schristos   char trace_p;
594e98e3e1Schristos   char profile_p;
604e98e3e1Schristos   /* ??? Temporary hack for skip insns.  */
614e98e3e1Schristos   char skip_count;
624e98e3e1Schristos   char unused;
634e98e3e1Schristos   /* cpu specific data follows */
644e98e3e1Schristos };
654e98e3e1Schristos #endif
664e98e3e1Schristos 
674e98e3e1Schristos #ifndef WANT_CPU
684e98e3e1Schristos /* A cached insn.
694e98e3e1Schristos 
704e98e3e1Schristos    ??? SCACHE used to contain more than just argbuf.  We could delete the
714e98e3e1Schristos    type entirely and always just use ARGBUF, but for future concerns and as
724e98e3e1Schristos    a level of abstraction it is left in.  */
734e98e3e1Schristos 
744e98e3e1Schristos struct scache {
754e98e3e1Schristos   struct argbuf argbuf;
764e98e3e1Schristos };
774e98e3e1Schristos #endif
784e98e3e1Schristos 
794e98e3e1Schristos #endif /* M32R_CPUALL_H */
80