qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: saul.saggin@univr.it
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] ldl_code definition (qemu 0.9.0)
Date: Fri, 22 Jan 2010 12:44:09 +0100	[thread overview]
Message-ID: <fc90a81b379c.4b599d99@univr.it> (raw)

[-- 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 --]

                 reply	other threads:[~2010-01-22 11:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fc90a81b379c.4b599d99@univr.it \
    --to=saul.saggin@univr.it \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).