Permalink
Browse files

test

  • Loading branch information...
1 parent b7134e6 commit f4494daccaa7fa249068b2cd3ce07d9fff6ca6f5 @astrotycoon committed Feb 23, 2012
Showing with 5 additions and 2 deletions.
  1. +1 −0 COS
  2. +1 −0 cos472
  3. +1 −0 object_oriented_c
  4. +2 −2 uCOS/SOFTWARE/uCOS-II/SOURCE/OS_CORE.C
1 COS
Submodule COS added at 891de4
1 cos472
Submodule cos472 added at f1ffa7
Submodule object_oriented_c added at 102cb1
@@ -179,7 +179,7 @@ void OSIntExit (void)
if (OSRunning == TRUE) {
OS_ENTER_CRITICAL();
if (OSIntNesting > 0) { /* Prevent OSIntNesting from wrapping */
- OSIntNesting--;
+ OSIntNesting--; /* 中段嵌套层计数器减1 */
}
if ((OSIntNesting == 0) && (OSLockNesting == 0)) { /* Reschedule only if all ISRs complete ... */
OSIntExitY = OSUnMapTbl[OSRdyGrp]; /* ... and not locked. */
@@ -303,7 +303,7 @@ void OSStart (void)
OSPrioCur = OSPrioHighRdy;
OSTCBHighRdy = OSTCBPrioTbl[OSPrioHighRdy]; /* Point to highest priority task ready to run */
OSTCBCur = OSTCBHighRdy;
- OSStartHighRdy(); /* Execute target specific code to start task */
+ OSStartHighRdy(); /* Execute target specific code to start task *//* 运行最高优先级别的就绪任务 */
}
}
/*$PAGE*/

0 comments on commit f4494da

Please sign in to comment.