sched: add kthread interface for system calls
This commit is contained in:
parent
e3ea41d297
commit
89672d02f4
9 changed files with 169 additions and 140 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue