这个函数的意义在源代码里都说明了 ; START MULTITASKING ; void OSStartHighRdy(void) ; ; Note(s) : 1) This function triggers a PendSV exception (essentially, causes a context switch) to cause ; the first task to start. ; ; 2) OSStartHighRdy() MUST: ; a) Setup PendSV exception priority to lowest; ; b) Set initial PSP to 0, to tell context switcher this is first run; ; c) Set OSRunning to TRUE; ; d) Trigger PendSV exception; ; e) Enable interrupts (tasks will run with interrupts enabled). ;********************************************************************************************************