Commit 8eba209e3348d7a8d7b411e03d1ffb999308bf3a

Authored by blueswir1
1 parent 3d5be870

Fix reset vector

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4917 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
target-sparc/helper.c
... ... @@ -903,7 +903,7 @@ void cpu_reset(CPUSPARCState *env)
903 903 #ifdef TARGET_SPARC64
904 904 env->pstate = PS_PRIV;
905 905 env->hpstate = HS_PRIV;
906   - env->pc = 0x1fff0000000ULL;
  906 + env->pc = 0x1fff0000020ULL; // XXX should be different for system_reset
907 907 env->tsptr = &env->ts[env->tl];
908 908 #else
909 909 env->pc = 0;
... ...