sim: split sim/callback.h include out
[binutils-gdb.git] / sim / frv / registers.h
index 609cf4dc94c9b789c8a0cc30d67e2fb86b092650..4e5bde098bfa1b5187069c69d81296f410209ed5 100644 (file)
@@ -1,22 +1,21 @@
 /* Register definitions for the FRV simulator
 /* Register definitions for the FRV simulator
-   Copyright (C) 2000, 2007 Free Software Foundation, Inc.
+   Copyright (C) 2000-2021 Free Software Foundation, Inc.
    Contributed by Red Hat.
 
 This file is part of the GNU Simulators.
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
    Contributed by Red Hat.
 
 This file is part of the GNU Simulators.
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
+the Free Software Foundation; either version 3 of the License, or
+(at your option) any later version.
 
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
-You should have received a copy of the GNU General Public License along
-with this program; if not, write to the Free Software Foundation, Inc.,
-59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
+You should have received a copy of the GNU General Public License
+along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #ifndef REGISTERS_H
 #define REGISTERS_H
 
 #ifndef REGISTERS_H
 #define REGISTERS_H
@@ -49,6 +48,8 @@ void frv_initialize_spr (SIM_CPU *);
 void frv_reset_spr (SIM_CPU *);
 
 void frv_check_spr_access (SIM_CPU *, UINT);
 void frv_reset_spr (SIM_CPU *);
 
 void frv_check_spr_access (SIM_CPU *, UINT);
+void frv_check_spr_read_access (SIM_CPU *, UINT);
+void frv_check_spr_write_access (SIM_CPU *, UINT);
 
 void frv_fr_registers_available (SIM_CPU *, int *, int *);
 void frv_gr_registers_available (SIM_CPU *, int *, int *);
 
 void frv_fr_registers_available (SIM_CPU *, int *, int *);
 void frv_gr_registers_available (SIM_CPU *, int *, int *);