PERFORCE change 93827 for review

Olivier Houchard cognet at FreeBSD.org
Wed Mar 22 22:28:28 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=93827

Change 93827 by cognet at 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


More information about the p4-projects mailing list