Re: [Qemu-devel] How to use cpu_st*_*( )

2013-01-28 Thread Andreas Färber
Hi, Am 28.01.2013 15:52, schrieb qi Lee: > what are the means of ACCESS_TYPE and NB_MMU_MODES? What do these > macros' value depend on? The meaning of NB_MMU_MODES is the number of different Memory Management Unit modes like user mode, supervisor mode, hypervisor mode. It is usually defined in ta

[Qemu-devel] How to use cpu_st*_*( )

2013-01-28 Thread qi Lee
Hi all In QEMU's system mode. I know that QEMU use the load macros (in the softmmu_header.h) to fetch the instruction. static inline RES_TYPE glue(glue(cpu_ld, USUFFIX), MEMSUFFIX)(CPUArchState *env, target_ulong ptr) But I don't know where is the store macros used. I use to to set breakpoint,