PPC: fix hreset_vector for 60x, 7x0, 7x5, G2, MPC8xx, MPC5xx, 7400 and 7450
commit09d9828ace37ead29d510a7e24e63c2f15cd4b1c
authorFabien Chouteau <chouteau@adacore.com>
Fri, 29 Mar 2013 02:06:28 +0000 (29 02:06 +0000)
committerAlexander Graf <agraf@suse.de>
Fri, 26 Apr 2013 21:02:40 +0000 (26 23:02 +0200)
treecfdde464ba28a2d0a97f16cc8a86c9fb2d2efb67
parent8e7a6db96566fe4162edaeb3e8b62fc8004d1598
PPC: fix hreset_vector for 60x, 7x0, 7x5, G2, MPC8xx, MPC5xx, 7400 and 7450

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 <chouteau@adacore.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/translate_init.c