RTEMS  5.1
Macros | Enumerations
arm-gic.h File Reference

ARM GIC Support. More...

#include <bsp/arm-gic-regs.h>
#include <stdbool.h>

Go to the source code of this file.

Macros

#define GIC_ID_TO_ONE_BIT_REG_INDEX(id)   ((id) >> 5)
 
#define GIC_ID_TO_ONE_BIT_REG_BIT(id)   (1U << ((id) & 0x1fU))
 
#define GIC_ID_TO_TWO_BITS_REG_INDEX(id)   ((id) >> 4)
 
#define GIC_ID_TO_TWO_BITS_REG_OFFSET(id)   (((id) & 0xfU) << 1)
 

Enumerations

enum  gic_group { GIC_GROUP_0, GIC_GROUP_1 }
 
enum  gic_trigger_mode { GIC_LEVEL_SENSITIVE, GIC_EDGE_TRIGGERED }
 
enum  gic_handling_model { GIC_N_TO_N, GIC_1_TO_N }
 

Detailed Description

ARM GIC Support.