feat: scheduling, usermode, shell

This commit is contained in:
2026-02-17 19:17:01 +01:00
parent 20fa8a9be2
commit 605fbcbe42
46 changed files with 2622 additions and 98 deletions
+7 -1
View File
@@ -60,11 +60,17 @@ namespace Kt {
}
void Putchar(char c) {
if (c == '\n') {
flanterm_write(ctx, "\r\n", 2);
return;
}
flanterm_write(ctx, &c, 1);
}
void Print(const char *text) {
flanterm_write(ctx, text, Lib::strlen(text));
for (size_t i = 0; text[i] != '\0'; i++) {
Putchar(text[i]);
}
}
};