Here are my changes to support simulation of the sh4a.