arch.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /* Simulator header for lm32.
  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 LM32_ARCH_H
  17. #define LM32_ARCH_H
  18. /* Enum declaration for model types. */
  19. typedef enum model_type {
  20. MODEL_LM32, MODEL_MAX
  21. } MODEL_TYPE;
  22. #define MAX_MODELS ((int) MODEL_MAX)
  23. /* Enum declaration for unit types. */
  24. typedef enum unit_type {
  25. UNIT_NONE, UNIT_LM32_U_EXEC, UNIT_MAX
  26. } UNIT_TYPE;
  27. #define MAX_UNITS (1)
  28. #endif /* LM32_ARCH_H */