aboutsummaryrefslogblamecommitdiff
path: root/03_hello_dynld/main.c
blob: acf1ff70d14724126ddc11063c5669f0240ca728 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                      
// Copyright (c) 2021 Johannes Stoelp

#include <syscall.h>
#include <io.h>

#include <asm/unistd.h>

void _start() {
    pfmt("Running %s @ %s\n", __FUNCTION__, __FILE__);
    syscall1(__NR_exit, 0);
}