Commit Graph

324 Commits

Author SHA1 Message Date
f7554e0e24 Implement KE::Dispatcher::UpdateRunTime stub 2026-05-05 23:22:55 +02:00
27440aefc4 Add TickCount to Kernel Shared Data 2026-05-05 22:47:32 +02:00
ba85c88544 Export ACPI timer information 2026-05-04 16:02:59 +02:00
1050ddea8a Implement framebuffer double buffering 2026-05-04 11:51:52 +02:00
7017985682 Register APIC error handler and stub broadcast IPI for uniprocessor 2026-05-03 13:12:29 +02:00
d1eed619a7 Extend KSD with InterruptTime 2026-04-30 13:00:59 +02:00
6cbda52d6b Extract Dispatcher class from KThread 2026-04-29 20:31:34 +02:00
98733aa62b Implement system time management functions 2026-04-27 23:02:15 +02:00
58deafb1d8 Add support for sending broadcast IPIs 2026-04-27 22:11:30 +02:00
88d1f6f2ae Implement system interrupt prologue and epilogue functions 2026-04-27 20:22:28 +02:00
6a983fe33c Add helper to translate run level to software interrupt vector 2026-04-27 20:17:57 +02:00
6a46dad9c5 Fix incorrect filename reference 2026-04-26 23:12:41 +02:00
534aaba27e Declare compiler intrinsics with proper symbol names 2026-04-26 23:10:42 +02:00
4d12f7ac01 Implement inverse time conversion functions for Unix and XT epochs 2026-04-25 23:32:07 +02:00
439ea891ca Replace lookup-based time logic with direct epoch calculation formulas 2026-04-24 23:27:25 +02:00
3b76146d53 Implement time conversion routines for Unix and XT epoch formats 2026-04-24 17:48:44 +02:00
341759a325 Implement Kernel Shared Data management and initialization 2026-04-24 13:58:33 +02:00
5dc782ca24 Allocate and map the Kernel Shared Data page at startup 2026-04-24 12:12:23 +02:00
2dd1fdf869 Implement RTC support 2026-04-24 09:52:07 +02:00
58010c27f4 Implement CMOS register access functions 2026-04-23 19:13:56 +02:00
98f2f449f9 Add wrapper for RDTSCP instruction 2026-04-22 22:58:17 +02:00
cd4e905054 Add support for I/O APIC controllers and interrupt override handling 2026-04-18 00:04:12 +02:00
d37f2e3827 Implement GetKernelParameterValue to parse and extract boot option values 2026-04-13 19:18:04 +02:00
cec5e8b16b Implement detection of timer capabilities 2026-04-12 23:58:48 +02:00
a08e07e515 Refactor ACPI table caching to use a static array 2026-04-12 18:16:33 +02:00
7d8bfa8f0a Implement support for APIC Self-InterProcessor Interrupts (SIPI) 2026-04-09 20:25:55 +02:00
1fa6e90439 Hook up profile interrupt handler 2026-04-08 23:16:03 +02:00
53c5946c04 Clean up APIC timer initialization 2026-04-08 20:23:37 +02:00
9ffb03217a Implement software interrupt dispatch table and secondary handler lookup 2026-04-08 20:13:35 +02:00
adb591f8c7 Implement APIC timer initialization and calibration 2026-04-08 00:15:03 +02:00
a0d5ee17c2 Replace trap dispatch wrappers with direct symbol mapping 2026-04-07 12:56:33 +02:00
9eff9874c5 Synchronize headers with merged assembly code 2026-04-02 15:16:21 +02:00
2a24ce9a35 Refactor spurious interrupt handling to use assembly routine 2026-04-02 13:14:49 +02:00
9ea79c92a6 Refactor assembly includes and delete manual offset definitions 2026-04-02 10:50:00 +02:00
87a91bfeb1 Make XTDK headers assembly-safe 2026-04-01 16:05:34 +02:00
232b92fd7e Implement spurious interrupt handler 2026-04-01 13:03:46 +02:00
d88f9f0a15 Remove erroneous swapgs and implement proper segment setting 2026-04-01 11:18:28 +02:00
154b2062ba Unify GDT selector naming convention 2026-04-01 11:02:05 +02:00
d00577ac8d Fix previous mode detection by reading CS from the trap frame 2026-03-31 23:10:45 +02:00
620fc24cd2 Fix previous mode detection by reading CS from the trap frame and sanitize segment restoration 2026-03-31 20:38:21 +02:00
52ecbdeaff Add missing TrapVector constant 2026-03-31 13:02:53 +02:00
8c6c63465f Use dedicated NMI stack on i686 2026-03-30 11:43:09 +02:00
a608b26fde Implement NMI stack handling via IST 2026-03-28 20:49:18 +01:00
3ce009db41 Merge branch 'master' into memmgr 2026-03-28 13:59:34 +01:00
a0b0938099 Remove unused header 2026-03-27 22:07:20 +01:00
32d3672a51 Generate distinct handlers for CPU traps and hardware interrupts 2026-03-27 20:42:41 +01:00
9c449bed43 Initialize IDT with specific trap handlers for each vector 2026-03-27 19:16:16 +01:00
64b5de98c8 Move IRQ handling from kernel executive to hardware layer 2026-03-27 12:00:09 +01:00
4e02664977 Merge branch 'master' into memmgr 2026-03-26 23:48:49 +01:00
9b19bc94b3 Replace manual IDT manipulation with SetIdtGate function call 2026-03-26 23:10:00 +01:00