aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/main.c
diff options
context:
space:
mode:
authorMarvin Borner2020-04-26 16:45:43 +0200
committerMarvin Borner2020-04-26 16:45:43 +0200
commitd3047efc1085d3e2f5524f629e55dc456a2f5065 (patch)
tree4e3a0bc956710c05ca64fdeccb310b7a0560cf37 /src/userspace/main.c
parent69d08dcb4580f8e544464bf54432ab07a7f58fc6 (diff)
Some elf userspace testing
Diffstat (limited to 'src/userspace/main.c')
-rw-r--r--src/userspace/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/userspace/main.c b/src/userspace/main.c
index 2e4178a..0e6dfa4 100644
--- a/src/userspace/main.c
+++ b/src/userspace/main.c
@@ -10,10 +10,11 @@ int32_t starts_with(const char *a, const char *b)
void main()
{
+ syscall_halt();
// As char[]: 0xC105BFD6
// As const char *: 0x8048B20
char test[] = "banane";
syscall_write(test);
syscall_halt();
-} \ No newline at end of file
+}