target-ppc: better support of e300 CPU core
authorThomas Monjalon <thomas@monjalon.net>
Thu, 15 Oct 2009 17:01:19 +0000 (19:01 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Sun, 18 Oct 2009 14:15:34 +0000 (16:15 +0200)
commit856772017f60d5cbcb6f08a48a5535eb64005a54
tree0f29ec896050f8a6845fbbaf3f2da2ba5b707063
parent1eac2158ca57d915388d9dc933b2685e5cb2d22c
target-ppc: better support of e300 CPU core

Declare HID2 register.

Use high BATs for e300 (8 instead of 4).

Fix index of high BATs registers.
Before the fix, IBAT4-7 were overwriting IBAT0-3.

Signed-off-by: François Armand <francois.armand@os4i.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-ppc/translate_init.c