RTEMS  5.0.0
Macros | Functions
irq.c File Reference

Interrupt implementation. More...

#include <sys/param.h>
#include <rtems.h>
#include <libcpu/powerpc-utility.h>
#include <asm/epapr_hcalls.h>
#include <bsp.h>
#include <bsp/irq.h>
#include <bsp/irq-generic.h>
#include <bsp/vectors.h>
#include <bsp/utility.h>
#include <bsp/qoriq.h>

Macros

#define SPURIOUS   0xffff
 
#define VPR_MSK   BSP_BBIT32(0)
 
#define VPR_A   BSP_BBIT32(1)
 
#define VPR_P   BSP_BBIT32(8)
 
#define VPR_S   BSP_BBIT32(9)
 
#define VPR_PRIORITY(val)   BSP_BFLD32(val, 12, 15)
 
#define VPR_PRIORITY_GET(reg)   BSP_BFLD32GET(reg, 12, 15)
 
#define VPR_PRIORITY_SET(reg, val)   BSP_BFLD32SET(reg, val, 12, 15)
 
#define VPR_VECTOR(val)   BSP_BFLD32(val, 16, 31)
 
#define VPR_VECTOR_GET(reg)   BSP_BFLD32GET(reg, 16, 31)
 
#define VPR_VECTOR_SET(reg, val)   BSP_BFLD32SET(reg, val, 16, 31)
 
#define GCR_RST   BSP_BBIT32(0)
 
#define GCR_M   BSP_BBIT32(2)
 
#define SRC_CFG_IDX(i)   ((i) - QORIQ_IRQ_EXT_BASE)
 

Functions

rtems_status_code qoriq_pic_set_priority (rtems_vector_number vector, int new_priority, int *old_priority)
 
void bsp_interrupt_set_affinity (rtems_vector_number vector, const Processor_mask *affinity)
 
void bsp_interrupt_get_affinity (rtems_vector_number vector, Processor_mask *affinity)
 
void bsp_interrupt_vector_enable (rtems_vector_number vector)
 Enables the interrupt vector with number vector. More...
 
void bsp_interrupt_vector_disable (rtems_vector_number vector)
 Disables the interrupt vector with number vector. More...
 
void bsp_interrupt_dispatch (uintptr_t exception_number)
 
rtems_status_code bsp_interrupt_facility_initialize (void)
 BSP specific initialization. More...
 

Detailed Description

Interrupt implementation.