This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Definition in file rtai_tasklets.h.#include <rtai_types.h>
#include <rtai_sched.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/mman.h>
#include <stdarg.h>
#include <rtai_usi.h>
#include <rtai_lxrt.h>
Include dependency graph for rtai_tasklets.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
struct | rt_tasklet_struct |
Defines | |
#define | TSKIDX 1 |
#define | INIT 0 |
#define | DELETE 1 |
#define | TASK_INSERT 2 |
#define | TASK_REMOVE 3 |
#define | USE_FPU 4 |
#define | TIMER_INSERT 5 |
#define | TIMER_REMOVE 6 |
#define | SET_TASKLETS_PRI 7 |
#define | SET_FIR_TIM 8 |
#define | SET_PER 9 |
#define | SET_HDL 10 |
#define | SET_DAT 11 |
#define | EXEC_TASKLET 12 |
#define | WAIT_IS_HARD 13 |
#define | SET_TSK_PRI 14 |
#define | REG_TASK 15 |
#define | TASKLET_STACK_SIZE 8196 |
#define | rt_init_timer rt_init_tasklet |
#define | rt_delete_timer rt_delete_tasklet |
#define | rt_set_timer_handler rt_set_tasklet_handler |
#define | rt_set_timer_data rt_set_tasklet_data |
#define | rt_timer_use_fpu rt_tasklet_use_fpu |
Functions | |
int | support_tasklet (void *tasklet) |
rt_tasklet_struct * | rt_init_tasklet (void) |
Init, in kernel space, a tasklet structure to be used in user space. | |
void | rt_delete_tasklet (struct rt_tasklet_struct *tasklet) |
Delete, in kernel space, a tasklet structure to be used in user space. | |
int | rt_insert_timer (struct rt_tasklet_struct *timer, int priority, RTIME firing_time, RTIME period, void(*handler)(unsigned long), unsigned long data, int pid) |
Insert a timer in the list of timers to be processed. | |
void | rt_remove_timer (struct rt_tasklet_struct *timer) |
Remove a timer in the list of timers to be processed. | |
void | rt_set_timer_priority (struct rt_tasklet_struct *timer, int priority) |
Change the priority of an existing timer. | |
void | rt_set_timer_firing_time (struct rt_tasklet_struct *timer, RTIME firing_time) |
Change the firing time of a timer. | |
void | rt_set_timer_period (struct rt_tasklet_struct *timer, RTIME period) |
Change the period of a timer. | |
int | rt_set_tasklet_handler (struct rt_tasklet_struct *tasklet, void(*handler)(unsigned long)) |
void | rt_set_tasklet_data (struct rt_tasklet_struct *tasklet, unsigned long data) |
RT_TASK * | rt_tasklet_use_fpu (struct rt_tasklet_struct *tasklet, int use_fpu) |
int | rt_insert_tasklet (struct rt_tasklet_struct *tasklet, int priority, void(*handler)(unsigned long), unsigned long data, unsigned long id, int pid) |
Insert a tasklet in the list of tasklets to be processed. | |
void | rt_set_tasklet_priority (struct rt_tasklet_struct *tasklet, int priority) |
void | rt_remove_tasklet (struct rt_tasklet_struct *tasklet) |
Remove a tasklet in the list of tasklets to be processed. | |
int | rt_exec_tasklet (struct rt_tasklet_struct *tasklet) |
Exec a tasklet. |