Skip to content
This repository was archived by the owner on Jul 21, 2025. It is now read-only.

Commit dd21e50

Browse files
authored
Fix
1 parent 2e71dbf commit dd21e50

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

kernel/core/timer.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#include "timer.h"
22
#include "interrupts.h"
3+
#include "process.h"
34

45
#define PIT_A 0x40
56
#define PIT_B 0x41
@@ -34,6 +35,7 @@ u64 timer_get() {
3435

3536
static void timer_handler(struct Registers *regs) {
3637
state.ticks++;
38+
scheduler();
3739
}
3840

3941
void timer_init() {

0 commit comments

Comments
 (0)