lab2
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| lab2 [2010/02/25 00:06] – natalia | lab2 [2010/03/19 12:50] (current) – natalia | ||
|---|---|---|---|
| Line 200: | Line 200: | ||
| == OSSemPendAbort == | == OSSemPendAbort == | ||
| OSSemPendAbort function aborts & readies any tasks currently waiting on a semaphore. This function should be used to fault-abort the wait on the semaphore, rather than to normally signal the semaphore via OSSemPost(). | OSSemPendAbort function aborts & readies any tasks currently waiting on a semaphore. This function should be used to fault-abort the wait on the semaphore, rather than to normally signal the semaphore via OSSemPost(). | ||
| + | ==== Prelab studies ==== | ||
| + | Please make sure to read and understand the license agreements listed below: | ||
| + | * {{: | ||
| + | * {{: | ||
| + | * {{: | ||
| + | * {{: | ||
| + | Also read the following study guides and application notes: | ||
| + | * {{: | ||
| + | * {{: | ||
| + | * {{: | ||
| + | * {{: | ||
| + | * {{: | ||
| + | * {{: | ||
| + | * {{: | ||
| + | * {{: | ||
| + | |||
| + | ==== Evaluation ==== | ||
| + | μC/OS-II source code is divided into platform dependent and platform independent files. Platform independent files can be found in Micrium/ | ||
| + | |||
| + | By study the source structure and Micrium/ | ||
| + | - Write a pseudo code using μC/OS-II to create two tasks and protect their critical sections that is accessing a common variable called XYZ. | ||
| + | - In your own words, explain how multitasking is achieved in the μC/OS-II (pay special attention to os_cpu_a.s)? | ||
| + | |||
| + | ==== Resources ===== | ||
| + | * {{: | ||
lab2.1267056385.txt.gz · Last modified: by natalia
