Rev 430 | Rev 475 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 430 | Rev 452 | ||
---|---|---|---|
Line 68... | Line 68... | ||
68 | * function returns. |
68 | * function returns. |
69 | * |
69 | * |
70 | * interrupts_disable() is assumed. |
70 | * interrupts_disable() is assumed. |
71 | * |
71 | * |
72 | */ |
72 | */ |
73 | void cushion(void) |
73 | static void cushion(void) |
74 | { |
74 | { |
75 | void (*f)(void *) = THREAD->thread_code; |
75 | void (*f)(void *) = THREAD->thread_code; |
76 | void *arg = THREAD->thread_arg; |
76 | void *arg = THREAD->thread_arg; |
77 | 77 | ||
78 | /* this is where each thread wakes up after its creation */ |
78 | /* this is where each thread wakes up after its creation */ |