timer.c File Reference

#include <routix/system.h>
#include <routix/8254.h>
#include <routix/8259.h>
#include <routix/debug.h>
#include <routix/task.h>
#include <routix/kalloc.h>
#include <routix/time.h>
#include <routix/sched.h>
#include <routix/atomic.h>
#include <routix/timer.h>
#include <sys/list.h>

Go to the source code of this file.

Functions

Variables


Function Documentation

void actualizar_timers void   ) 
 

Definition at line 101 of file timer.c.

int clean_timer timer_t timer  )  [inline]
 

Definition at line 305 of file timer.c.

Referenced by actualizar_timers(), leer_escribir_new(), read_sector_block_new(), recalibrate_block_new(), and seek_block_new().

timer_t* create_timer dword  ticks,
task_struct_t proceso,
void(*  func)(struct timer_t *info),
void *  data
[inline]
 

Definition at line 288 of file timer.c.

Referenced by error(), leer_escribir_new(), motor_on_new(), read_sector_new(), recalibrate_new(), seek_new(), and sys_usleep().

int insert_timer timer_t nuevo  )  [inline, static]
 

Definition at line 171 of file timer.c.

Referenced by create_timer().

LIST_NEW timer_t   ) 
 

Definition at line 25 of file timer.c.

int remove_timer timer_t timer  )  [inline, static]
 

Definition at line 253 of file timer.c.

Referenced by clean_timer().

void timer_dump void   )  [inline]
 

Solo para debug, imprime en pantalla el listado de timers activos.

Definition at line 326 of file timer.c.


Variable Documentation

dword jiffies = 0
 

Definition at line 19 of file timer.c.

volatile timer_t* timer_inicio = NULL
 

Definition at line 22 of file timer.c.

spinlock_t timer_lock = 1
 

Definition at line 131 of file timer.c.


Generated on Sun May 30 18:38:37 2004 for Routix OS by doxygen 1.3.6