Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/cortex Remove brain fart with TTBCR
details: https://anonhg.NetBSD.org/src/rev/e82e626ef120
branches: trunk
changeset: 789754:e82e626ef120
user: matt <matt%NetBSD.org@localhost>
date: Sat Sep 07 00:33:32 2013 +0000
description:
Remove brain fart with TTBCR
diffstat:
sys/arch/arm/cortex/a9_mpsubr.S | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diffs (25 lines):
diff -r afe856ab754a -r e82e626ef120 sys/arch/arm/cortex/a9_mpsubr.S
--- a/sys/arch/arm/cortex/a9_mpsubr.S Sat Sep 07 00:32:54 2013 +0000
+++ b/sys/arch/arm/cortex/a9_mpsubr.S Sat Sep 07 00:33:32 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: a9_mpsubr.S,v 1.8 2013/08/05 00:59:19 matt Exp $ */
+/* $NetBSD: a9_mpsubr.S,v 1.9 2013/09/07 00:33:32 matt Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -166,14 +166,10 @@
mov r1, #((DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2)) | DOMAIN_CLIENT)
mcr p15, 0, r1, c3, c0, 0
- XPUTC(#74)
- mov r0, #0 /* make sure TTBCR is 0 */
- mcr p15, 0, r0, c1, c0, 2
-
/*
* Enable the MMU, etc.
*/
- XPUTC(#75)
+ XPUTC(#74)
mrc p15, 0, r0, c1, c0, 0
movw r3, #:lower16:CPU_CONTROL_SET
Home |
Main Index |
Thread Index |
Old Index