...
OSInitHookEnd
is called just before OSInit
returns. This means that OSInit
initialized µC/OS-IIís memory partition services (which you should have to use this port by setting OS_MEM_EN
to 1 in OS_CFG.H
). OSInitHook
simply calls OSFPInit
(see section 15.04.02) which is responsible for setting up the memory partition reserved to hold the contents of floating-point registers for each task. The code for OSInitHookEnd
is shown in Listing 15.12.
OSTCBInitHook()
OS_CPU_C.C
doesnít do anything in this function.
...