Tenok
A Linux-like Real-Time Operating System for Robotics and Internet of Things
include
kernel
softirq.h
Go to the documentation of this file.
1
4
#ifndef __KERNEL_SOFTIRQ_H__
5
#define __KERNEL_SOFTIRQ_H__
6
7
struct
tasklet_struct
{
8
void (*func)(
unsigned
long);
9
unsigned
long
data;
10
struct
list_head
list;
11
};
12
20
void
tasklet_init
(
struct
tasklet_struct
*t,
21
void
(*func)(
unsigned
long
),
22
unsigned
long
data);
23
29
void
tasklet_schedule
(
struct
tasklet_struct
*t);
30
31
void
softirqd(
void
);
32
33
#endif
tasklet_init
void tasklet_init(struct tasklet_struct *t, void(*func)(unsigned long), unsigned long data)
Initialize the tasklet.
Definition:
softirq.c:16
tasklet_schedule
void tasklet_schedule(struct tasklet_struct *t)
Schedule the tasklet.
Definition:
softirq.c:24
list_head
Definition:
list.h:111
tasklet_struct
Definition:
softirq.h:7
Generated by
1.9.1