sim/erc32: Corrected wrong CPU implementation and version ID in psr
This commit is contained in:
parent
53b5af48f6
commit
df9bc4163b
@ -1,3 +1,7 @@
|
||||
2015-02-21 Jiri Gaisler <jiri@gaisler.se>
|
||||
|
||||
* exec.c (init_regs): erc32 has vendor ID 1 and version ID 1 in %psr.
|
||||
|
||||
2015-02-21 Jiri Gaisler <jiri@gaisler.se>
|
||||
|
||||
* func.c (print_insn_sparc_sis): Add helper function for disassembly.
|
||||
|
@ -2011,7 +2011,7 @@ init_regs(sregs)
|
||||
sregs->npc = 4;
|
||||
sregs->trap = 0;
|
||||
sregs->psr &= 0x00f03fdf;
|
||||
sregs->psr |= 0x080; /* Set supervisor bit */
|
||||
sregs->psr |= 0x11000080; /* Set supervisor bit */
|
||||
sregs->breakpoint = 0;
|
||||
sregs->annul = 0;
|
||||
sregs->fpstate = FP_EXE_MODE;
|
||||
|
Loading…
Reference in New Issue
Block a user