Implement debug console device

This commit is contained in:
2026-03-11 15:35:36 +01:00
parent 6ce4864fd3
commit 5024870dc7
23 changed files with 161 additions and 11 deletions

View File

@@ -4,5 +4,9 @@ $(eval $(call add_lib,libterminal))
$(eval $(call add_lib,libprocess))
$(eval $(call add_lib,libstring))
$(eval $(call add_lib,libkb))
$(eval $(call add_lib,libdebugconsole))
$(eval $(call add_lib,libaux))
cflags += -DPRINTF_INCLUDE_CONFIG_H=1
include ../make/user.mk

View File

@@ -1,3 +1,4 @@
#include <debugconsole.h>
#include <kb.h>
#include <limits.h>
#include <process.h>
@@ -23,6 +24,8 @@ void receiver (void* arg) {
}
void app_main (void) {
debug_printf ("Init process is running. Starting user shell...\n");
int ce_pid = exec ("RD", "ce");
ce_pgid = get_procgroup (ce_pid);