|
PatchworkOS
966e257
A non-POSIX operating system.
|
#include <modules/drivers/apic/apic_timer.h>#include <modules/drivers/apic/lapic.h>#include <kernel/cpu/cpu.h>#include <kernel/cpu/irq.h>#include <kernel/log/log.h>#include <kernel/sched/clock.h>#include <kernel/sched/timer.h>#include <kernel/utils/utils.h>#include <kernel/defs.h>#include <stdint.h>Go to the source code of this file.
Functions | |
| static uint64_t | apic_timer_ticks_per_ms (void) |
| static void | apic_timer_set (irq_virt_t virt, clock_t uptime, clock_t timeout) |
| static void | apic_timer_eoi (cpu_t *cpu) |
| uint64_t | apic_timer_init (void) |
| Initialize the APIC timer subsystem. | |
Variables | |
| static timer_source_t | apicTimer |
|
static |
Definition at line 14 of file apic_timer.c.
|
static |
|
static |
|
static |
According to https://telematics.tm.kit.edu/publications/Files/61/walter_ibm_linux_challenge.pdf, the APIC timer has a precision of 1 microsecond.
Definition at line 78 of file apic_timer.c.