diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-08-06 16:26:01 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-08-06 16:26:01 -0600 |
commit | 893d3a9e60609f17026d1eeb774ab993ea393c42 (patch) | |
tree | ae0789b7eadbdac15f2b63c67663dd42df397e49 /nuttx/configs/z80sim | |
parent | e42e89d84e13db8feda4056b3e3499a14b065d47 (diff) | |
download | px4-nuttx-893d3a9e60609f17026d1eeb774ab993ea393c42.tar.gz px4-nuttx-893d3a9e60609f17026d1eeb774ab993ea393c42.tar.bz2 px4-nuttx-893d3a9e60609f17026d1eeb774ab993ea393c42.zip |
Rename up_timerinit() to up_timer_initailize(); Add prototypes for candidate interfaces for the tickless OS; Don't build existing timer initialization logic if CONFIG_SCHED_TICKLESS is defined.
Diffstat (limited to 'nuttx/configs/z80sim')
-rw-r--r-- | nuttx/configs/z80sim/src/z80_irq.c | 2 | ||||
-rw-r--r-- | nuttx/configs/z80sim/src/z80_timerisr.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/configs/z80sim/src/z80_irq.c b/nuttx/configs/z80sim/src/z80_irq.c index 7611dc29e..45d4eb962 100644 --- a/nuttx/configs/z80sim/src/z80_irq.c +++ b/nuttx/configs/z80sim/src/z80_irq.c @@ -77,7 +77,7 @@ void up_irqinitialize(void) * * NOTE: Normally, there are seperate enables for "global" interrupts * and specific device interrupts. In such a "normal" case, the timer - * interrupt should be attached and enabled in the function up_timerinit() + * interrupt should be attached and enabled in the function up_timer_initialize() */ irq_attach(Z80_IRQ_SYSTIMER, (xcpt_t)up_timerisr); diff --git a/nuttx/configs/z80sim/src/z80_timerisr.c b/nuttx/configs/z80sim/src/z80_timerisr.c index e6357e8e0..51ae04add 100644 --- a/nuttx/configs/z80sim/src/z80_timerisr.c +++ b/nuttx/configs/z80sim/src/z80_timerisr.c @@ -80,7 +80,7 @@ int up_timerisr(int irq, FAR chipreg_t *regs) } /**************************************************************************** - * Function: up_timerinit + * Function: up_timer_initialize * * Description: * This function is called during start-up to initialize the timer @@ -88,7 +88,7 @@ int up_timerisr(int irq, FAR chipreg_t *regs) * ****************************************************************************/ -void up_timerinit(void) +void up_timer_initialize(void) { /* The timer interrupt was attached in up_irqinitialize -- see comments there */ } |