annotate user/hello.c3 @ 393:6ae782a085e0

Added init program
author Windel Bouwman
date Sat, 17 May 2014 21:17:40 +0200
parents 04cf4d26a3bc
children
rev   line source
283
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
1 module hello;
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
2 import lib;
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
3
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
4 /*
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
5 Demo program running in userspace.
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
6 */
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
7
311
ff665880a6b0 Added testcase for kernel and userspace
Windel Bouwman
parents: 283
diff changeset
8 function void start()
283
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
9 {
393
6ae782a085e0 Added init program
Windel Bouwman
parents: 313
diff changeset
10 lib.print("Hello space");
283
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
11 }
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
12