Implement HIOR
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 28 Feb 2009 18:39:42 +0000 (18:39 +0000)
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 28 Feb 2009 18:39:42 +0000 (18:39 +0000)
commit2adab7d6b53a246905038fde12c2a0c1d40c6807
treefce0d33a9352fc925758d5d5baa8c493efcdf83c
parentcdad4bd8940c6fb1616733550663d006c611b2f4
Implement HIOR

A real 970 CPU starts up with HIOR=0xfff00000 and triggers a reset
exception, basically ending up at IP 0xfff001000.

Later on this HIOR has to be set to 0 by the firmware in order to
enable the OS to handle interrupts on its own.

This patch maps HIOR to exec_prefix, which does the same thing
internally in qemu already.

It replaces the previous patch that changed the 970 initialization
constants, as this is the clean solution to the same problem.

Signed-off-by: Alexander Graf <alex@csgraf.de>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6656 c046a42c-6fe2-441c-8c8c-71466251a162
target-ppc/translate_init.c