aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/main.c
diff options
context:
space:
mode:
authorMarvin Borner2019-12-21 12:25:14 +0100
committerMarvin Borner2019-12-21 12:25:14 +0100
commit38610cd06dc0b5a3a4ee46f5fe7c341191aa2bc1 (patch)
tree759378766ee6b22d72a0f2fded1b0dd530376a6e /src/userspace/main.c
parent07530dd08e0b29573712b54543a7fc42672bb34b (diff)
Some userspace improvements
GAS is bad, NASM is awesome.
Diffstat (limited to 'src/userspace/main.c')
-rw-r--r--src/userspace/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/userspace/main.c b/src/userspace/main.c
index 63ce8f4..982a5ff 100644
--- a/src/userspace/main.c
+++ b/src/userspace/main.c
@@ -11,10 +11,10 @@ int32_t starts_with(const char *a, const char *b)
void user_main()
{
- char hello[] = "> Successfully switched to usermode!\n";
- syscall_write(hello);
+ printf("> Successfully switched to usermode!");
// init_framebuffer();
+ writec((char) strlen("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"));
while (1) {
char *input = readline();