From 813272cd88cc6c0a1dfbb121d2130fc849042c8a Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Mon, 20 Oct 2014 18:54:18 +0200 Subject: 1st userspace programm and partial newlib support! --- userspace/crt0.S | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 userspace/crt0.S (limited to 'userspace/crt0.S') 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 -- cgit v1.2.3