Implement debug console device
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user