(empty log message)
@@ -54,8 +54,7 @@ | ||
54 | 54 | /** |
55 | 55 | * @brief Tail ISR context switch code. |
56 | 56 | * |
57 | - * @param[in] sp the stack pointer being switched-out | |
58 | - * @return The stack pointer being switched-in. | |
57 | + * @return The thread being switched-in. | |
59 | 58 | */ |
60 | 59 | thread_t *port_schedule_next(void) { |
61 | 60 | thread_t *ntp; |
@@ -63,7 +62,7 @@ | ||
63 | 62 | chSysLock(); |
64 | 63 | |
65 | 64 | /* TODO statistics, tracing etc */ |
66 | - ntp = chSchRunAhead(); | |
65 | + ntp = chSchSelectFirstI(); | |
67 | 66 | |
68 | 67 | chSysUnlock(); |
69 | 68 |
@@ -724,7 +724,7 @@ | ||
724 | 724 | * |
725 | 725 | * @special |
726 | 726 | */ |
727 | -static inline thread_t *chSchRunAhead(void) { | |
727 | +static inline thread_t *chSchSelectFirstI(void) { | |
728 | 728 | thread_t *otp = currp; |
729 | 729 | thread_t *ntp; |
730 | 730 |