140 |
stl(ptr, u.i); |
stl(ptr, u.i); |
141 |
} |
} |
142 |
|
|
143 |
|
|
144 |
#if defined(__arm__) && !defined(WORDS_BIGENDIAN) |
#if defined(__arm__) && !defined(WORDS_BIGENDIAN) |
145 |
|
|
146 |
/* NOTE: arm is horrible as double 32 bit words are stored in big endian ! */ |
/* NOTE: arm is horrible as double 32 bit words are stored in big endian ! */ |
318 |
int cpu_breakpoint_remove(CPUState *env, uint32_t pc); |
int cpu_breakpoint_remove(CPUState *env, uint32_t pc); |
319 |
void cpu_single_step(CPUState *env, int enabled); |
void cpu_single_step(CPUState *env, int enabled); |
320 |
|
|
321 |
|
/* memory API */ |
322 |
|
|
323 |
|
typedef void CPUWriteMemoryFunc(uint32_t addr, uint32_t value); |
324 |
|
typedef uint32_t CPUReadMemoryFunc(uint32_t addr); |
325 |
|
|
326 |
|
void cpu_register_physical_memory(unsigned long start_addr, unsigned long size, |
327 |
|
long phys_offset); |
328 |
|
int cpu_register_io_memory(int io_index, |
329 |
|
CPUReadMemoryFunc **mem_read, |
330 |
|
CPUWriteMemoryFunc **mem_write); |
331 |
|
|
332 |
/* gdb stub API */ |
/* gdb stub API */ |
333 |
extern int gdbstub_fd; |
extern int gdbstub_fd; |
334 |
CPUState *cpu_gdbstub_get_env(void *opaque); |
CPUState *cpu_gdbstub_get_env(void *opaque); |