annotate user/ipc.c3 @ 311:ff665880a6b0

Added testcase for kernel and userspace
author Windel Bouwman
date Mon, 16 Dec 2013 12:49:24 +0100
parents 6aa721e7b10b
children 04cf4d26a3bc
rev   line source
293
6aa721e7b10b Try to improve build sequence
Windel Bouwman
parents:
diff changeset
1
6aa721e7b10b Try to improve build sequence
Windel Bouwman
parents:
diff changeset
2 module ipc;
6aa721e7b10b Try to improve build sequence
Windel Bouwman
parents:
diff changeset
3
311
ff665880a6b0 Added testcase for kernel and userspace
Windel Bouwman
parents: 293
diff changeset
4 function void SendMessage(Msg *msg)
293
6aa721e7b10b Try to improve build sequence
Windel Bouwman
parents:
diff changeset
5 {
6aa721e7b10b Try to improve build sequence
Windel Bouwman
parents:
diff changeset
6 kernelTrap(MSG_SEND, msg)
6aa721e7b10b Try to improve build sequence
Windel Bouwman
parents:
diff changeset
7 }
6aa721e7b10b Try to improve build sequence
Windel Bouwman
parents:
diff changeset
8
311
ff665880a6b0 Added testcase for kernel and userspace
Windel Bouwman
parents: 293
diff changeset
9 function void RecvMessage(Msg msg)
293
6aa721e7b10b Try to improve build sequence
Windel Bouwman
parents:
diff changeset
10 {
6aa721e7b10b Try to improve build sequence
Windel Bouwman
parents:
diff changeset
11 kernelTrap(MSG_RECV, msg);
6aa721e7b10b Try to improve build sequence
Windel Bouwman
parents:
diff changeset
12 }
6aa721e7b10b Try to improve build sequence
Windel Bouwman
parents:
diff changeset
13