1000Hz PIC timer working + IDT dispatch/handler fixes #5

Merged
xamidev merged 1 commits from time into main 2025-12-27 13:55:00 +01:00
xamidev commented 2025-12-27 13:54:44 +01:00 (Migrated from github.com)

Got a working PIT timer, so we can get interrupts at a regular choosable interval. That's nice for implementing a preemptive scheduler later.

Also I chose using the PIT instead of another timer (HPET/LAPIC..) because it's easier to implement and for now I don't care about multiprocessing.

When we eventually will want to support multiple processor cores, we will need to change this to use Local APICs (and ACPI Tables).

Got a working PIT timer, so we can get interrupts at a regular choosable interval. That's nice for implementing a preemptive scheduler later. Also I chose using the PIT instead of another timer (HPET/LAPIC..) because it's easier to implement and for now I don't care about multiprocessing. When we eventually will want to support multiple processor cores, we will need to change this to use Local APICs (and ACPI Tables).
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: xamidev/pepperOS#5