aboutsummaryrefslogtreecommitdiff
path: root/sim/v850
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-11-12 01:25:42 +0700
committerMike Frysinger <vapier@gentoo.org>2022-12-22 19:46:36 -0500
commitae0faac06705a41adf81641d7f33715f626e63e8 (patch)
treec3c1aa2ba9117012819f0f8021ba5845a9241dfc /sim/v850
parent63fd5b5ddad9c715531168d5863853017a1f02d3 (diff)
downloadgdb-ae0faac06705a41adf81641d7f33715f626e63e8.zip
gdb-ae0faac06705a41adf81641d7f33715f626e63e8.tar.gz
gdb-ae0faac06705a41adf81641d7f33715f626e63e8.tar.bz2
sim: v850: switch from SIM_ADDR to address_word
The latter type matches the address size configured for this sim.
Diffstat (limited to 'sim/v850')
-rw-r--r--sim/v850/simops.c4
-rw-r--r--sim/v850/simops.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/sim/v850/simops.c b/sim/v850/simops.c
index 1d5403b..67656d3 100644
--- a/sim/v850/simops.c
+++ b/sim/v850/simops.c
@@ -3387,7 +3387,7 @@ v850_satsub (SIM_DESC sd, unsigned int op0, unsigned int op1, unsigned int *op2p
uint32_t
load_data_mem (SIM_DESC sd,
- SIM_ADDR addr,
+ address_word addr,
int len)
{
uint32_t data;
@@ -3414,7 +3414,7 @@ load_data_mem (SIM_DESC sd,
void
store_data_mem (SIM_DESC sd,
- SIM_ADDR addr,
+ address_word addr,
int len,
uint32_t data)
{
diff --git a/sim/v850/simops.h b/sim/v850/simops.h
index 632febe..85339f5 100644
--- a/sim/v850/simops.h
+++ b/sim/v850/simops.h
@@ -79,8 +79,8 @@ int OP_307E0 (void);
int v850_float_compare(SIM_DESC sd, int cmp, sim_fpu wop1, sim_fpu wop2, int double_op_p);
/* MEMORY ACCESS */
-uint32_t load_data_mem(SIM_DESC sd, SIM_ADDR addr, int len);
-void store_data_mem(SIM_DESC sd, SIM_ADDR addr, int len, uint32_t data);
+uint32_t load_data_mem(SIM_DESC sd, address_word addr, int len);
+void store_data_mem(SIM_DESC sd, address_word addr, int len, uint32_t data);
unsigned long Add32 (unsigned long a1, unsigned long a2, int * carry);