Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 2006 22:28:27 GMT
From:      Olivier Houchard <cognet@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 93827 for review
Message-ID:  <200603222228.k2MMSRBP005829@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=93827

Change 93827 by cognet@cognet on 2006/03/22 22:28:05

	Now that all goes way, don't add a special case in locore.S to map
	the KB9202 devices.

Affected files ...

.. //depot/projects/arm/src/sys/arm/arm/locore.S#19 edit
.. //depot/projects/arm/src/sys/arm/at91/kb920x_machdep.c#19 edit

Differences ...

==== //depot/projects/arm/src/sys/arm/arm/locore.S#19 (text+ko) ====

@@ -199,8 +199,6 @@
 	MMU_INIT(PHYSADDR, PHYSADDR , 64, L1_TYPE_S|L1_S_C|L1_S_AP(AP_KRW))
 	/* map VA 0xc0000000..0xc3ffffff to PA */
 	MMU_INIT(KERNBASE, PHYSADDR, 64, L1_TYPE_S|L1_S_C|L1_S_AP(AP_KRW))
-	/* Map in the system devices */
-	MMU_INIT(0xfff00000, 0xfff00000, 1, L1_TYPE_S|L1_S_C|L1_S_AP(AP_KRW)) 
 
 	.word 0	/* end of table */
 #endif

==== //depot/projects/arm/src/sys/arm/at91/kb920x_machdep.c#19 (text+ko) ====

@@ -203,7 +203,6 @@
 	i = 0;
 
 	set_cpufuncs();
-	cninit();
 
 	fake_preload[i++] = MODINFO_NAME;
 	fake_preload[i++] = strlen("elf kernel") + 1;
@@ -343,6 +342,7 @@
 	setttb(kernel_l1pt.pv_pa);
 	cpu_tlb_flushID();
 	cpu_domains(DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2));
+	cninit();
 
 	/*
 	 * Pages were allocated during the secondary bootstrap for the



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603222228.k2MMSRBP005829>