qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: claude vittoria <vittoric@wanadoo.fr>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [ARM] add with PC in argument
Date: Sun, 24 Feb 2008 13:57:04 +0100	[thread overview]
Message-ID: <47C169A0.1020705@wanadoo.fr> (raw)

Hello,

I got a problem in an IRQ handler of mutek OS 
(https://www-asim.lip6.fr/trac/mutekh), target ARM Integrator/CM 
922T-XA10. I try to port it on Qemu. A porting has been done for Skyeyes

So in qemu I don't get the same comportement. The add of lr = pc + 4 
gives lr = pc + 8 into qemu.
I think that s->pc += 4 at start of disas_arm_insn alters the result.
Could you confirm ?

0x7c    add    lr, pc, #4
0x80    ldr    pc, =SystemInterrupt

0x84    ldr    r3, [sp, #PSR_OFF]  <= never executed in Qemu
0x88    msr    spsr_cxsf, r3        @ put cpsr in SPSR
0x8c    ldmia    sp, {r0-r15}^        @ restore Context

B.R.
Claude

             reply	other threads:[~2008-02-24 12:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-24 12:57 claude vittoria [this message]
2008-02-25 17:34 ` [Qemu-devel] [ARM] add with PC in argument Daniel Jacobowitz
2008-02-25 17:53 ` Laurent Desnogues
  -- strict thread matches above, loose matches on Subject: below --
2008-02-26  7:55 claude vittoria

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=47C169A0.1020705@wanadoo.fr \
    --to=vittoric@wanadoo.fr \
    --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).