• R/O
  • SSH
  • HTTPS

chibios: 提交


Commit MetaInfo

修订版13517 (tree)
时间2020-04-06 21:41:34
作者gdisirio

Log Message

(empty log message)

更改概述

差异

--- trunk/os/common/ports/ARMv8-M-ML/chcore.c (revision 13516)
+++ trunk/os/common/ports/ARMv8-M-ML/chcore.c (revision 13517)
@@ -54,8 +54,7 @@
5454 /**
5555 * @brief Tail ISR context switch code.
5656 *
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.
5958 */
6059 thread_t *port_schedule_next(void) {
6160 thread_t *ntp;
@@ -63,7 +62,7 @@
6362 chSysLock();
6463
6564 /* TODO statistics, tracing etc */
66- ntp = chSchRunAhead();
65+ ntp = chSchSelectFirstI();
6766
6867 chSysUnlock();
6968
--- trunk/os/rt/include/chschd.h (revision 13516)
+++ trunk/os/rt/include/chschd.h (revision 13517)
@@ -724,7 +724,7 @@
724724 *
725725 * @special
726726 */
727-static inline thread_t *chSchRunAhead(void) {
727+static inline thread_t *chSchSelectFirstI(void) {
728728 thread_t *otp = currp;
729729 thread_t *ntp;
730730
Show on old repository browser