A bit of cleaning

This commit is contained in:
2026-02-06 14:39:19 +01:00
parent 38710653be
commit 8aad1235c3
8 changed files with 62 additions and 54 deletions

View File

@@ -12,6 +12,7 @@
#include <kernel.h>
#include <stdbool.h>
#include "sched/scheduler.h"
#include "config.h"
struct interrupt_descriptor idt[256];
struct idtr idt_reg;
@@ -191,8 +192,7 @@ struct cpu_status_t* interrupt_dispatch(struct cpu_status_t* context)
DEBUG("Control Protection Exception!");
break;
case 32:
//DEBUG("Timer Interrupt");
case 32: // Timer Interrupt
ticks++;
if (ticks % SCHEDULER_QUANTUM == 0)