[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/2] PPC: fix hreset_vector for 60x, 7x0, 7x5, G
From: |
Fabien Chouteau |
Subject: |
Re: [Qemu-devel] [PATCH 2/2] PPC: fix hreset_vector for 60x, 7x0, 7x5, G2, MPC8xx, MPC5xx, 7400 and 7450 |
Date: |
Tue, 02 Apr 2013 09:53:09 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130308 Thunderbird/17.0.4 |
On 04/02/2013 10:09 AM, Alexander Graf wrote:
>
> On 29.03.2013, at 13:06, Fabien Chouteau wrote:
>
>> According to the different user's manuals, the vector offset for system
>> reset (both /HRESET and /SRESET) is 0x00100.
>>
>> This patch may break support of some executables, as the power-on start
>> address may change. For a specific board, if the power-on start address
>> is different than HRESET vector (i.e. 0x00000100 or 0xfff00100), this
>> should be fixed in board's initialization code.
>>
>> Signed-off-by: Fabien Chouteau <address@hidden>
>
> What about the other users of hreset_vector? Can we just remove the variable
> altogether?
>
For the CPUs that don't implement MSR[IP], the hreset_prefix is always
0x00000000, so hreset_vector will be the reset address (i.e. 0xFFFFFFFC)
I guess all this can be converted to a CPU feature flag, telling if
reset is an exception or not.
--
Fabien Chouteau
- Re: [Qemu-devel] [PATCH 2/2] PPC: fix hreset_vector for 60x, 7x0, 7x5, G2, MPC8xx, MPC5xx, 7400 and 7450, Alexander Graf, 2013/04/02
- Re: [Qemu-devel] [PATCH 2/2] PPC: fix hreset_vector for 60x, 7x0, 7x5, G2, MPC8xx, MPC5xx, 7400 and 7450,
Fabien Chouteau <=
- Prev by Date:
Re: [Qemu-devel] [PATCH] append the terminating '\0' to bootorder string
- Next by Date:
Re: [Qemu-devel] [PATCH V10 11/17] qmp: add ImageInfo in BlockDeviceInfo used by query-block
- Previous by thread:
Re: [Qemu-devel] [PATCH 2/2] PPC: fix hreset_vector for 60x, 7x0, 7x5, G2, MPC8xx, MPC5xx, 7400 and 7450
- Next by thread:
Re: [Qemu-devel] [PATCH 2/2] PPC: fix hreset_vector for 60x, 7x0, 7x5, G2, MPC8xx, MPC5xx, 7400 and 7450
- Index(es):