Rev 703 | Rev 814 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 703 | Rev 788 | ||
|---|---|---|---|
| Line 32... | Line 32... | ||
| 32 | #include <mm/heap.h> |
32 | #include <mm/heap.h> |
| 33 | 33 | ||
| 34 | #include <synch/spinlock.h> |
34 | #include <synch/spinlock.h> |
| 35 | #include <arch.h> |
35 | #include <arch.h> |
| 36 | #include <panic.h> |
36 | #include <panic.h> |
| 37 | #include <list.h> |
37 | #include <adt/list.h> |
| 38 | 38 | ||
| 39 | SPINLOCK_INITIALIZE(tasks_lock); |
39 | SPINLOCK_INITIALIZE(tasks_lock); |
| 40 | LIST_INITIALIZE(tasks_head); |
40 | LIST_INITIALIZE(tasks_head); |
| 41 | 41 | ||
| 42 | /** Initialize tasks |
42 | /** Initialize tasks |