#include <errno.h>
#include <bsp.h>
#include <core/time.h>
#include <core/sched.h>
#include <arch/x86/ioports.h>
#include <arch/x86/interrupt.h>
#include "pic.h"
#include "pit.h"
 
Go to the source code of this file.
Macro Definition Documentation
      
        
          | #define OSCILLATOR_RATE   1193180 /** The oscillation rate of x86 clock */ | 
        
      
 
Definition at line 29 of file pit.c.
 
 
Definition at line 30 of file pit.c.
 
 
Definition at line 31 of file pit.c.
 
 
Function Documentation
      
        
          | INTERRUPT_HANDLER  | 
          ( | 
          pit_interrupt  | 
           | ) | 
           | 
        
      
 
Definition at line 33 of file pit.c.
{
   (void) frame;
   CLOCK_HANDLER
}
 
 
 
Definition at line 40 of file pit.c.
{
   pit_freq = POK_TIMER_FREQUENCY;
}