qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Cc: Alistair Francis <alistair23@gmail.com>,
	"qemu-devel@nongnu.org Developers" <qemu-devel@nongnu.org>,
	Konstanty Bialkowski <konstanty@ieee.org>
Subject: Re: [Qemu-devel] [PATCH v1 1/1] target_arm: Make the reset rom_ptr a property
Date: Thu, 21 Aug 2014 13:40:14 +0100	[thread overview]
Message-ID: <CAFEAcA8MN2dgb8Ou_68gvf0bX0bWLzk2qHu-dunS06OBSmnwwg@mail.gmail.com> (raw)
In-Reply-To: <CAEgOgz4kKD95+eCxV8CPB-KbxcorgDs4edXk4JUUJZG-rQ1ajg@mail.gmail.com>

On 21 August 2014 13:37, Peter Crosthwaite <peter.crosthwaite@xilinx.com> wrote:
> On Thu, Aug 21, 2014 at 10:33 PM, Peter Maydell
> <peter.maydell@linaro.org> wrote:
>> I think the ELF loading thing is a separate issue -- if we're loading
>> an ELF file we should honour its entry point address instead of
>> trying to load from the vector table. (The question of what we
>> do about SP is an interesting one...)
>>
>
> Well for an elf load you can grab just the SP from VTOR and not the
> PC? You will still need to solve the problem of this patch however.

As you say, it requires that you can at least load from the vector
table, which is problematic if there's nothing there. It's probably
reasonable to require than M profile boards have something in
the memory map where the vector table lives, though.

-- PMM

  reply	other threads:[~2014-08-21 12:40 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-21  1:36 [Qemu-devel] [PATCH v1 1/1] target_arm: Make the reset rom_ptr a property Alistair Francis
2014-08-21  1:40 ` Alistair Francis
2014-08-21  3:37   ` Peter Crosthwaite
2014-08-21  4:13     ` Alistair Francis
2014-08-21 10:55     ` Andreas Färber
2014-08-21 12:33     ` Peter Maydell
2014-08-21 12:37       ` Peter Crosthwaite
2014-08-21 12:40         ` Peter Maydell [this message]
2014-08-21 12:43           ` Peter Crosthwaite
2014-08-21 13:15       ` Christopher Covington
2014-08-21 13:18         ` Peter Maydell
2014-08-21  8:01 ` Peter Maydell
2014-08-21  8:35   ` Alistair Francis
2014-08-21  9:14     ` Peter Maydell
2014-08-21 12:09       ` Alistair Francis
2014-08-21 12:22         ` Peter Crosthwaite
2014-08-21 12:26           ` Alistair Francis
2014-08-21 12:24         ` Peter Maydell
2014-08-21 12:35           ` Peter Crosthwaite
2014-08-21 12:37           ` Alistair Francis

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=CAFEAcA8MN2dgb8Ou_68gvf0bX0bWLzk2qHu-dunS06OBSmnwwg@mail.gmail.com \
    --to=peter.maydell@linaro.org \
    --cc=alistair23@gmail.com \
    --cc=konstanty@ieee.org \
    --cc=peter.crosthwaite@xilinx.com \
    --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).