sparc: writing to tick_cmpr should not cause a panic
authorPalle Lyckegaard <palle@lyckegaard.dk>
Tue, 15 Sep 2015 13:14:07 +0000 (08:14 -0500)
committerPalle Lyckegaard <palle@lyckegaard.dk>
Tue, 15 Sep 2015 13:14:07 +0000 (08:14 -0500)
commit3de9def6c1ad38d6a5068b07512cbefffafcb758
tree5c9c6fd65e43ce3e83c6683d38e2a441587a6666
parent58ec70444d9cfa50c7405d76a04cda5f9a43e1a1
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>
src/arch/sparc/ua2005.cc