qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Softmmu modification: Memory access functions
@ 2007-09-22 14:36 aditya bhandari
  0 siblings, 0 replies; only message in thread
From: aditya bhandari @ 2007-09-22 14:36 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 850 bytes --]

Hi,
I've been trying to figure out how to modify the softmmu for x86. I am only
interested in system emulation at the moment. I've being trying to figure
out the memory access functions, but the number of macros used makes this
somewhat complicated. I have a few questions:
1. What is the difference between functions with suffix _mmu and those with
suffix _cmmu?
2. What do the 4 values of the ACCESS_TYPE macro designate?
3. What is the difference between _raw, _kernel, and _user? Which ones are
applicable to system emulation?

I also want to be able to intercept every physical memory access (I want to
do some cache statistics experiments). Is there a single function (or maybe
one for read and one for write) that all these accesses go through? I see
several such as ldul_le_p (for example), cpu_physical_memory_rw, ldq_phys.

Thanks.

Aditya

[-- Attachment #2: Type: text/html, Size: 895 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-09-22 14:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-22 14:36 [Qemu-devel] Softmmu modification: Memory access functions aditya bhandari

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).