sparc: writing to tick_cmpr should not cause a panic
This register is writable according to UA2005 Tried to boot NetBSD which starts the kernel by writing to the tick_cmpr register. Without the patch gem5 crashes with a panic. With the patch NetBSD starts to boot normally (although sun4v support in NetBSD is not complete yet) Committed by: Nilay Vaish <nilay@cs.wisc.edu>
This commit is contained in:
parent
58ec70444d
commit
3de9def6c1
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ ISA::setFSReg(int miscReg, const MiscReg &val, ThreadContext *tc)
|
|||
cpu->deschedule(tickCompare);
|
||||
cpu->schedule(tickCompare, cpu->clockEdge(Cycles(time)));
|
||||
}
|
||||
panic("writing to TICK compare register %#X\n", val);
|
||||
DPRINTF(Timer, "writing to TICK compare register value %#X\n", val);
|
||||
break;
|
||||
|
||||
case MISCREG_STICK_CMPR:
|
||||
|
|
Loading…
Reference in a new issue