PERFORCE change 229976 for review

Brooks Davis brooks at FreeBSD.org
Wed Jun 19 23:06:25 UTC 2013


http://p4web.freebsd.org/@@229976?ac=10

Change 229976 by brooks at brooks_zenith on 2013/06/19 23:05:33

	Improve the quality of the DE4 FDT file's /cpus section and
	prepare it for an SMP world.
	
	Enable SMP support in all kernel configs.

Affected files ...

.. //depot/projects/ctsrd/beribsd/src/sys/boot/fdt/dts/beripad-de4.dts#24 edit
.. //depot/projects/ctsrd/beribsd/src/sys/mips/conf/BERI_TEMPLATE#8 edit

Differences ...

==== //depot/projects/ctsrd/beribsd/src/sys/boot/fdt/dts/beripad-de4.dts#24 (text+ko) ====

@@ -51,8 +51,21 @@
 		#address-cells = <1>;
 		#size-cells = <1>;
 
+		/*
+		 * Secondary CPUs all start disabled and use the
+		 * spin-table enable method.  cpu-release-addr must be  
+		 * specified for each cpu other than cpu at 0.  Values of
+		 * cpu-release-addr grow down from 0x100000 (kernel).
+		 */
+		status = "disabled";
+		enable-method = "spin-table";
+
 		cpu at 0 {
+			device-type = "cpu";
 			compatible = "sri-cambridge,beri";
+			
+			reg = <0>;
+			status = "okay";
 		};
 	};
 

==== //depot/projects/ctsrd/beribsd/src/sys/mips/conf/BERI_TEMPLATE#8 (text+ko) ====

@@ -12,6 +12,7 @@
 machine		mips mips64
 
 cpu		CPU_BERI
+options 	SMP
 
 options 	HZ=200
 


More information about the p4-projects mailing list