PERFORCE change 132551 for review
Warner Losh
imp at FreeBSD.org
Fri Jan 4 22:09:20 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=132551
Change 132551 by imp at imp_paco-paco on 2008/01/05 06:08:46
Provide some more FreeBSD 7.x and later required functions.
Affected files ...
.. //depot/projects/mips2-jnpr/src/sys/mips/mips/machdep.c#8 edit
Differences ...
==== //depot/projects/mips2-jnpr/src/sys/mips/mips/machdep.c#8 (text+ko) ====
@@ -86,6 +86,7 @@
#if 0
#include <machine/defs.h>
#endif
+#include <machine/clock.h>
#include <machine/asm.h>
#include <machine/bootinfo.h>
#ifdef DDB
@@ -120,6 +121,7 @@
int cpu_clock;
SYSCTL_INT(_hw, OID_AUTO, clockrate, CTLFLAG_RD,
&cpu_clock, 0, "CPU instruction clock rate");
+int clocks_running = 0;
vm_offset_t kstack0;
@@ -671,3 +673,22 @@
printf("Kernel dumps not implemented on this architecture\n");
}
+
+void
+cpu_initclocks()
+{
+ tick_init();
+ clocks_running = 1;
+}
+
+void
+cpu_startprofclock(void)
+{
+
+}
+
+void
+cpu_stopprofclock(void)
+{
+
+}
More information about the p4-projects
mailing list