cpuall.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. /* Simulator CPU header for iq2000.
  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 IQ2000_CPUALL_H
  17. #define IQ2000_CPUALL_H
  18. /* Include files for each cpu family. */
  19. #ifdef WANT_CPU_IQ2000BF
  20. #include "eng.h"
  21. #include "cpu.h"
  22. #include "decode.h"
  23. #endif
  24. #ifdef WANT_CPU_IQ10BF
  25. #include "eng.h"
  26. #include "cpu.h"
  27. #include "decode.h"
  28. #endif
  29. extern const SIM_MACH iq2000_mach;
  30. #ifndef WANT_CPU
  31. /* The ARGBUF struct. */
  32. struct argbuf {
  33. /* These are the baseclass definitions. */
  34. IADDR addr;
  35. const IDESC *idesc;
  36. char trace_p;
  37. char profile_p;
  38. /* ??? Temporary hack for skip insns. */
  39. char skip_count;
  40. char unused;
  41. /* cpu specific data follows */
  42. };
  43. #endif
  44. #ifndef WANT_CPU
  45. /* A cached insn.
  46. ??? SCACHE used to contain more than just argbuf. We could delete the
  47. type entirely and always just use ARGBUF, but for future concerns and as
  48. a level of abstraction it is left in. */
  49. struct scache {
  50. struct argbuf argbuf;
  51. };
  52. #endif
  53. #endif /* IQ2000_CPUALL_H */