POK(kernelpart)
/home/jaouen/pok_official/pok/trunk/kernel/arch/sparc/leon3/timer.c File Reference

Leon3 timer management. More...

#include <errno.h>
#include <bsp.h>
#include <core/time.h>
#include <core/sched.h>
#include <arch.h>
#include "ioports.h"
#include "sparc_conf.h"
#include "timer.h"
#include "irq.h"
#include "../traps.h"

Go to the source code of this file.

Functions

void timer_isr (void)
pok_ret_t pok_bsp_time_init ()

Detailed Description

Leon3 timer management.

Author:
Fabien Chouteau

Definition in file timer.c.


Function Documentation

Initialize the timer, register the ISR and unmask the interrupt.

See also:
unmask_irq(irq_nbr)

Definition at line 50 of file timer.c.

void timer_isr ( void  )

Timer interrupt subroutine.

See also:
ack_irq(irq_nbr)

Definition at line 39 of file timer.c.

{
  ack_irq(TIMER_IRQ);
  CLOCK_HANDLER
  return;
}