PatchworkOS  da8a090
A non-POSIX operating system.
Loading...
Searching...
No Matches
apic_timer.h File Reference
#include <stdint.h>
Include dependency graph for apic_timer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  apic_timer_mode_t { APIC_TIMER_MASKED = 0x10000 , APIC_TIMER_PERIODIC = 0x20000 , APIC_TIMER_ONE_SHOT = 0x00000 }
 APIC Timer Modes. More...
 
enum  apic_timer_divider_t {
  APIC_TIMER_DIV_16 = 0x3 , APIC_TIMER_DIV_32 = 0x4 , APIC_TIMER_DIV_64 = 0x5 , APIC_TIMER_DIV_128 = 0x6 ,
  APIC_TIMER_DIV_DEFAULT = APIC_TIMER_DIV_16
}
 APIC Timer Divider Values. More...
 

Functions

uint64_t apic_timer_init (void)
 Initialize the APIC timer subsystem.