timer_irq: Rename generic/timer.c to generic/timer_irq.c

Rename the file to make it clear that the code is helper functions for
boards with irq based timers.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2017-03-28 10:46:32 -04:00
parent 65be6d5146
commit 6988507998
4 changed files with 9 additions and 4 deletions

View File

@@ -7,6 +7,7 @@
#include "autoconf.h" // CONFIG_CLOCK_FREQ
#include "board/irq.h" // irq_disable
#include "board/misc.h" // timer_from_us
#include "board/timer_irq.h" // timer_dispatch_many
#include "command.h" // shutdown
#include "sched.h" // sched_timer_kick

6
src/generic/timer_irq.h Normal file
View File

@@ -0,0 +1,6 @@
#ifndef __GENERIC_TIMER_IRQ_H
#define __GENERIC_TIMER_IRQ_H
void timer_dispatch_many(void);
#endif // timer_irq.h