Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/evbarm/gumstix Change order for TLB operation.



details:   https://anonhg.NetBSD.org/src/rev/1cab0c23da05
branches:  trunk
changeset: 783562:1cab0c23da05
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Sat Dec 29 14:22:55 2012 +0000

description:
Change order for TLB operation.
We can boot Overo EarthSTORM.

diffstat:

 sys/arch/evbarm/gumstix/gumstix_start.S |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r a7b0bcc25f2b -r 1cab0c23da05 sys/arch/evbarm/gumstix/gumstix_start.S
--- a/sys/arch/evbarm/gumstix/gumstix_start.S   Sat Dec 29 11:05:29 2012 +0000
+++ b/sys/arch/evbarm/gumstix/gumstix_start.S   Sat Dec 29 14:22:55 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gumstix_start.S,v 1.10 2012/09/01 14:52:35 matt Exp $ */
+/*     $NetBSD: gumstix_start.S,v 1.11 2012/12/29 14:22:55 kiyohara Exp $ */
 /*
  * Copyright (C) 2005, 2006 WIDE Project and SOUM Corporation.
  * All rights reserved.
@@ -66,7 +66,7 @@
 #include <arm/armreg.h>
 #include "assym.h"
 
-RCSID("$NetBSD: gumstix_start.S,v 1.10 2012/09/01 14:52:35 matt Exp $")
+RCSID("$NetBSD: gumstix_start.S,v 1.11 2012/12/29 14:22:55 kiyohara Exp $")
 
 /*
  * CPWAIT -- Canonical method to wait for CP15 update.
@@ -179,8 +179,8 @@
        cmp     r1, #0
        bne     4b
 
+       mcr     p15, 0, r0, c2, c0, 0   /* Set TTB */
        mcr     p15, 0, r0, c8, c7, 0   /* Flush TLB */
-       mcr     p15, 0, r0, c2, c0, 0   /* Set TTB */
 
        /*
         * Set the Domain Access register.  Very important!



Home | Main Index | Thread Index | Old Index