[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]

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().                                    |
 |___________________________________________________________________|


[Back to Amiga Developer Docs]