Mercurial > lcfOS
comparison kernel/process.c3 @ 295:917eab04b8b7
Added disasm
author | Windel Bouwman |
---|---|
date | Thu, 28 Nov 2013 21:10:32 +0100 |
parents | 534b94b40aa8 |
children | 9417caea2eb3 |
comparison
equal
deleted
inserted
replaced
294:e89cca5779b0 | 295:917eab04b8b7 |
---|---|
13 | 13 |
14 // init is the root of all processes: | 14 // init is the root of all processes: |
15 var process_t* init = 0; | 15 var process_t* init = 0; |
16 var int next_pid = 0; | 16 var int next_pid = 0; |
17 | 17 |
18 public func void Init() | 18 public function void init() |
19 { | 19 { |
20 next_pid = 0; | 20 next_pid = 0; |
21 init = Create(); | 21 init = Create(); |
22 } | 22 } |
23 | 23 |
42 { | 42 { |
43 // Perform lookup | 43 // Perform lookup |
44 return 0; | 44 return 0; |
45 } | 45 } |
46 | 46 |
47 |