diff options
| author | Jon Santmyer <jon@jonsantmyer.com> | 2026-10-16 16:42:22 -0400 |
|---|---|---|
| committer | Jon Santmyer <jon@jonsantmyer.com> | 2026-10-16 16:42:22 -0400 |
| commit | d8aca3ff2501f9a77e22e5afb7a30380aed205af (patch) | |
| tree | a27db1749a35aea07317406f170a2d9b2a799ce7 /debug | |
| parent | 548506392b789f58b1556a6ffca917441e1d89fd (diff) | |
| download | jove-kernel-d8aca3ff2501f9a77e22e5afb7a30380aed205af.tar.gz jove-kernel-d8aca3ff2501f9a77e22e5afb7a30380aed205af.tar.bz2 jove-kernel-d8aca3ff2501f9a77e22e5afb7a30380aed205af.zip | |
remove explicit framebuffer in kernel. reduce locking in syscalls
Diffstat (limited to 'debug')
| -rw-r--r-- | debug/debug.c | 11 | ||||
| -rw-r--r-- | debug/debug.h | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/debug/debug.c b/debug/debug.c new file mode 100644 index 0000000..77d5ce7 --- /dev/null +++ b/debug/debug.c @@ -0,0 +1,11 @@ +#include "debug.h" +#include "lib/printf.h" + +bool _debug_has_output = false; + +void +debug_init() +{ + _debug_init_arch(); + kprintf("Debug console enabled\n"); +} diff --git a/debug/debug.h b/debug/debug.h new file mode 100644 index 0000000..13228b7 --- /dev/null +++ b/debug/debug.h @@ -0,0 +1,11 @@ +#ifndef _JOVE_DEBUG_H +#define _JOVE_DEBUG_H 1 + +#include <stdbool.h> + +extern bool _debug_has_output; + +void debug_init(void); +void _debug_init_arch(void); + +#endif |
