diff options
| author | Jon Santmyer <jon@jonsantmyer.com> | 2026-10-04 10:49:41 -0400 |
|---|---|---|
| committer | Jon Santmyer <jon@jonsantmyer.com> | 2026-10-04 10:49:41 -0400 |
| commit | 8d48bbd9746228b63bafa5f92b621998d7d8f3d3 (patch) | |
| tree | fbaba69059c2e28d5098da4c9be357c38e406626 /lib | |
| parent | 465cba0c00bfc5d89bf10ce353b0adf40bdc098d (diff) | |
| download | jove-kernel-8d48bbd9746228b63bafa5f92b621998d7d8f3d3.tar.gz jove-kernel-8d48bbd9746228b63bafa5f92b621998d7d8f3d3.tar.bz2 jove-kernel-8d48bbd9746228b63bafa5f92b621998d7d8f3d3.zip | |
move init fully to proc. remove init pages prealloc. prepare for scheduling
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/errstr.c | 10 | ||||
| -rw-r--r-- | lib/printf.c | 2 | ||||
| -rw-r--r-- | lib/virtterm.c | 2 |
3 files changed, 11 insertions, 3 deletions
diff --git a/lib/errstr.c b/lib/errstr.c index 6c4425d..d4aed8a 100644 --- a/lib/errstr.c +++ b/lib/errstr.c @@ -15,7 +15,15 @@ errstr(int err) [EHASMAP] = "HAS MAP", [EALIGN] = "ALIGNMENT ERROR", [EEXIST] = "ALREADY EXISTS", - [EBUSY] = "RESOURCE BUSY" + [EBUSY] = "RESOURCE BUSY", + [EEMPTY] = "EMPTY", + [EFULL] = "FULL", + [EOVERFLOW] = "OVERFLOW", + [EBADCALL] = "BAD CALL", + [EPERM] = "NO PERMISSION", + [EBADPROC] = "INVALID PROCESS", + [ENOMAIL] = "NO MAIL", + [ETIMEOUT] = "TIMEOUT" }; if(err >= sizeof(errstrs) / sizeof(const char*)) { return "UNKNOWN ERROR"; diff --git a/lib/printf.c b/lib/printf.c index 0a9cc15..7fa681e 100644 --- a/lib/printf.c +++ b/lib/printf.c @@ -1,6 +1,6 @@ #include "printf.h" #include "string.h" -#include "init.h" +#include "proc/init.h" #include "hal/obj.h" #include <stdint.h> diff --git a/lib/virtterm.c b/lib/virtterm.c index 0daa921..8518530 100644 --- a/lib/virtterm.c +++ b/lib/virtterm.c @@ -2,7 +2,7 @@ #include "boot/cmdline.h" #include "boot/initrd.h" #include "hal/obj.h" -#include "init.h" +#include "proc/init.h" #include "jove.h" #include "hal/framebuffer.h" #include "lib/printf.h" |
