Date: Sat, 5 Jan 2008 06:09:19 GMT From: Warner Losh <imp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 132551 for review Message-ID: <200801050609.m0569J77020575@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=132551 Change 132551 by imp@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) +{ + +}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801050609.m0569J77020575>