Tenok
A Linux-like Real-Time Operating System for Robotics and Internet of Things
include
kernel
daemon.h
Go to the documentation of this file.
1
4
#ifndef __DAEMON_H__
5
#define __DAEMON_H__
6
7
/* clang-format off */
8
#define DAEMON_LIST \
9
DECLARE_DAEMON(SOFTIRQD), \
10
DECLARE_DAEMON(FILESYSD)
11
/* clang-format on */
12
13
#define DECLARE_DAEMON(x) x
14
enum
{
15
DAEMON_LIST,
16
DAEMON_CNT,
17
};
18
#undef DECLARE_DAEMON
19
20
void
set_daemon_id(
int
daemon);
21
uint16_t get_daemon_id(
int
daemon);
22
23
#endif
Generated by
1.9.1