cpuall.h 1.8 KB

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