aboutsummaryrefslogtreecommitdiff
path: root/apps/idle/main.c
diff options
context:
space:
mode:
authorMarvin Borner2021-05-20 20:19:05 +0200
committerMarvin Borner2021-05-20 20:19:05 +0200
commit519a1de7d9fe809efc4077933fabbe93a8da9439 (patch)
treebe9d636e48036b42c8c6cc490b5f53db8b4f3a2e /apps/idle/main.c
parent59de0af0cff96182d3e30ab453bc9763a6635947 (diff)
More generic makefile layout
Diffstat (limited to 'apps/idle/main.c')
-rw-r--r--apps/idle/main.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/apps/idle/main.c b/apps/idle/main.c
new file mode 100644
index 0000000..43186ff
--- /dev/null
+++ b/apps/idle/main.c
@@ -0,0 +1,16 @@
+// MIT License, Copyright (c) 2021 Marvin Borner
+
+#include <def.h>
+
+int main(int argc, char **argv)
+{
+ UNUSED(argc);
+ UNUSED(argv);
+
+ // Just chillin'
+ while (1)
+ ;
+ /* __asm__ volatile("hlt"); */
+
+ return 0;
+}