diff options
| author | Alexander Motin <mav@FreeBSD.org> | 2009-05-02 12:59:47 +0000 |
|---|---|---|
| committer | Alexander Motin <mav@FreeBSD.org> | 2009-05-02 12:59:47 +0000 |
| commit | a40d9024df6cc7c8d3ca9ebce79a28840f890251 (patch) | |
| tree | 0961463ce51a684ec4e9ea891895cce8c3c221ae /sys/i386/include | |
| parent | 6a3a164d6e1a5b3c59daefd59ac885cd467c3caf (diff) | |
Notes
Diffstat (limited to 'sys/i386/include')
| -rw-r--r-- | sys/i386/include/apicvar.h | 5 | ||||
| -rw-r--r-- | sys/i386/include/clock.h | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/sys/i386/include/apicvar.h b/sys/i386/include/apicvar.h index c64dae3ca51b..056010a316f4 100644 --- a/sys/i386/include/apicvar.h +++ b/sys/i386/include/apicvar.h @@ -137,7 +137,10 @@ /* IPIs handled by IPI_BITMAPED_VECTOR (XXX ups is there a better place?) */ #define IPI_AST 0 /* Generate software trap. */ #define IPI_PREEMPT 1 -#define IPI_BITMAP_LAST IPI_PREEMPT +#define IPI_HARDCLOCK 2 +#define IPI_STATCLOCK 3 +#define IPI_PROFCLOCK 4 +#define IPI_BITMAP_LAST IPI_PROFCLOCK #define IPI_IS_BITMAPED(x) ((x) <= IPI_BITMAP_LAST) #define IPI_STOP (APIC_IPI_INTS + 7) /* Stop CPU until restarted. */ diff --git a/sys/i386/include/clock.h b/sys/i386/include/clock.h index c968f3ca4be0..a1d4c15c6583 100644 --- a/sys/i386/include/clock.h +++ b/sys/i386/include/clock.h @@ -24,6 +24,12 @@ extern int tsc_is_invariant; void i8254_init(void); +struct trapframe; + +int hardclockintr(struct trapframe *frame); +int statclockintr(struct trapframe *frame); +int profclockintr(struct trapframe *frame); + /* * Driver to clock driver interface. */ |
