From d3047efc1085d3e2f5524f629e55dc456a2f5065 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 26 Apr 2020 16:45:43 +0200 Subject: Some elf userspace testing --- src/userspace/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/userspace/main.c') 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 +} -- cgit v1.2.3