#include <sys/mman.h>
#define IRQ_NUMBER 7
#define TASK_PRIO 99
#define TASK_MODE 0
#define TASK_STKSZ 0
RT_INTR intr_desc;
RT_TASK server_desc;
void irq_server (void *cookie)
{
for (;;) {
if (!err) {
}
}
}
int main (int argc, char *argv[])
{
int err;
mlockall(MCL_CURRENT|MCL_FUTURE);
"MyIrqServer",
TASK_STKSZ,
TASK_PRIO,
TASK_MODE);
if (!err)
}
void cleanup (void)
{
}