annotate user/hello.c3 @ 283:c9781c73e7e2

Added first kernel files
author Windel Bouwman
date Fri, 15 Nov 2013 12:26:50 +0100
parents
children ff665880a6b0
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
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
8 func void start()
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
9 {
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
10 lib.print("Hello space");
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
11 }
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
12