mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-09 08:37:58 +08:00
1 parent
900c40730d
commit
0e4941701f
1 file changed
+1
-1
@@ -43,7 +43,7 @@ extern "C" {
|
||||
#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)
|
||||
#define GIC_ID_TO_TWO_BITS_REG_OFFSET(id) (((id) & 0xfU) << 1)
|
||||
|
||||
static inline bool gic_id_is_enabled(volatile gic_dist *dist, uint32_t id)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user