svn commit: r210131 - in head/sys: amd64/include i386/include sys
Alexander Motin
mav at FreeBSD.org
Thu Jul 15 17:49:36 UTC 2010
Author: mav
Date: Thu Jul 15 17:49:35 2010
New Revision: 210131
URL: http://svn.freebsd.org/changeset/base/210131
Log:
Move functions declaration to MI code, following implementation.
Modified:
head/sys/amd64/include/clock.h
head/sys/i386/include/clock.h
head/sys/sys/systm.h
Modified: head/sys/amd64/include/clock.h
==============================================================================
--- head/sys/amd64/include/clock.h Thu Jul 15 17:46:21 2010 (r210130)
+++ head/sys/amd64/include/clock.h Thu Jul 15 17:49:35 2010 (r210131)
@@ -23,11 +23,6 @@ extern int tsc_is_invariant;
void i8254_init(void);
-struct trapframe;
-
-int hardclockintr(struct trapframe *frame);
-int statclockintr(struct trapframe *frame);
-
/*
* Driver to clock driver interface.
*/
Modified: head/sys/i386/include/clock.h
==============================================================================
--- head/sys/i386/include/clock.h Thu Jul 15 17:46:21 2010 (r210130)
+++ head/sys/i386/include/clock.h Thu Jul 15 17:49:35 2010 (r210131)
@@ -23,11 +23,6 @@ extern int tsc_is_invariant;
void i8254_init(void);
-struct trapframe;
-
-int hardclockintr(struct trapframe *frame);
-int statclockintr(struct trapframe *frame);
-
/*
* Driver to clock driver interface.
*/
Modified: head/sys/sys/systm.h
==============================================================================
--- head/sys/sys/systm.h Thu Jul 15 17:46:21 2010 (r210130)
+++ head/sys/sys/systm.h Thu Jul 15 17:49:35 2010 (r210131)
@@ -140,6 +140,7 @@ struct tty;
struct ucred;
struct uio;
struct _jmp_buf;
+struct trapframe;
int setjmp(struct _jmp_buf *);
void longjmp(struct _jmp_buf *, int) __dead2;
@@ -243,6 +244,9 @@ void profclock(int usermode, uintfptr_t
void timer1clock(int usermode, uintfptr_t pc);
void timer2clock(int usermode, uintfptr_t pc);
+int hardclockintr(struct trapframe *frame);
+int statclockintr(struct trapframe *frame);
+
void startprofclock(struct proc *);
void stopprofclock(struct proc *);
void cpu_startprofclock(void);
More information about the svn-src-head
mailing list