3 Nov 2002 11:36
Re: spontaneous reboot only once after power-up
Izumi Tsutsui <tsutsui <at> ceres.dti.ne.jp>
2002-11-03 10:36:03 GMT
2002-11-03 10:36:03 GMT
In article <200211031025.gA3APb316495 <at> pl374.nas911.nara.nttpc.ne.jp> itohy <at> netbsd.org wrote: > I'm going to commit this change to work around it. : > + _reg_write_4(SH4_ITLB_DA1, 0); > + _reg_write_4(SH4_ITLB_DA1 | (1 << SH4_ITLB_E_SHIFT), 0); > + _reg_write_4(SH4_ITLB_DA1 | (2 << SH4_ITLB_E_SHIFT), 0); > + _reg_write_4(SH4_ITLB_DA1 | (3 << SH4_ITLB_E_SHIFT), 0); It seems these four statements should be in __sh4_itlb_invalidate_all(), rather than sh4_tlb_invalidate_all(). BTW, __sh4_itlb_invalidate_all() should be declared as static, not extern? --- Izumi Tsutsui tsutsui <at> ceres.dti.ne.jp
RSS Feed