Revision f17ec444 target-arm/arm-semi.c
b/target-arm/arm-semi.c | ||
---|---|---|
161 | 161 |
/* The size is always stored in big-endian order, extract |
162 | 162 |
the value. We assume the size always fit in 32 bits. */ |
163 | 163 |
uint32_t size; |
164 |
cpu_memory_rw_debug(env, env->regs[13]-64+32, (uint8_t *)&size, 4, 0);
|
|
164 |
cpu_memory_rw_debug(cs, env->regs[13]-64+32, (uint8_t *)&size, 4, 0);
|
|
165 | 165 |
env->regs[0] = be32_to_cpu(size); |
166 | 166 |
#ifdef CONFIG_USER_ONLY |
167 | 167 |
((TaskState *)env->opaque)->swi_errno = err; |
Also available in: Unified diff