PERFORCE change 210511 for review

Robert Watson rwatson at FreeBSD.org
Wed May 2 07:27:15 UTC 2012


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

Change 210511 by rwatson at rwatson_cinnamon on 2012/05/02 07:26:52

	Many of our comments about BERI (e.g., real-time clock, lack of a
	board-level soft reset) also apply to gxemul, in their own way.

Affected files ...

.. //depot/projects/ctsrd/beribsd/src/sys/mips/gxemul/gxemul_machdep.c#2 edit

Differences ...

==== //depot/projects/ctsrd/beribsd/src/sys/mips/gxemul/gxemul_machdep.c#2 (text+ko) ====

@@ -118,7 +118,7 @@
 /*
  * Perform a board-level soft-reset.
  *
- * XXXRW: BERI doesn't yet have a board-level soft-reset.
+ * XXXRW: Does gxemul have a moral equivalent to board-level reset?
  */
 void
 platform_reset(void)
@@ -160,8 +160,9 @@
 	mips_pcpu0_init();
 
 	/*
-	 * XXXRW: We have no way to compare wallclock time to cycle rate on
-	 * BERI, so for now assume we run at the MALTA default (100MHz).
+	 * XXXRW: Support for the gxemul real-time clock required in order to
+	 * usefully determine our emulated timer frequency.  Go with something
+	 * classic as the default in the mean time.
 	 */
 	platform_counter_freq = MIPS_DEFAULT_HZ;
 	mips_timer_early_init(platform_counter_freq);


More information about the p4-projects mailing list