runqueues and schedule()

This commit is contained in:
Balazs Gerofi
2012-05-03 18:38:08 +09:00
parent c3226018b9
commit 8c34463dd4
5 changed files with 140 additions and 32 deletions

View File

@ -25,8 +25,10 @@ struct cpu_local_var {
struct process idle;
struct process_vm idle_vm;
aal_spinlock_t runq_lock;
struct process *current;
struct process *next;
struct list_head runq;
size_t runq_len;
struct aal_ikc_channel_desc *syscall_channel;