Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jul 2010 17:49:36 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r210131 - in head/sys: amd64/include i386/include sys
Message-ID:  <201007151749.o6FHnaUI057347@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007151749.o6FHnaUI057347>