projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
For "msbu", subtract unsigned product from ACC,
[deliverable/binutils-gdb.git]
/
sim
/
d10v
/
d10v_sim.h
diff --git
a/sim/d10v/d10v_sim.h
b/sim/d10v/d10v_sim.h
index e6d9c4bac86c59248889f5b6f091f072182f1e0c..49b3edcfff4cac51ce8627af48765a7d2c6dc634 100644
(file)
--- a/
sim/d10v/d10v_sim.h
+++ b/
sim/d10v/d10v_sim.h
@@
-4,6
+4,7
@@
#include "ansidecl.h"
#include "callback.h"
#include "opcode/d10v.h"
#include "ansidecl.h"
#include "callback.h"
#include "opcode/d10v.h"
+#include "bfd.h"
#define DEBUG_TRACE 0x00000001
#define DEBUG_VALUES 0x00000002
#define DEBUG_TRACE 0x00000001
#define DEBUG_VALUES 0x00000002
@@
-128,6
+129,10
@@
struct _state
extern host_callback *d10v_callback;
extern uint16 OP[4];
extern struct simops Simops[];
extern host_callback *d10v_callback;
extern uint16 OP[4];
extern struct simops Simops[];
+extern asection *text;
+extern bfd_vma text_start;
+extern bfd_vma text_end;
+extern bfd *exec_bfd;
#define PC (State.cregs[2])
#define PSW (State.cregs[0])
#define PC (State.cregs[2])
#define PSW (State.cregs[0])
@@
-174,6
+179,7
@@
extern struct simops Simops[];
#define INC_ADDR(x,i) x = ((State.MD && x == MOD_E) ? MOD_S : (x)+(i))
extern uint8 *dmem_addr PARAMS ((uint32));
#define INC_ADDR(x,i) x = ((State.MD && x == MOD_E) ? MOD_S : (x)+(i))
extern uint8 *dmem_addr PARAMS ((uint32));
+extern bfd_vma decode_pc PARAMS ((void));
#define RB(x) (*(dmem_addr(x)))
#define SB(addr,data) ( RB(addr) = (data & 0xff))
#define RB(x) (*(dmem_addr(x)))
#define SB(addr,data) ( RB(addr) = (data & 0xff))
This page took
0.022935 seconds
and
4
git commands to generate.