annotate user/console.c3 @ 315:084cccaa5deb

Added console and screen
author Windel Bouwman
date Sat, 21 Dec 2013 10:03:01 +0100
parents
children
rev   line source
315
084cccaa5deb Added console and screen
Windel Bouwman
parents:
diff changeset
1 module console;
084cccaa5deb Added console and screen
Windel Bouwman
parents:
diff changeset
2
084cccaa5deb Added console and screen
Windel Bouwman
parents:
diff changeset
3 import ipc;
084cccaa5deb Added console and screen
Windel Bouwman
parents:
diff changeset
4
084cccaa5deb Added console and screen
Windel Bouwman
parents:
diff changeset
5
084cccaa5deb Added console and screen
Windel Bouwman
parents:
diff changeset
6 function void main()
084cccaa5deb Added console and screen
Windel Bouwman
parents:
diff changeset
7 {
084cccaa5deb Added console and screen
Windel Bouwman
parents:
diff changeset
8 while(true)
084cccaa5deb Added console and screen
Windel Bouwman
parents:
diff changeset
9 {
084cccaa5deb Added console and screen
Windel Bouwman
parents:
diff changeset
10 var ipc.Msg msg;
084cccaa5deb Added console and screen
Windel Bouwman
parents:
diff changeset
11 ipc.receive_message(&msg);
084cccaa5deb Added console and screen
Windel Bouwman
parents:
diff changeset
12 }
084cccaa5deb Added console and screen
Windel Bouwman
parents:
diff changeset
13 }
084cccaa5deb Added console and screen
Windel Bouwman
parents:
diff changeset
14