j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Author: blueswirl Date: 2009-02-21 12:11:56 +0100 (Sat, 21 Feb 2009) New Revision: 457
Modified: openbios-devel/arch/sparc64/entry.S Log: Clear TLBs on reset
Modified: openbios-devel/arch/sparc64/entry.S =================================================================== --- openbios-devel/arch/sparc64/entry.S 2009-02-18 13:58:35 UTC (rev 456) +++ openbios-devel/arch/sparc64/entry.S 2009-02-21 11:11:56 UTC (rev 457) @@ -76,6 +76,23 @@ bne bad_conf nop
+ ! Clear ITLB + mov 6 << 3, %g1 + stxa %g0, [%g1] ASI_IMMU + stxa %g0, [%g1] ASI_DMMU + mov 63 << 3, %g1 +1: stxa %g0, [%g1] ASI_ITLB_DATA_ACCESS + subcc %g1, 1 << 3, %g1 + bne 1b + nop + + ! Clear DTLB + mov 63 << 3, %g1 +1: stxa %g0, [%g1] ASI_DTLB_DATA_ACCESS + subcc %g1, 1 << 3, %g1 + bne 1b + nop + ! Get memory size from configuration device ! NB: little endian format mov FW_CFG_RAM_SIZE, %g2