gdb/regformats: remove unused regformats/reg-*.dat
[deliverable/binutils-gdb.git] / sim / ppc / emul_generic.h
index ee8f076ca6a0666193c1a6ad4903423a3cfb1ee8..9ea23d4cbd551ee0a2344767d103a94bf4837fb4 100644 (file)
@@ -1,10 +1,10 @@
 /*  This file is part of the program psim.
 
 /*  This file is part of the program psim.
 
-    Copyright (C) 1994-1995, Andrew Cagney <cagney@highland.com.au>
+    Copyright (C) 1994-1996, Andrew Cagney <cagney@highland.com.au>
 
     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
 
     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 of the License, or
+    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,
     (at your option) any later version.
 
     This program is distributed in the hope that it will be useful,
@@ -13,8 +13,7 @@
     GNU General Public License for more details.
  
     You should have received a copy of the GNU General Public License
     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.
+    along with this program; if not, see <http://www.gnu.org/licenses/>.
  
     */
 
  
     */
 
 #include "idecode.h"
 #include "os_emul.h"
 
 #include "idecode.h"
 #include "os_emul.h"
 
+#include "tree.h"
+
 #include "bfd.h"
 #include "bfd.h"
+#include "libiberty.h"
 
 #ifndef INLINE_EMUL_GENERIC
 #define INLINE_EMUL_GENERIC
 
 #ifndef INLINE_EMUL_GENERIC
 #define INLINE_EMUL_GENERIC
@@ -123,6 +125,12 @@ INLINE_EMUL_GENERIC void emul_write_status
  int status,
  int errno);
 
  int status,
  int errno);
 
+INLINE_EMUL_GENERIC void emul_write2_status
+(cpu *processor,
+ int status1,
+ int status2,
+ int errno);
+
 INLINE_EMUL_GENERIC char *emul_read_string
 (char *dest,
  unsigned_word addr,
 INLINE_EMUL_GENERIC char *emul_read_string
 (char *dest,
  unsigned_word addr,
@@ -155,4 +163,16 @@ INLINE_EMUL_GENERIC void emul_write_buffer
  cpu *processor,
  unsigned_word cia);
 
  cpu *processor,
  unsigned_word cia);
 
+/* Simplify the construction of device trees */
+
+INLINE_EMUL_GENERIC void emul_add_tree_options
+(device *tree,
+ bfd *image,
+ const char *emul,
+ const char *env,
+ int oea_interrupt_prefix);
+
+INLINE_EMUL_GENERIC void emul_add_tree_hardware
+(device *tree);
+
 #endif /* _EMUL_GENERIC_H_ */
 #endif /* _EMUL_GENERIC_H_ */
This page took 0.023749 seconds and 4 git commands to generate.