Commit Graph

31 Commits

Author SHA1 Message Date
Christopher Fandrich deec4678c1 apic: fix arch_ioapic_setirq 2026-01-28 01:12:35 -08:00
Matheus 40bbf217ee kernel: profiling infrastructure 2025-12-05 18:19:42 -03:00
Matheus 2454ea8dfb apic: wait for completion before sending ipi 2025-09-13 18:22:27 -03:00
Matheus 8ac79edd6b apic: fix ipi race 2025-08-31 14:17:40 -03:00
Matheus 30f66366ff apic: fix formatting 2025-08-25 23:59:23 -03:00
Matheus 136c86354c scheduler: continue rework 2025-08-20 22:00:25 -03:00
Matheus 607566531d kernel: rework init 2025-08-14 20:25:43 -03:00
Vlad-Robert Baciu 6df7c4ebd5 Use IA32_APIC_BASE MSR to get LAPIC address instead of the MADT 2025-01-11 18:46:27 +02:00
Matheus 6245a3d19f kernel: add ubsan bindings, fix some UB reported by it 2024-12-31 11:20:27 -03:00
Matheus b8acbc5bcd timekeeper: redo timekeeping 2024-09-29 11:20:40 -03:00
Matheus 167a0dc2ba timer: get_timer_ticks and some more changes 2024-09-25 19:55:49 -03:00
Matheus 6d436b1a9a timer: limit 2024-09-21 19:26:21 -03:00
Matheus 100c045e36 apic: modify apic timer calibration a bit 2024-09-21 19:07:28 -03:00
Matheus 55c89ea1da apic: misc changes 2024-09-16 21:35:56 -03:00
Matheus 16b6c86a5f cpu: rename _cpu() to current_cpu() 2024-09-15 19:03:09 -03:00
Matheus 1ad1e9fb3c apic: leave more time to calibrate 2024-09-13 20:03:53 -03:00
8infy db55f99e23 Integrate uACPI & remove own ACPI parsing code
This commit adds uACPI as a submodule and removes all handwritten table
parsing code as well as struct definitions, since they now work via
uACPI. There's also now an ability to shut down by using the power
button.
2024-09-01 23:12:44 +03:00
Matheus ec5be70f85 apic: fix i/o apic override gsi 2024-07-27 23:57:41 -03:00
Matheus 8d42b80855 smp: nmi ipi support 2024-05-26 20:51:54 -03:00
Matheus b1b598950c apic: send ipi 2023-11-30 17:49:09 -03:00
Matheus 0185572afc interrupts: IPL_IGNORE which doesn't raise nor lower the IPL on an interrupt 2023-06-27 20:03:57 -03:00
Matheus 3a85c64b80 interrupt: move initial interrupt_set(true) from apic.c to idt.c 2023-06-25 19:57:01 -03:00
Matheus 2ae3846b17 interrupt (x86_64): switch out _cpu()->ipl initialization from apic.c to idt.c 2023-06-25 15:40:42 -03:00
Matheus fc64ccb7a4 apic: ioapic set irq 2023-05-04 19:57:43 -03:00
Matheus bdeed524d1 apic: fix ipl 2023-05-04 18:57:26 -03:00
Matheus de50abc786 apic: register timer 2023-04-23 16:49:42 -03:00
Matheus 74232131fd apic: apic timer init and calibration 2023-04-23 01:09:50 -03:00
Matheus a597f6d951 apic: add ioapic number to printf 2023-04-22 19:14:10 -03:00
Matheus 89c867fc3b apic: local apic initialisation 2023-04-21 21:23:11 -03:00
Matheus 7c59933426 kernel: change apic and acpi external functions to have arch_ before 2023-04-21 14:45:56 -03:00
Matheus 71d61e09aa kernel: i/o apic initialisation and abstractions 2023-04-21 14:29:37 -03:00