Move functions declaration to MI code, following implementation.
This commit is contained in:
parent
89339b38d8
commit
fcc06be1b2
@ -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.
|
||||
*/
|
||||
|
@ -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.
|
||||
*/
|
||||
|
@ -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 pc);
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user