Rev 916 | Rev 993 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 916 | Rev 935 | ||
---|---|---|---|
Line 60... | Line 60... | ||
60 | "bsw.0\n" |
60 | "bsw.0\n" |
61 | "mov r22 = %0\n" |
61 | "mov r22 = %0\n" |
62 | "mov r23 = %1\n" |
62 | "mov r23 = %1\n" |
63 | "bsw.1\n" |
63 | "bsw.1\n" |
64 | : |
64 | : |
65 | : "r" (((__address) THREAD->kstack) + ALIGN_UP(sizeof(the_t), REGISTER_STACK_ALIGNMENT)), |
65 | : /*"r" (((__address) THREAD->kstack) + ALIGN_UP(sizeof(the_t), REGISTER_STACK_ALIGNMENT)),*/ |
- | 66 | "r" (&THREAD->kstack[THREAD_STACK_SIZE]), |
|
66 | "r" (&THREAD->kstack[THREAD_STACK_SIZE - SP_DELTA])); |
67 | "r" (&THREAD->kstack[THREAD_STACK_SIZE - SP_DELTA]) |
- | 68 | ); |
|
67 | } |
69 | } |
68 | 70 | ||
69 | void after_thread_ran_arch(void) |
71 | void after_thread_ran_arch(void) |
70 | { |
72 | { |
71 | } |
73 | } |