Scheduler returns to IDLE when.. idle.

This commit is contained in:
2026-03-09 09:27:55 +01:00
parent 42c7a55d3f
commit 3f9b78b05e
6 changed files with 20 additions and 17 deletions

View File

@@ -52,8 +52,7 @@ void idt_load(void* idt_addr)
void idt_init()
{
// We set 256 entries, but we have only the first few stubs.
// Undefined behavior?
// Hardcoded...
for (size_t i=0; i<=33; i++)
{
// Each vector handler is 16-byte aligned, so <vector_no>*16 = address of that handler