The following chart gives a brief description of the Exec functions that
control tasks. See the Amiga ROM Kernel Reference Manual: Includes and
Autodocs for details about each call.
Table 21-3: Exec Task, Processor and Cache Control Functions
___________________________________________________________________
| |
| Exec Task |
| Function Description |
|===================================================================|
| addtask() add a task to the system. |
| alloctrap() allocate a processor trap vector. |
| disable() disable interrupt processing. |
| enable() enable interrupt processing. |
| findtask() find a specific task. |
| forbid() forbid task rescheduling. |
| freetrap() release a process trap. |
| permit() permit task rescheduling. |
| settaskpri() set the priority of a task. |
| remtask() remove a task from the system. |
|-------------------------------------------------------------------|
| cachecleare() flush cpu instruction and/or data caches (v37). |
| cacheclearu() flush cpu instruction and data caches (v37). |
| cachecontrol() global cache control (v37). |
| cachepostdma() perform actions prior to hardware dma (v37). |
| cachepredma() perform actions after hardware dma (v37). |
| getcc() get processor condition codes. |
| setsr() get/set processor status register. |
| superstate() set supervisor mode with user stack. |
| supervisor() execute a short supervisor mode function. |
| userstate() return to user mode with user stack. |
|-------------------------------------------------------------------|
| createtask() amiga.lib function to setup and add a new task. |
| deletetask() amiga.lib function to delete a task created with |
| CreateTask(). |
|___________________________________________________________________|