14e98e3e1Schristos /* Simulator header for lm32. 24e98e3e1Schristos 34e98e3e1Schristos THIS FILE IS MACHINE GENERATED WITH CGEN. 44e98e3e1Schristos 5*71f62182Schristos 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*71f62182Schristos with this program; if not, write to the Free Software Foundation, Inc., 21*71f62182Schristos 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. 224e98e3e1Schristos 234e98e3e1Schristos */ 244e98e3e1Schristos 254e98e3e1Schristos #ifndef LM32_ARCH_H 264e98e3e1Schristos #define LM32_ARCH_H 274e98e3e1Schristos 28*71f62182Schristos #define TARGET_BIG_ENDIAN 1 29*71f62182Schristos 30*71f62182Schristos #define WI SI 31*71f62182Schristos #define UWI USI 32*71f62182Schristos #define AI USI 33*71f62182Schristos 34*71f62182Schristos #define IAI USI 35*71f62182Schristos 364e98e3e1Schristos /* Enum declaration for model types. */ 374e98e3e1Schristos typedef enum model_type { 384e98e3e1Schristos MODEL_LM32, MODEL_MAX 394e98e3e1Schristos } MODEL_TYPE; 404e98e3e1Schristos 414e98e3e1Schristos #define MAX_MODELS ((int) MODEL_MAX) 424e98e3e1Schristos 434e98e3e1Schristos /* Enum declaration for unit types. */ 444e98e3e1Schristos typedef enum unit_type { 454e98e3e1Schristos UNIT_NONE, UNIT_LM32_U_EXEC, UNIT_MAX 464e98e3e1Schristos } UNIT_TYPE; 474e98e3e1Schristos 484e98e3e1Schristos #define MAX_UNITS (1) 494e98e3e1Schristos 504e98e3e1Schristos #endif /* LM32_ARCH_H */ 51