Rev 703 | Rev 1170 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 703 | Rev 1139 | ||
|---|---|---|---|
| Line 43... | Line 43... | ||
| 43 | #define PREEMPTION_DISABLED THE->preemption_disabled |
43 | #define PREEMPTION_DISABLED THE->preemption_disabled |
| 44 | 44 | ||
| 45 | /** |
45 | /** |
| 46 | * For each possible kernel stack, structure |
46 | * For each possible kernel stack, structure |
| 47 | * of the following type will be placed at |
47 | * of the following type will be placed at |
| 48 | * the bottom of the stack. |
48 | * the base address of the stack. |
| 49 | */ |
49 | */ |
| 50 | struct the { |
50 | struct the { |
| 51 | count_t preemption_disabled; /**< Preemption disabled counter. */ |
51 | count_t preemption_disabled; /**< Preemption disabled counter. */ |
| 52 | thread_t *thread; /**< Current thread. */ |
52 | thread_t *thread; /**< Current thread. */ |
| 53 | task_t *task; /**< Current task. */ |
53 | task_t *task; /**< Current task. */ |