qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] ldl_code definition (qemu 0.9.0)
@ 2010-01-22 11:44 saul.saggin
  0 siblings, 0 replies; only message in thread
From: saul.saggin @ 2010-01-22 11:44 UTC (permalink / raw)
  To: qemu-devel

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

Hi,
I'm working on Qemu (0.9.0) extension in order to interact with SystemC (for ARM system).

I would like to know where the ldl_code function is defined.

Qemu code use it on disas_arm_insn(...) function (code below): 

static void disas_arm_insn(CPUState * env, DisasContext *s)
{
    unsigned int cond, insn, val, op1, i, shift, rm, rs, rn, rd, sh;

    insn = ldl_code(s->pc);
    s->pc += 4;
    ...
}

Grep shows me that cpu-all.h contains a definition for this function (code below):
#define ldl_code(p) ldl_raw(p)

but commenting it compilation process still work fine.

So, where really is located ldl_code function definition?



 ___Dott. Saul Saggin_______________________________
EDALab - Network Embedded Systems
Dip. di Informatica, Universita' degli Studi di Verona
Strada le Grazie, 15 - 37134 Verona (Italy)
email: saul.saggin@edalab.it
tel. : +39 045 802 70 85
fax  : +39 045 802 70 68
web : www.edalab.it
______________________________________________________



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

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

only message in thread, other threads:[~2010-01-22 11:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-22 11:44 [Qemu-devel] ldl_code definition (qemu 0.9.0) saul.saggin

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