#include <ptimer.h>#include <cubeos.h>#include <sys_var.h>#include <io_duart.h>#include <schedule.h>#include <sys/time.h>Include dependency graph for ptimer.c:
Go to the source code of this file.
Functions | |
| int | KERN_installdispatcher (void(*dispatcher)()) |
| installs a timer dispatcher routine that is called every tick. More... | |
| int | KERN_removedispatcher () |
| removes the installed timer dispatcher routine. More... | |
| int | KERN_ptint (void) |
| periodic timer interrupt routine. More... | |
| void | KERN_init_ptimer (void) |
| initializes the periodic timer of the '332 SIM. More... | |
| unsigned long | _getseconds () |
| returns the second counter. More... | |
| int | _gettimeofday (struct timeval *tp, struct timezone *ignore) |
| fills a struct timeval with the current internal time. More... | |
| int | gettimeofday (struct timeval *tp, struct timezone *ignore) |
| unsigned long | _settimeofday (unsigned long val) |
| sets the internal time from an integer. More... | |
| int | settimeofday (const struct timeval *tp, const struct timezone *ignore) |
Variables | |
| void(* | _KERN_call_dispatcher )() |
Definition in file ptimer.c.
|
||||||||||||
|
Definition at line 150 of file ptimer.c. References TICKS_PER_SECOND. |
|
||||||||||||
|
Definition at line 173 of file ptimer.c. References PTIMER_PITR_VAL, SIM_PITR, and writeshort. |
|
|
Definition at line 28 of file ptimer.c. Referenced by KERN_installdispatcher, KERN_ptint, and KERN_removedispatcher. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002