[OpenBIOS] [commit] r767 - trunk/openbios-devel/arch/sparc64

repository service svn at openbios.org
Sun May 2 22:01:35 CEST 2010


Author: blueswirl
Date: Sun May  2 22:01:34 2010
New Revision: 767
URL: http://tracker.coreboot.org/trac/openbios/changeset/767

Log:
Sparc64: fix reset

The zeroth I/D TLB entries weren't cleared.

Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

Modified:
   trunk/openbios-devel/arch/sparc64/entry.S

Modified: trunk/openbios-devel/arch/sparc64/entry.S
==============================================================================
--- trunk/openbios-devel/arch/sparc64/entry.S	Sun May  2 21:26:29 2010	(r766)
+++ trunk/openbios-devel/arch/sparc64/entry.S	Sun May  2 22:01:34 2010	(r767)
@@ -85,14 +85,14 @@
         mov     63 << 3, %g1
 1:      stxa    %g0, [%g1] ASI_ITLB_DATA_ACCESS
         subcc   %g1, 1 << 3, %g1
-        bne     1b
+        bpos    1b
          nop
 
         ! Clear DTLB
         mov     63 << 3, %g1
 1:      stxa    %g0, [%g1] ASI_DTLB_DATA_ACCESS
         subcc   %g1, 1 << 3, %g1
-        bne     1b
+        bpos    1b
          nop
 
         ! Get memory size from configuration device



More information about the OpenBIOS mailing list