qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: qi Lee
Subject: [Qemu-devel] How to use cpu_st*_*( )
Date: Mon, 28 Jan 2013 22:52:18 +0800

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]