Mercurial > lcfOS
comparison kernel/syscall.c3 @ 305:0615b5308710
Updated docs
author | Windel Bouwman |
---|---|
date | Fri, 06 Dec 2013 13:50:38 +0100 |
parents | 6753763d3bec |
children | 2e7f55319858 |
comparison
equal
deleted
inserted
replaced
304:fa99f36fabb5 | 305:0615b5308710 |
---|---|
13 const int ReceiveMsg = 2; | 13 const int ReceiveMsg = 2; |
14 const int Reboot = 3; | 14 const int Reboot = 3; |
15 | 15 |
16 | 16 |
17 // System call handlers. System calls are made from user space. | 17 // System call handlers. System calls are made from user space. |
18 function void handle_system_call(int callId, int a, int b, int c, int d) | 18 function void handle_system_call(int callId, int a, int b) |
19 { | 19 { |
20 // Main entry, check what to do here | 20 // Main entry, check what to do here |
21 if (callId == 1) | 21 if (callId == 1) |
22 { | 22 { |
23 handle_send_msg(); | 23 handle_send_msg(); |