Module Name:    src
Committed By:   matt
Date:           Sat Sep  7 00:33:32 UTC 2013

Modified Files:
        src/sys/arch/arm/cortex: a9_mpsubr.S

Log Message:
Remove brain fart with TTBCR


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/arm/cortex/a9_mpsubr.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/arm/cortex/a9_mpsubr.S
diff -u src/sys/arch/arm/cortex/a9_mpsubr.S:1.8 src/sys/arch/arm/cortex/a9_mpsubr.S:1.9
--- src/sys/arch/arm/cortex/a9_mpsubr.S:1.8	Mon Aug  5 00:59:19 2013
+++ src/sys/arch/arm/cortex/a9_mpsubr.S	Sat Sep  7 00:33:32 2013
@@ -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 @@ arm_cpuinit:
 	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

Reply via email to