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, but failed: glue(glue(cpu_st, SUFFIX), MEMSUFFIX)(CPUArchState *env, target_ulong ptr, RES_TYPE v) #if ACCESS_TYPE != (NB_MMU_MODES + 1) , I don't know why does QEMU use this #if. And what are the means of ACCESS_TYPE and NB_MMU_MODES? What do these macros' value depend on? Thank you! Lee