|
Packit Service |
706eca |
/* Simulator for Analog Devices Blackfin processors.
|
|
Packit Service |
706eca |
|
|
Packit Service |
706eca |
Copyright (C) 2005-2018 Free Software Foundation, Inc.
|
|
Packit Service |
706eca |
Contributed by Analog Devices, Inc.
|
|
Packit Service |
706eca |
|
|
Packit Service |
706eca |
This file is part of simulators.
|
|
Packit Service |
706eca |
|
|
Packit Service |
706eca |
This program is free software; you can redistribute it and/or modify
|
|
Packit Service |
706eca |
it under the terms of the GNU General Public License as published by
|
|
Packit Service |
706eca |
the Free Software Foundation; either version 3 of the License, or
|
|
Packit Service |
706eca |
(at your option) any later version.
|
|
Packit Service |
706eca |
|
|
Packit Service |
706eca |
This program is distributed in the hope that it will be useful,
|
|
Packit Service |
706eca |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
706eca |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit Service |
706eca |
GNU General Public License for more details.
|
|
Packit Service |
706eca |
|
|
Packit Service |
706eca |
You should have received a copy of the GNU General Public License
|
|
Packit Service |
706eca |
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
|
Packit Service |
706eca |
|
|
Packit Service |
706eca |
#ifndef BFIN_ARCH_H
|
|
Packit Service |
706eca |
#define BFIN_ARCH_H
|
|
Packit Service |
706eca |
|
|
Packit Service |
706eca |
typedef enum model_type {
|
|
Packit Service |
706eca |
#define P(n) MODEL_BF##n,
|
|
Packit Service |
706eca |
#include "proc_list.def"
|
|
Packit Service |
706eca |
#undef P
|
|
Packit Service |
706eca |
MODEL_MAX
|
|
Packit Service |
706eca |
} MODEL_TYPE;
|
|
Packit Service |
706eca |
|
|
Packit Service |
706eca |
typedef enum mach_attr {
|
|
Packit Service |
706eca |
MACH_BASE,
|
|
Packit Service |
706eca |
MACH_BFIN,
|
|
Packit Service |
706eca |
MACH_MAX
|
|
Packit Service |
706eca |
} MACH_ATTR;
|
|
Packit Service |
706eca |
|
|
Packit Service |
706eca |
enum {
|
|
Packit Service |
706eca |
#define I(insn) BFIN_INSN_##insn,
|
|
Packit Service |
706eca |
#include "insn_list.def"
|
|
Packit Service |
706eca |
#undef I
|
|
Packit Service |
706eca |
BFIN_INSN_MAX
|
|
Packit Service |
706eca |
};
|
|
Packit Service |
706eca |
|
|
Packit Service |
706eca |
#endif
|