Don't write to inferior_ptid in bsd-kvm.c
[deliverable/binutils-gdb.git] / sim / erc32 / sis.h
index d21bf49499aec5a249d93745b3757dc4cd915f79..65e9351461315073427f55af7b074e84da19d12c 100644 (file)
@@ -1,23 +1,17 @@
-/*
- * This file is part of SIS.
- * 
- * ERC32SIM, SPARC instruction simulator. Copyright (C) 1995 Jiri Gaisler,
- * European Space Agency
- * 
- * 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 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.
- * 
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, see <http://www.gnu.org/licenses/>.
- * 
- */
+/* Copyright (C) 1995-2020 Free Software Foundation, Inc.
+
+   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 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.
+
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "config.h"
 #include "ansidecl.h"
 #include <sim-config.h>
 #include <stdint.h>
 
-#if WITH_HOST_BYTE_ORDER == BIG_ENDIAN
+#if HOST_BYTE_ORDER == BIG_ENDIAN
 #define HOST_BIG_ENDIAN
+#define EBT 0
 #else
 #define HOST_LITTLE_ENDIAN
+#define EBT 3
 #endif
 
 #define I_ACC_EXC 1
@@ -184,7 +180,7 @@ extern struct pstate  sregs;
 extern void    set_regi (struct pstate *sregs, int32 reg,
                          uint32 rval);
 extern void    get_regi (struct pstate *sregs, int32 reg, char *buf);
-extern int     exec_cmd (struct pstate *sregs, char *cmd);
+extern int     exec_cmd (struct pstate *sregs, const char *cmd);
 extern void    reset_stat (struct pstate  *sregs);
 extern void    show_stat (struct pstate  *sregs);
 extern void    init_bpt (struct pstate  *sregs);
@@ -202,7 +198,7 @@ extern int  check_bpt (struct pstate *sregs);
 extern void    reset_all (void);
 extern void    sys_reset (void);
 extern void    sys_halt (void);
-extern int     bfd_load (char *fname);
+extern int     bfd_load (const char *fname);
 extern double  get_time (void);
 
 /* exec.c */
This page took 0.024107 seconds and 4 git commands to generate.