Mercurial > lcfOS
comparison kernel/process.c3 @ 408:ad6be5454067
Added image build task
author | Windel Bouwman |
---|---|
date | Sat, 21 Feb 2015 12:17:47 +0100 |
parents | 9eb1fc6aad6c |
children | 6aa9743ed362 |
comparison
equal
deleted
inserted
replaced
407:9eb1fc6aad6c | 408:ad6be5454067 |
---|---|
12 } process_t; | 12 } process_t; |
13 | 13 |
14 var process_t* first_process; | 14 var process_t* first_process; |
15 var process_t* last_process; | 15 var process_t* last_process; |
16 var int next_pid; | 16 var int next_pid; |
17 var process_t* current; | |
17 | 18 |
18 function void init() | 19 function void init() |
19 { | 20 { |
20 next_pid = 0; | 21 next_pid = 0; |
21 first_process = 0; | 22 first_process = 0; |
67 { | 68 { |
68 // Perform lookup | 69 // Perform lookup |
69 return 0; | 70 return 0; |
70 } | 71 } |
71 | 72 |
73 | |
74 function void execute_next() | |
75 { | |
76 var process.process_t *old; | |
77 | |
78 old = 0; | |
79 | |
80 if (old != current) | |
81 { | |
82 //execute(current); | |
83 } | |
84 | |
85 kernel.panic(); | |
86 } |