diff options
| author | Aleksa Vuckovic <aleksav013@gmail.com> | 2023-01-24 16:49:39 +0100 |
|---|---|---|
| committer | Aleksa Vuckovic <aleksav013@gmail.com> | 2023-01-24 16:49:39 +0100 |
| commit | 3a63d67c42e2d71efafb8a30f08758bf0a180c39 (patch) | |
| tree | 957e05d1841a66b573bb39196f526a621d6fe65d /kernel/include/process.h | |
| parent | 95d1eb6d381b3eeaf0a8c3de57d5ee554229bcd6 (diff) | |
removing switch_process.c & registers.c
Diffstat (limited to 'kernel/include/process.h')
| -rw-r--r-- | kernel/include/process.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/kernel/include/process.h b/kernel/include/process.h deleted file mode 100644 index 7e8f59d..0000000 --- a/kernel/include/process.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef PROCESS_H -#define PROCESS_H - -#include <registers.h> -#include <libk/list.h> - -#define STATUS_READY 0 -#define STATUS_RUNNING 1 -#define STATUS_WAITING 2 - -struct process_t { - registers_t registers; - list_t* next; - uint32_t status; - uint32_t pid; - uint32_t time_using_cpu; -}; -typedef struct process_t process_t; - -extern process_t process_list; -extern process_t current_process; - -void create_process(uint64_t rip, uint64_t param1, uint64_t param2); - -#endif |
