qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v1 1/1] target_arm: Make the reset rom_ptr a pro


From: Peter Maydell
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

On 21 August 2014 13:37, Peter Crosthwaite <address@hidden> wrote:
> On Thu, Aug 21, 2014 at 10:33 PM, Peter Maydell
> <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]