Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/iq80310 Add some nops after we enable the MM...
details: https://anonhg.NetBSD.org/src/rev/822c818a474d
branches: trunk
changeset: 522630:822c818a474d
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sat Feb 23 05:58:46 2002 +0000
description:
Add some nops after we enable the MMU, for good measure (enough for
the nops to be the prefetch'd insns when the MMU switch occurs).
diffstat:
sys/arch/evbarm/iq80310/iq80310_machdep.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r b57d559f64c4 -r 822c818a474d sys/arch/evbarm/iq80310/iq80310_machdep.c
--- a/sys/arch/evbarm/iq80310/iq80310_machdep.c Sat Feb 23 05:55:26 2002 +0000
+++ b/sys/arch/evbarm/iq80310/iq80310_machdep.c Sat Feb 23 05:58:46 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: iq80310_machdep.c,v 1.30 2002/02/23 05:55:26 thorpej Exp $ */
+/* $NetBSD: iq80310_machdep.c,v 1.31 2002/02/23 05:58:46 thorpej Exp $ */
/*
* Copyright (c) 2001, 2002 Wasabi Systems, Inc.
@@ -794,7 +794,7 @@
__asm __volatile("mrc p15, 0, %0, c1, c0, 0"
: "=r" (tmp));
tmp |= CPU_CONTROL_MMU_ENABLE;
- __asm __volatile("mcr p15, 0, %0, c1, c0, 0"
+ __asm __volatile("mcr p15, 0, %0, c1, c0, 0; nop; nop; nop"
:
: "r" (tmp));
}
Home |
Main Index |
Thread Index |
Old Index