wip: eip saved after the interrupt

This commit is contained in:
2025-01-20 14:36:43 +01:00
parent 2fe4ac5ad5
commit b3be29246e
4 changed files with 16 additions and 8 deletions

View File

@ -1,11 +1,13 @@
#include "kprintf.h"
#include "task.h"
#include "time.h"
struct task *current_task;
void scheduler(void)
{
kprintf("camille mon bebou\n");
sleep(1000);
if (!current_task)
return;
struct task *it = current_task;