RTEMS 6.1-rc1
Macros
Multiprocessor status register (MPSTAT)

This group contains register bit definitions. More...

Macros

#define IRQAMP_MPSTAT_NCPU_SHIFT   28
 
#define IRQAMP_MPSTAT_NCPU_MASK   0xf0000000U
 
#define IRQAMP_MPSTAT_NCPU_GET(_reg)
 
#define IRQAMP_MPSTAT_NCPU_SET(_reg, _val)
 
#define IRQAMP_MPSTAT_NCPU(_val)
 
#define IRQAMP_MPSTAT_BA   0x8000000U
 
#define IRQAMP_MPSTAT_ER   0x4000000U
 
#define IRQAMP_MPSTAT_EIRQ_SHIFT   16
 
#define IRQAMP_MPSTAT_EIRQ_MASK   0xf0000U
 
#define IRQAMP_MPSTAT_EIRQ_GET(_reg)
 
#define IRQAMP_MPSTAT_EIRQ_SET(_reg, _val)
 
#define IRQAMP_MPSTAT_EIRQ(_val)
 
#define IRQAMP_MPSTAT_STATUS_SHIFT   0
 
#define IRQAMP_MPSTAT_STATUS_MASK   0xfU
 
#define IRQAMP_MPSTAT_STATUS_GET(_reg)
 
#define IRQAMP_MPSTAT_STATUS_SET(_reg, _val)
 
#define IRQAMP_MPSTAT_STATUS(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ IRQAMP_MPSTAT_EIRQ

#define IRQAMP_MPSTAT_EIRQ (   _val)
Value:
( ( ( _val ) << IRQAMP_MPSTAT_EIRQ_SHIFT ) & \
IRQAMP_MPSTAT_EIRQ_MASK )

◆ IRQAMP_MPSTAT_EIRQ_GET

#define IRQAMP_MPSTAT_EIRQ_GET (   _reg)
Value:
( ( ( _reg ) & IRQAMP_MPSTAT_EIRQ_MASK ) >> \
IRQAMP_MPSTAT_EIRQ_SHIFT )

◆ IRQAMP_MPSTAT_EIRQ_SET

#define IRQAMP_MPSTAT_EIRQ_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~IRQAMP_MPSTAT_EIRQ_MASK ) | \
( ( ( _val ) << IRQAMP_MPSTAT_EIRQ_SHIFT ) & \
IRQAMP_MPSTAT_EIRQ_MASK ) )

◆ IRQAMP_MPSTAT_NCPU

#define IRQAMP_MPSTAT_NCPU (   _val)
Value:
( ( ( _val ) << IRQAMP_MPSTAT_NCPU_SHIFT ) & \
IRQAMP_MPSTAT_NCPU_MASK )

◆ IRQAMP_MPSTAT_NCPU_GET

#define IRQAMP_MPSTAT_NCPU_GET (   _reg)
Value:
( ( ( _reg ) & IRQAMP_MPSTAT_NCPU_MASK ) >> \
IRQAMP_MPSTAT_NCPU_SHIFT )

◆ IRQAMP_MPSTAT_NCPU_SET

#define IRQAMP_MPSTAT_NCPU_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~IRQAMP_MPSTAT_NCPU_MASK ) | \
( ( ( _val ) << IRQAMP_MPSTAT_NCPU_SHIFT ) & \
IRQAMP_MPSTAT_NCPU_MASK ) )

◆ IRQAMP_MPSTAT_STATUS

#define IRQAMP_MPSTAT_STATUS (   _val)
Value:
( ( ( _val ) << IRQAMP_MPSTAT_STATUS_SHIFT ) & \
IRQAMP_MPSTAT_STATUS_MASK )

◆ IRQAMP_MPSTAT_STATUS_GET

#define IRQAMP_MPSTAT_STATUS_GET (   _reg)
Value:
( ( ( _reg ) & IRQAMP_MPSTAT_STATUS_MASK ) >> \
IRQAMP_MPSTAT_STATUS_SHIFT )

◆ IRQAMP_MPSTAT_STATUS_SET

#define IRQAMP_MPSTAT_STATUS_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~IRQAMP_MPSTAT_STATUS_MASK ) | \
( ( ( _val ) << IRQAMP_MPSTAT_STATUS_SHIFT ) & \
IRQAMP_MPSTAT_STATUS_MASK ) )