diff options
Diffstat (limited to 'sys/arm/xscale/i80321/i80321_timer.c')
-rw-r--r-- | sys/arm/xscale/i80321/i80321_timer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/arm/xscale/i80321/i80321_timer.c b/sys/arm/xscale/i80321/i80321_timer.c index 0cb278e..4d91930 100644 --- a/sys/arm/xscale/i80321/i80321_timer.c +++ b/sys/arm/xscale/i80321/i80321_timer.c @@ -63,6 +63,7 @@ __FBSDID("$FreeBSD$"); #include <arm/xscale/xscalevar.h> +void (*i80321_hardclock_hook)(void) = NULL; struct i80321_timer_softc { device_t dev; } timer_softc; @@ -381,6 +382,8 @@ clockhandler(void *arg) tisr_write(TISR_TMR0); hardclock(frame); + if (i80321_hardclock_hook != NULL) + (*i80321_hardclock_hook)(); return; } |