sched: add kthread interface for system calls

This commit is contained in:
Michael Shaw 2025-02-09 20:56:25 -05:00
commit 89672d02f4
9 changed files with 169 additions and 140 deletions

View file

@ -2,6 +2,8 @@
#ifndef _COMMON_H_
#define _COMMON_H_
#define KSTACK_SIZE 0x4000
#include <limine/limine.h>
#include <stdint.h>
@ -33,6 +35,7 @@ void yield();
void panic();
void cli();
void sti();
void _save_context();
typedef uintptr_t paddr_t;
typedef uint32_t paddr32_t;