Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The files in these directories are µC/OS-III processor independent files provided in source form. See Appendix F, “Licensing Policy”.

\Micrium
    \Software
        \uCOS-III
            \Cfg\Template
                \os_app_hooks.c
                \os_cfg.h
                \os_cfg_app.h
            \Source
                \os_cfg_app.c
                \os_core.c
                \os_dbg.c
                \os_flag.c
                \os_int.c
                \os_mem.c
                \os_msg.c
                \os_mutex.c
                \os_pend_multi.c
                \os_prio.c
                \os_q.c
                \os_sem.c
                \os_stat.c
                \os_task.c
                \os_tick.c
                \os_time.c
                \os_tmr.c
                \OS_VAR
                \os.h
                \os_type.h
            \TLS
                \<tool>
                    \os_tls.c
 
\Micrium

Contains all software components and projects provided by Micriµm.

...

os_core.c contains core functionality for µC/OS-III such as OSInit() to initialize µC/OS-III, OSSched() for the task level scheduler, OSIntExit() for the interrupt level scheduler, pend list (or wait list) management (see Chapter 10, “Pend Pend Lists (or Wait Lists)), ready list management (see Chapter 6, “The Ready List”List), and more.

os_dbg.c contains declarations of constant variables used by a kernel aware debugger or µC/Probe.

os_flag.c contains the code for event flag management. See Chapter 14, “Synchronization” Synchronization for details about event flags.

os_int.c contains code for the interrupt handler task, which is used when OS_CFG_ISR_POST_DEFERRED_EN (see os_cfg.h) is set to 1. See Chapter 9, “Interrupt Management” Interrupt Management for details regarding the interrupt handler task.

os_mem.c contains code for the µC/OS-III fixed-size memory manager, see Chapter 17, “Memory Management” Memory Management (API Changes).

os_msg.c contains code to handle messages. µC/OS-III provides message queues and task specific message queues. os_msg.c provides common code for these two services. See Chapter 15, “Message Passing” Message Passing.

os_mutex.c contains code to manage mutual exclusion semaphores, see Chapter 13, “Resource Management” Resource Management.

os_pend_multi.c contains the code to allow code to pend on multiple semaphores or message queues. This is described in Chapter 16, “Pending Pending On Multiple Objects”Objects API Calls.

os_prio.c contains the code to manage the bitmap table used to keep track of which tasks are ready-to-run, see Chapter 6, “The Ready List” The Ready List. This file can be replaced by an assembly language equivalent to improve performance if the CPU used provides bit set, clear and test instructions, and a count leading zeros instruction.

os_q.c contains code to manage message queues. See Chapter 15, “Message Passing” Message Passing.

os_sem.c contains code to manage semaphores used for resource management and/or synchronization. See Chapter 13, “Resource Management” and Chapter 14, “Synchronization” Resource Management and Synchronization.

os_stat.c contains code for the statistic task, which is used to compute the global CPU usage and the CPU usage of each task. See Chapter 5, “Task Management” About Task Management.

os_task.c contains code for managing tasks using OSTaskCreate(), OSTaskDel(), OSTaskChangePrio(), and many more. See Chapter 5, “Task Management” About Task Management.

os_tick.c contains code to manage tasks that have delayed themselves or that are pending on a kernel object with a timeout. See Chapter 5.

os_time.c contains code to allow a task to delay itself until some time expires. See Chapter 11, “Time Management” Time Management.

os_tmr.c contains code to manage software timers. See Chapter 12, “Timer Management” Timer Management.

os_var.c contains the µC/OS-III global variables. These variables are for µC/OS-III to manage and should not be accessed by application code.

...