All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: Liviu Ionescu <ilg@livius.net>
Cc: QEMU Developers <Qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] How to trigger faults for missing peripherals?
Date: Thu, 18 Jun 2015 11:21:04 +0100	[thread overview]
Message-ID: <CAFEAcA_hNyFZ-=FBagn7pSSOxopNe-NkEj51sqQ=TSCS9a-deg@mail.gmail.com> (raw)
In-Reply-To: <5915E793-8982-4B5E-84C3-3565ACBF91A9@livius.net>

On 18 June 2015 at 10:45, Liviu Ionescu <ilg@livius.net> wrote:
> In order to make the Cortex-M emulation accurate, I would need to configure the missing address ranges to trigger memory faults.
>
> I noticed that the emulator defines a memory range to
> cover the entire 64-bits memory space. Is it possible
> to make it trigger exceptions?

In theory, but the machinery to do this is a bit broken
and there's a bunch of cleanup and design fixes necessary
before we can turn it on for ARM. "do_unassigned_access"
is the QOM CPUClass hook for this, and searching the
mailing list archives will probably turn up discussion
about the fixes needed.

-- PMM

  reply	other threads:[~2015-06-18 10:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-18  9:45 [Qemu-devel] How to trigger faults for missing peripherals? Liviu Ionescu
2015-06-18 10:21 ` Peter Maydell [this message]
2015-06-18 14:30   ` Liviu Ionescu
2015-06-18 14:59     ` Peter Maydell

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='CAFEAcA_hNyFZ-=FBagn7pSSOxopNe-NkEj51sqQ=TSCS9a-deg@mail.gmail.com' \
    --to=peter.maydell@linaro.org \
    --cc=Qemu-devel@nongnu.org \
    --cc=ilg@livius.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.