Slide 1 Slide 2 Slide 3 Slide 4 Slide 5 Slide 6 Slide 7 Slide 8 Slide 9 Slide 10 Slide 11 Slide 12 Slide 13 Slide 14 Slide 15 Slide 16 Slide 17 Slide 18 Slide 19 Slide 20 Slide 21 Slide 22 Slide 23 Slide 24 Product List
Operating System Slide 8

SWI and Task modules were discussed previously in this presentation. The kernel level supports a few other useful modules. The Semaphore module provides pend and post operations that allow Tasks to wait for I/O or some other external event. SYS/BIOS supports both counting and binary semaphores. Similar to the “select()” API found on other operating systems, the Event module allows a Task to wait for more than one external event. The Event pend() API allows the caller to specify a set of events to wait for and whether or not to wait for all events in a set, or just one of the set. The Clock module provides a heart-beat for the system. The user can create clock functions and specify whether they are periodic or one-shot. Periodic means that they will run forever (or until deleted) at the specified period. One-shot means that the function will only be called one time when the timeout expires. TI provides hook points within the HWI, SWI and Task schedulers which allow the user to plug in their own functions at the key scheduler points for benchmarking or debugging purposes.

PTM Published on: 2012-09-05