diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-10-20 18:54:18 +0200 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-10-20 18:54:18 +0200 |
| commit | 813272cd88cc6c0a1dfbb121d2130fc849042c8a (patch) | |
| tree | 61b8ede4a5c191c491621f0185d3a442ff5407dd /userspace/crt0.S | |
| parent | 2f6fe94d436347c4d886407dbfd44b6ac1aa41fa (diff) | |
1st userspace programm and partial newlib support!
Diffstat (limited to 'userspace/crt0.S')
| -rw-r--r-- | userspace/crt0.S | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/userspace/crt0.S b/userspace/crt0.S new file mode 100644 index 0000000..9f7dab1 --- /dev/null +++ b/userspace/crt0.S @@ -0,0 +1,9 @@ +.global _start +.extern main +.extern exit +_start: +call main +call _exit +.wait: + hlt +jmp .wait |
