Kshell: load executable command

This commit is contained in:
2026-05-04 20:38:10 +02:00
parent ccb6ca89f1
commit c00a247ead
4 changed files with 42 additions and 1 deletions
+7 -1
View File
@@ -51,7 +51,8 @@ void pedicel_main(void* arg)
"pf - trigger a page fault\r\n"
"now - get current date\r\n"
"smash - smash the stack\r\n"
"mem - get used heap info\r\n");
"mem - get used heap info\r\n"
"load - load an user executable\r\n");
continue;
}
@@ -96,6 +97,11 @@ void pedicel_main(void* arg)
continue;
}
if (strncmp(input_buf, "load", 4) == 0) {
loader_load_raw();
continue;
}
printf("%s: command not found\r\n", input_buf);
}
}