From 8c63d47651f77d9fb887cad433370b866eb0a193 Mon Sep 17 00:00:00 2001 From: Graeme Russ Date: Tue, 24 Feb 2009 21:14:45 +1100 Subject: Implement SC520 timers Signed-off-by: Graeme Russ --- include/asm-i386/u-boot-i386.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/asm-i386') diff --git a/include/asm-i386/u-boot-i386.h b/include/asm-i386/u-boot-i386.h index 9a60cacd1..3921e01e6 100644 --- a/include/asm-i386/u-boot-i386.h +++ b/include/asm-i386/u-boot-i386.h @@ -43,6 +43,13 @@ extern ulong i386boot_bios_size; /* size of BIOS emulation code */ /* cpu/.../cpu.c */ int cpu_init(void); + +/* cpu/.../timer.c */ +void timer_isr(void *); +typedef void (timer_fnc_t) (void); +int register_timer_isr (timer_fnc_t *isr_func); + +/* Architecture specific - can be in cpu/i386/, lib_i386/, or $(BOARD)/ */ int timer_init(void); /* cpu/.../interrupts.c */ -- cgit v1.2.3