qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] tracing memory accesses
@ 2008-11-11 10:01 Màrius Montón
  2008-11-11 11:10 ` Erik de Castro Lopo
  2008-11-11 18:51 ` Blue Swirl
  0 siblings, 2 replies; 5+ messages in thread
From: Màrius Montón @ 2008-11-11 10:01 UTC (permalink / raw)
  To: qemu-devel

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

Hello,

I've been working for a while adding SystemC capabilities to QEMU (in short, SystemC is a C++ extension to describe HW and we are using it to add new peripherals to QEMU) (http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?arnumber=4374971)

Now it's time to move a whole system to a SystemC described one but the CPU. My plan is to use QEMU CPU emulation and substitute all peripherals by its SystemC description and communicate using any sort of bus in SystemC too.

So I need to capture all memory accesses from CPU to Memory. I've been looking at code, and I can see that ldq_phys, ldl_phys (in exec.c) are used to load from
memory to CPU, but I'm not able to see what functions are used to manage stores from CPU to memory. I can see some equivalent functions called stl_phys_notdirty and stl_phys, but they never used (I'm focused in ARM platforms).

Do you have any hint about that? Do you think managing these functions is enough to capture all data moving from CPU to RAM?

Thank you!

Màrius

P.S.: I noticed that Argos did similar work, but since they are focused on a very different target, this work should be started from scratch.



[-- Attachment #2: marius_monton.vcf --]
[-- Type: text/x-vcard, Size: 369 bytes --]

begin:vcard
fn;quoted-printable:M=C3=A0rius Monton
n;quoted-printable:Monton;M=C3=A0rius
org:CEPHIS-UAB
adr;quoted-printable:Bellaterra;;QC-2090D, ETSE. Campus de la UAB;Cerdanyola del Vall=C3=A8s;;08015;Spain
email;internet:marius.monton@uab.cat
title:R&D Engineer
tel;work:+34 93 581 35 34
x-mozilla-html:TRUE
url:cephis.uab.cat
version:2.1
end:vcard



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-11-11 18:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-11 10:01 [Qemu-devel] tracing memory accesses Màrius Montón
2008-11-11 11:10 ` Erik de Castro Lopo
2008-11-11 11:21   ` Laurent Desnogues
2008-11-11 11:26   ` Màrius Montón
2008-11-11 18:51 ` Blue Swirl

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).