NIPL
extern u_int irqmasks[NIPL];
u_int spl_masks[NIPL];
for (loop = 0; loop < NIPL; ++loop) {
for (loop = 0; loop < NIPL; ++loop)
for (ipl = 0; ipl < NIPL; ipl++) {
if (ipl < 0 || ipl >= NIPL)
for (i = 0; i < NIPL; i++) {
static uint32_t aic_imask[NIPL];
__CTASSERT(NIPL == 8);
| ((IPL_HIGH - ipl) * GICC_PMR_NS_PRIORITIES / NIPL);
- (priority & ~GICC_PMR_NONSECURE) * NIPL / GICC_PMR_NS_PRIORITIES;
for (ipl = 0; ipl < NIPL; ipl++) {
if (ipl < 0 || ipl > NIPL)
static uint32_t vic1_imask[NIPL];
static uint32_t vic2_imask[NIPL];
for (ipl = 0; ipl < NIPL; ipl++) {
int footbridge_imask[NIPL];
u_int imask[NIPL];
for (level = 0; level < NIPL; level++) {
for (loop = 0; loop < NIPL; ++loop)
if (handler->ih_level < 0 || handler->ih_level >= NIPL)
if (handler->ih_level >= 0 && handler->ih_level < NIPL) {
if (handler->ih_level >= 0 && handler->ih_level < NIPL) {
for (level = 0; level < NIPL; ++level)
u_int irqmasks[NIPL];
for (ipl = 0; ipl < NIPL; ipl++) {
if (ipl < 0 || ipl > NIPL)
static uint32_t imask[NIPL];
static uint32_t pci_imask[NIPL];
if (handler->ih_level < 0 || handler->ih_level >= NIPL)
if (handler->ih_level >= 0 && handler->ih_level < NIPL) {
if (handler->ih_level >= 0 && handler->ih_level < NIPL) {
for (level = 0; level < NIPL; ++level)
u_int irqmasks[NIPL];
for (loop = 0; loop < NIPL; ++loop)
KASSERT(ci->ci_pending_ipls < __BIT(NIPL));
KASSERT(ipl < NIPL);
if (ipl < NIPL) {
sizeof(pic__iplsources[0]) * (pic_ipl_offset[NIPL] - off));
for (nipl = ipl + 1; nipl <= NIPL; nipl++)
size_t pic_ipl_offset[NIPL + 1];
KASSERT(newipl < NIPL);
KASSERT(savedipl < NIPL);
for (i=0; i < NIPL; ++i)
int s3c2xx0_imask[NIPL];
int s3c24x0_soft_imask[NIPL];
for (i=0; i < NIPL; ++i)
int s3c2xx0_imask[NIPL];
int s3c24x0_soft_imask[NIPL];
for (i = 0; i < NIPL; i++)
int s3c2xx0_imask[NIPL];
for (; i < NIPL - 1; ++i)
for (ipl = 0; ipl < NIPL; ipl++) {
for( ; i < NIPL-1; ++i)
for (ipl = 0; ipl < NIPL - 1; ipl++)
u_int irqmasks[NIPL];
for (ipl = 0; ipl < NIPL; ipl++) {
uint32_t becc_imask[NIPL];
for (ipl = 0; ipl < NIPL; ipl++)
for (ipl = 1; ipl < NIPL; ipl++)
int i80321_imask[NIPL];
for (ipl = 0; ipl < NIPL; ipl++) {
int ixp425_imask[NIPL];
for( ; i < NIPL-1; ++i)
int pxa2x0_imask[NIPL];
const uint16_t ipl2psl_table[NIPL] = {
extern const uint16_t ipl2psl_table[NIPL];
extern int footbridge_imask[NIPL];
for (ipl = 0; ipl < NIPL; ipl++) {
int ifpga_imask[NIPL];
for (ipl = 0; ipl < NIPL; ipl++) {
int iq80310_imask[NIPL];
extern const uint16_t ipl2psl_table[NIPL];
extern u_int irqmasks[NIPL];
for (i = 0; i < NIPL; i++)
for (ipl = NIPL - 1; ipl > 0; ipl--)
u_int ci_imask[NIPL];
extern const uint16_t ipl2psl_table[NIPL];
const uint16_t ipl2psl_table[NIPL] = {
extern uint16_t ipl2psl_table[NIPL];
uint16_t ipl2psl_table[NIPL];
for (i = 0; i < NIPL; i++)
int realpri = uimin(NIPL, uimax(0, pri)), i;
for (i = 0; i < NIPL; i++)
uint32_t irqs[NIPL]; /* per priority level */
extern int footbridge_imask[NIPL];
uint64_t tbs[NIPL*NIPL];
for (size_t to = 0; to < NIPL; to++) {
for (size_t from = 0; from < NIPL; from++) {
uint64_t cpu_spl_tb[NIPL][NIPL];
#define IST_NONE (NIPL+0) /* none */
#define IST_EDGE (NIPL+1) /* edge-triggered */
#define IST_LEVEL (NIPL+2) /* level-triggered active-low */
#define IST_LEVEL_HIGH (NIPL+3) /* level-triggered active-high */
#define IST_PULSE (NIPL+4) /* pulsed */
#define IST_MSI (NIPL+5) /* message signaling interrupt (PCI) */
#define IST_ONCHIP (NIPL+6) /* on-chip device */
#define IST_MSIGROUP (NIPL+7) /* openpic msi groups */
#define IST_TIMER (NIPL+8) /* openpic timers */
#define IST_IPI (NIPL+9) /* openpic ipi */
#define IST_MI (NIPL+10) /* openpic message */
#define IST_MAX (NIPL+11)
imask_t newmask[NIPL];
for (u_int ipl = IPL_NONE; ipl < NIPL; ipl++) {
for (u_int ipl = 1; ipl < NIPL; ipl++) {
for (u_int ipl = 0; ipl < NIPL; ipl++) {
for (u_int ipl = 0; ipl < NIPL; ipl++) {
KASSERT(ncpl < NIPL);
static imask_t imask[NIPL];
extern u_int irqmasks[NIPL];
for (loop = 0; loop < NIPL; ++loop)
if (handler->ih_level < 0 || handler->ih_level >= NIPL)
for (level = 0; level < NIPL; level++) {
u_int irqmasks[NIPL];
extern const uint16_t ipl2psl_table[NIPL];
const uint16_t ipl2psl_table[NIPL] = {
extern const uint16_t ipl2psl_table[NIPL];
const uint16_t ipl2psl_table[NIPL] = {
uint64_t ci_imask[NIPL];
uint64_t ci_iunmask[NIPL];
APIC_LEVEL(NIPL), IDT_INTR_HIGH);
for (i = 0; i < NIPL; i++)
for (level = 0; level < NIPL; level++) {
for (level = 0; level<(NIPL-1); level++)
for (level = 0; level < NIPL; level++)