Home | History | Annotate | Line # | Download | only in cris
      1       1.1  christos /* Simulator CPU header for cris.
      2       1.1  christos 
      3       1.1  christos THIS FILE IS MACHINE GENERATED WITH CGEN.
      4       1.1  christos 
      5  1.1.1.10  christos Copyright (C) 1996-2024 Free Software Foundation, Inc.
      6       1.1  christos 
      7       1.1  christos This file is part of the GNU simulators.
      8       1.1  christos 
      9       1.1  christos    This file is free software; you can redistribute it and/or modify
     10       1.1  christos    it under the terms of the GNU General Public License as published by
     11       1.1  christos    the Free Software Foundation; either version 3, or (at your option)
     12       1.1  christos    any later version.
     13       1.1  christos 
     14       1.1  christos    It is distributed in the hope that it will be useful, but WITHOUT
     15       1.1  christos    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
     16       1.1  christos    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
     17       1.1  christos    License for more details.
     18       1.1  christos 
     19       1.1  christos    You should have received a copy of the GNU General Public License along
     20  1.1.1.10  christos    with this program; if not, write to the Free Software Foundation, Inc.,
     21  1.1.1.10  christos    51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
     22       1.1  christos 
     23       1.1  christos */
     24       1.1  christos 
     25       1.1  christos #ifndef CRIS_CPUALL_H
     26       1.1  christos #define CRIS_CPUALL_H
     27       1.1  christos 
     28       1.1  christos /* Include files for each cpu family.  */
     29       1.1  christos 
     30       1.1  christos #ifdef WANT_CPU_CRISV0F
     31       1.1  christos #include "engv0.h"
     32       1.1  christos #include "cpuv0.h"
     33       1.1  christos #include "decodev0.h"
     34       1.1  christos #endif
     35       1.1  christos 
     36       1.1  christos #ifdef WANT_CPU_CRISV3F
     37       1.1  christos #include "engv3.h"
     38       1.1  christos #include "cpuv3.h"
     39       1.1  christos #include "decodev3.h"
     40       1.1  christos #endif
     41       1.1  christos 
     42       1.1  christos #ifdef WANT_CPU_CRISV8F
     43       1.1  christos #include "engv8.h"
     44       1.1  christos #include "cpuv8.h"
     45       1.1  christos #include "decodev8.h"
     46       1.1  christos #endif
     47       1.1  christos 
     48       1.1  christos #ifdef WANT_CPU_CRISV10F
     49       1.1  christos #include "engv10.h"
     50       1.1  christos #include "cpuv10.h"
     51       1.1  christos #include "decodev10.h"
     52       1.1  christos #endif
     53       1.1  christos 
     54       1.1  christos #ifdef WANT_CPU_CRISV32F
     55       1.1  christos #include "engv32.h"
     56       1.1  christos #include "cpuv32.h"
     57       1.1  christos #include "decodev32.h"
     58       1.1  christos #endif
     59       1.1  christos 
     60   1.1.1.5  christos extern const SIM_MACH crisv10_mach;
     61   1.1.1.5  christos extern const SIM_MACH crisv32_mach;
     62       1.1  christos 
     63       1.1  christos #ifndef WANT_CPU
     64       1.1  christos /* The ARGBUF struct.  */
     65       1.1  christos struct argbuf {
     66       1.1  christos   /* These are the baseclass definitions.  */
     67       1.1  christos   IADDR addr;
     68       1.1  christos   const IDESC *idesc;
     69       1.1  christos   char trace_p;
     70       1.1  christos   char profile_p;
     71       1.1  christos   /* ??? Temporary hack for skip insns.  */
     72       1.1  christos   char skip_count;
     73       1.1  christos   char unused;
     74       1.1  christos   /* cpu specific data follows */
     75       1.1  christos };
     76       1.1  christos #endif
     77       1.1  christos 
     78       1.1  christos #ifndef WANT_CPU
     79       1.1  christos /* A cached insn.
     80       1.1  christos 
     81       1.1  christos    ??? SCACHE used to contain more than just argbuf.  We could delete the
     82       1.1  christos    type entirely and always just use ARGBUF, but for future concerns and as
     83       1.1  christos    a level of abstraction it is left in.  */
     84       1.1  christos 
     85       1.1  christos struct scache {
     86       1.1  christos   struct argbuf argbuf;
     87       1.1  christos };
     88       1.1  christos #endif
     89       1.1  christos 
     90       1.1  christos #endif /* CRIS_CPUALL_H */
     91