Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
sched.h File Reference
#include "event_channel.h"

Go to the source code of this file.

Data Structures

struct  sched_shutdown
 
struct  sched_poll
 
struct  sched_remote_shutdown
 
struct  sched_watchdog
 
struct  sched_pin_override
 

Macros

#define SCHEDOP_yield   0
 
#define SCHEDOP_block   1
 
#define SCHEDOP_shutdown   2
 
#define SCHEDOP_poll   3
 
#define SCHEDOP_remote_shutdown   4
 
#define SCHEDOP_shutdown_code   5
 
#define SCHEDOP_watchdog   6
 
#define SCHEDOP_pin_override   7
 
#define SHUTDOWN_poweroff   0
 
#define SHUTDOWN_reboot   1
 
#define SHUTDOWN_suspend   2
 
#define SHUTDOWN_crash   3
 
#define SHUTDOWN_watchdog   4
 
#define SHUTDOWN_soft_reset   5
 
#define SHUTDOWN_MAX   5
 

Typedefs

typedef struct sched_shutdown sched_shutdown_t
 
typedef struct sched_poll sched_poll_t
 
typedef struct sched_remote_shutdown sched_remote_shutdown_t
 
typedef struct sched_watchdog sched_watchdog_t
 
typedef struct sched_pin_override sched_pin_override_t
 

Functions

 DEFINE_XEN_GUEST_HANDLE (sched_shutdown_t)
 
 DEFINE_XEN_GUEST_HANDLE (sched_poll_t)
 
 DEFINE_XEN_GUEST_HANDLE (sched_remote_shutdown_t)
 
 DEFINE_XEN_GUEST_HANDLE (sched_watchdog_t)
 
 DEFINE_XEN_GUEST_HANDLE (sched_pin_override_t)
 

Macro Definition Documentation

◆ SCHEDOP_block

#define SCHEDOP_block   1

◆ SCHEDOP_pin_override

#define SCHEDOP_pin_override   7

◆ SCHEDOP_poll

#define SCHEDOP_poll   3

◆ SCHEDOP_remote_shutdown

#define SCHEDOP_remote_shutdown   4

◆ SCHEDOP_shutdown

#define SCHEDOP_shutdown   2

◆ SCHEDOP_shutdown_code

#define SCHEDOP_shutdown_code   5

◆ SCHEDOP_watchdog

#define SCHEDOP_watchdog   6

◆ SCHEDOP_yield

#define SCHEDOP_yield   0

◆ SHUTDOWN_crash

#define SHUTDOWN_crash   3

◆ SHUTDOWN_MAX

#define SHUTDOWN_MAX   5

◆ SHUTDOWN_poweroff

#define SHUTDOWN_poweroff   0

◆ SHUTDOWN_reboot

#define SHUTDOWN_reboot   1

◆ SHUTDOWN_soft_reset

#define SHUTDOWN_soft_reset   5

◆ SHUTDOWN_suspend

#define SHUTDOWN_suspend   2

◆ SHUTDOWN_watchdog

#define SHUTDOWN_watchdog   4

Typedef Documentation

◆ sched_pin_override_t

◆ sched_poll_t

typedef struct sched_poll sched_poll_t

◆ sched_remote_shutdown_t

◆ sched_shutdown_t

◆ sched_watchdog_t

Function Documentation

◆ DEFINE_XEN_GUEST_HANDLE() [1/5]

DEFINE_XEN_GUEST_HANDLE ( sched_pin_override_t  )

◆ DEFINE_XEN_GUEST_HANDLE() [2/5]

DEFINE_XEN_GUEST_HANDLE ( sched_poll_t  )

◆ DEFINE_XEN_GUEST_HANDLE() [3/5]

DEFINE_XEN_GUEST_HANDLE ( sched_remote_shutdown_t  )

◆ DEFINE_XEN_GUEST_HANDLE() [4/5]

DEFINE_XEN_GUEST_HANDLE ( sched_shutdown_t  )

◆ DEFINE_XEN_GUEST_HANDLE() [5/5]

DEFINE_XEN_GUEST_HANDLE ( sched_watchdog_t  )