Implement APIC timer initialization and calibration

This commit is contained in:
2026-04-08 00:15:03 +02:00
parent 4ef068dadc
commit adb591f8c7
9 changed files with 452 additions and 0 deletions

View File

@@ -179,6 +179,10 @@
#define COMPORT_REG_MSR 0x06 /* Modem Status Register */
#define COMPORT_REG_SR 0x07 /* Scratch Register */
/* Minimum and maximum profile intervals */
#define MIN_PROFILE_INTERVAL 1000
#define MAX_PROFILE_INTERVAL 10000000
/* C/C++ specific code */
#ifndef __XTOS_ASSEMBLER__