X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=sim%2Fppc%2Fld-insn.h;h=88318ffa2b34d28888241b029660a5c0df4a8d0a;hb=f3445b37b67deb8f67f7885274b2544684503f78;hp=e800f0dac23681502eb55a9f0849ade4811f3066;hpb=72ec28b8afa357cdde70c612b4e0e9f37a34f8e4;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/ppc/ld-insn.h b/sim/ppc/ld-insn.h index e800f0dac2..88318ffa2b 100644 --- a/sim/ppc/ld-insn.h +++ b/sim/ppc/ld-insn.h @@ -1,10 +1,10 @@ /* This file is part of the program psim. - Copyright (C) 1994,1995,1996, Andrew Cagney + Copyright 1994, 1995, 1996, 2003 Andrew Cagney 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, @@ -13,8 +13,7 @@ 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 . */ @@ -119,6 +118,8 @@ typedef enum { insn_mnemonic, insn_name, insn_comment, + insn_field_6, + insn_field_7, nr_insn_table_fields } insn_table_fields; @@ -134,6 +135,18 @@ typedef enum { model_default = insn_comment, } model_table_fields; +typedef enum { + include_flags = insn_flags, + include_path = insn_name, +} model_include_fields; + +typedef enum { + cache_type_def = insn_name, + cache_derived_name = insn_comment, + cache_name = insn_field_6, + cache_expression = insn_field_7, +} cache_fields; + typedef struct _insn insn; struct _insn { table_entry *file_entry; @@ -183,7 +196,9 @@ typedef enum { extern insn_table *load_insn_table (const char *file_name, decode_table *decode_rules, - filter *filters); + filter *filters, + table_include *includes, + cache_table **cache_rules); model *models; model *last_model;