RTEMS 6.1-rc5
Loading...
Searching...
No Matches
Macros | Functions
nios2-thread-dispatch-disabled.c File Reference

NIOS II Specific Thread Dispatch Disabled Indicator. More...

#include <rtems/score/cpu.h>
#include <rtems/score/nios2-utility.h>

Macros

#define NIOS2_ASSERT_OFFSET(field, off)
 

Functions

 NIOS2_ASSERT_OFFSET (r16, R16)
 
 NIOS2_ASSERT_OFFSET (r17, R17)
 
 NIOS2_ASSERT_OFFSET (r18, R18)
 
 NIOS2_ASSERT_OFFSET (r19, R19)
 
 NIOS2_ASSERT_OFFSET (r20, R20)
 
 NIOS2_ASSERT_OFFSET (r21, R21)
 
 NIOS2_ASSERT_OFFSET (r22, R22)
 
 NIOS2_ASSERT_OFFSET (r23, R23)
 
 NIOS2_ASSERT_OFFSET (fp, FP)
 
 NIOS2_ASSERT_OFFSET (status, STATUS)
 
 NIOS2_ASSERT_OFFSET (sp, SP)
 
 NIOS2_ASSERT_OFFSET (ra, RA)
 
 NIOS2_ASSERT_OFFSET (isr_dispatch_disable, ISR_DISPATCH_DISABLE)
 
 NIOS2_ASSERT_OFFSET (stack_mpubase, STACK_MPUBASE)
 
 NIOS2_ASSERT_OFFSET (stack_mpuacc, STACK_MPUACC)
 

Detailed Description

NIOS II Specific Thread Dispatch Disabled Indicator.

Macro Definition Documentation

◆ NIOS2_ASSERT_OFFSET

#define NIOS2_ASSERT_OFFSET (   field,
  off 
)
Value:
offsetof(Context_Control, field) == NIOS2_CONTEXT_OFFSET_ ## off, \
nios2_context_offset_ ## field \
)
#define RTEMS_STATIC_ASSERT(_cond, _msg)
It is defined if a static analysis run is performed.
Definition: basedefs.h:841
Thread register context.
Definition: cpu.h:173