ChibiOS  21.6.0
chearly.h File Reference

Early forward types declarations header. More...

#include "chtypes.h"

Go to the source code of this file.

Macros

#define __CH_STRINGIFY(a)   #a
 Utility to make the parameter a quoted string. More...
 
#define __CH_OFFSETOF(st, m)
 Structure field offset utility. More...
 
#define __CH_USED(x)   (void)(x)
 Marks an expression result as used. More...
 
#define likely(x)   PORT_LIKELY(x)
 Marks a boolean expression as likely true. More...
 
#define unlikely(x)   PORT_UNLIKELY(x)
 Marks a boolean expression as likely false. More...
 

Typedefs

typedef unsigned core_id_t
 Type of a core identifier. More...
 
typedef struct ch_thread thread_t
 Type of a thread structure. More...
 
typedef struct ch_os_instance os_instance_t
 Type of an OS instance structure. More...
 
Kernel types
typedef port_rtcnt_t rtcnt_t
 
typedef port_rttime_t rttime_t
 
typedef port_syssts_t syssts_t
 
typedef port_stkalign_t stkalign_t
 
typedef uint8_t tmode_t
 
typedef uint8_t tstate_t
 
typedef uint8_t trefs_t
 
typedef uint8_t tslices_t
 
typedef uint32_t tprio_t
 
typedef int32_t msg_t
 
typedef int32_t eventid_t
 
typedef uint32_t eventmask_t
 
typedef uint32_t eventflags_t
 
typedef int32_t cnt_t
 
typedef uint32_t ucnt_t
 

Functions

void chSysHalt (const char *reason)
 Halts the system. More...
 

Detailed Description

Early forward types declarations header.

Definition in file chearly.h.