summaryrefslogtreecommitdiffstats
path: root/target-sparc
diff options
context:
space:
mode:
authorblueswir12008-07-21 13:17:23 +0200
committerblueswir12008-07-21 13:17:23 +0200
commit8eba209e3348d7a8d7b411e03d1ffb999308bf3a (patch)
tree9cf1f8f028fd0b51165e199605bf97cd42d177a3 /target-sparc
parentFix logging output for MIPS HI, LO registers, by Stefan Weil. (diff)
downloadqemu-8eba209e3348d7a8d7b411e03d1ffb999308bf3a.tar.gz
qemu-8eba209e3348d7a8d7b411e03d1ffb999308bf3a.tar.xz
qemu-8eba209e3348d7a8d7b411e03d1ffb999308bf3a.zip
Fix reset vector
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4917 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sparc')
-rw-r--r--target-sparc/helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-sparc/helper.c b/target-sparc/helper.c
index 44406e17e6..6822f1b92f 100644
--- a/target-sparc/helper.c
+++ b/target-sparc/helper.c
@@ -903,7 +903,7 @@ void cpu_reset(CPUSPARCState *env)
#ifdef TARGET_SPARC64
env->pstate = PS_PRIV;
env->hpstate = HS_PRIV;
- env->pc = 0x1fff0000000ULL;
+ env->pc = 0x1fff0000020ULL; // XXX should be different for system_reset
env->tsptr = &env->ts[env->tl];
#else
env->pc = 0;