⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 chandle.c

📁 Redboot, boot-loader of Linux for Freescale ARM family.
💻 C
📖 第 1 页 / 共 4 页
字号:
}

void   norm_scr57_isr(void)	// norm_scr57_isr (57)
{
    if((AITC_NIPNDH & 0x02000000) == 0)	// verify the pending bit is set
    {
    	gFailPendingCount++;
    }	

	if(((AITC_NIPRIORITY7>>4)&0xF)!=(AITC_NIVECSR & 0xF)) //verify interrupt priority
	{
		gFailPriorityCount++;
	}

    *(p_uint32_t) AITC_INTFRCH &= ~0x02000000;		// clear the bit in the force reg.

}

void   norm_scr56_isr(void)	// norm_scr56_isr (56)
{
    if((AITC_NIPNDH & 0x01000000) == 0)	// verify the pending bit is set
    {
    	gFailPendingCount++;
    }	

	if((AITC_NIPRIORITY7 & 0xF)!=(AITC_NIVECSR & 0xF)) //verify interrupt priority
	{
		gFailPriorityCount++;
	}

    *(p_uint32_t) AITC_INTFRCH &= ~0x01000000;		// clear the bit in the force reg.

}

void   norm_scr55_isr(void)	// norm_scr55_isr (55)
{
    if((AITC_NIPNDH & 0x00800000) == 0)	// verify the pending bit is set
    {
    	gFailPendingCount++;
    }	

	if(((AITC_NIPRIORITY6>>28)& 0xF)!=(AITC_NIVECSR & 0xF)) //verify interrupt priority
	{
		gFailPriorityCount++;
	}

    *(p_uint32_t) AITC_INTFRCH &= ~0x00800000;		// clear the bit in the force reg.

}

void   norm_scr54_isr(void)	// norm_scr54_isr (54)
{
    if((AITC_NIPNDH & 0x00400000) == 0)	// verify the pending bit is set
    {
    	gFailPendingCount++;
    }	

	if(((AITC_NIPRIORITY6>>24)& 0xF)!=(AITC_NIVECSR & 0xF)) //verify interrupt priority
	{
		gFailPriorityCount++;
	}

    *(p_uint32_t) AITC_INTFRCH &= ~0x00400000;		// clear the bit in the force reg.

}

void   norm_scr53_isr(void)	// norm_scr53_isr (53)
{
    if((AITC_NIPNDH & 0x00200000) == 0)	// verify the pending bit is set
    {
    	gFailPendingCount++;
    }	

	if(((AITC_NIPRIORITY6>>20)& 0xF)!=(AITC_NIVECSR & 0xF)) //verify interrupt priority
	{
		gFailPriorityCount++;
	}

    *(p_uint32_t) AITC_INTFRCH &= ~0x00200000;		// clear the bit in the force reg.

}

void   norm_scr52_isr(void)	// norm_scr52_isr (52)
{
    if((AITC_NIPNDH & 0x00100000) == 0)	// verify the pending bit is set
    {
    	gFailPendingCount++;
    }	

	if(((AITC_NIPRIORITY6>>16)& 0xF)!=(AITC_NIVECSR & 0xF)) //verify interrupt priority
	{
		gFailPriorityCount++;
	}

    *(p_uint32_t) AITC_INTFRCH &= ~0x00100000;		// clear the bit in the force reg.

}

void   norm_scr51_isr(void)	// norm_scr51_isr (51)
{
    if((AITC_NIPNDH & 0x00080000) == 0)	// verify the pending bit is set
    {
    	gFailPendingCount++;
    }	

	if(((AITC_NIPRIORITY6>>12)& 0xF)!=(AITC_NIVECSR & 0xF)) //verify interrupt priority
	{
		gFailPriorityCount++;
	}

    *(p_uint32_t) AITC_INTFRCH &= ~0x00080000;		// clear the bit in the force reg.

}

void   norm_scr50_isr(void)	// norm_scr50_isr (50)
{
    if((AITC_NIPNDH & 0x00040000) == 0)	// verify the pending bit is set
    {
    	gFailPendingCount++;
    }	

	if(((AITC_NIPRIORITY6>>8)& 0xF)!=(AITC_NIVECSR & 0xF)) //verify interrupt priority
	{
		gFailPriorityCount++;
	}

    *(p_uint32_t) AITC_INTFRCH &= ~0x00040000;		// clear the bit in the force reg.

}

void   norm_scr49_isr(void)	// norm_scr49_isr (49)
{
    if((AITC_NIPNDH & 0x00020000) == 0)	// verify the pending bit is set
    {
    	gFailPendingCount++;
    }	

	if(((AITC_NIPRIORITY6>>4)& 0xF)!=(AITC_NIVECSR & 0xF)) //verify interrupt priority
	{
		gFailPriorityCount++;
	}

    *(p_uint32_t) AITC_INTFRCH &= ~0x00020000;		// clear the bit in the force reg.

}

void   norm_scr48_isr(void)	// norm_scr48_isr (48)
{
    if((AITC_NIPNDH & 0x00010000) == 0)	// verify the pending bit is set
    {
    	gFailPendingCount++;
    }	

	if(((AITC_NIPRIORITY6)& 0xF)!=(AITC_NIVECSR & 0xF)) //verify interrupt priority
	{
		gFailPriorityCount++;
	}

    *(p_uint32_t) AITC_INTFRCH &= ~0x00010000;		// clear the bit in the force reg.

}

void   norm_scr47_isr(void)	// norm_scr47_isr (47)
{
    if((AITC_NIPNDH & 0x00008000) == 0)	// verify the pending bit is set
    {
    	gFailPendingCount++;
    }	

	if(((AITC_NIPRIORITY5>>28)& 0xF)!=(AITC_NIVECSR & 0xF)) //verify interrupt priority
	{
		gFailPriorityCount++;
	}

    *(p_uint32_t) AITC_INTFRCH &= ~0x00008000;		// clear the bit in the force reg.

}

void   norm_scr46_isr(void)	// norm_scr46_isr (46)
{
    if((AITC_NIPNDH & 0x00004000) == 0)	// verify the pending bit is set
    {
    	gFailPendingCount++;
    }	

	if(((AITC_NIPRIORITY5>>24)& 0xF)!=(AITC_NIVECSR & 0xF)) //verify interrupt priority
	{
		gFailPriorityCount++;
	}
	
    *(p_uint32_t) AITC_INTFRCH &= ~0x00004000;		// clear the bit in the force reg.

}

void   norm_scr45_isr(void)	// norm_scr45_isr (45)
{
    if((AITC_NIPNDH & 0x00002000) == 0)	// verify the pending bit is set
    {
    	gFailPendingCount++;
    }	

	if(((AITC_NIPRIORITY5>>20)& 0xF)!=(AITC_NIVECSR & 0xF)) //verify interrupt priority
	{
		gFailPriorityCount++;
	}
	
    *(p_uint32_t) AITC_INTFRCH &= ~0x00002000;		// clear the bit in the force reg.

}


void   norm_scr44_isr(void)	// norm_scr44_isr (44)
{
    if((AITC_NIPNDH & 0x00001000) == 0)	// verify the pending bit is set
    {
    	gFailPendingCount++;
    }	

	if(((AITC_NIPRIORITY5>>16)& 0xF)!=(AITC_NIVECSR & 0xF)) //verify interrupt priority
	{
		gFailPriorityCount++;
	}
	
    *(p_uint32_t) AITC_INTFRCH &= ~0x00001000;

}


void   norm_scr43_isr(void)	// norm_scr43_isr (43)
{
    if((AITC_NIPNDH & 0x00000800) == 0)	// verify the pending bit is set
    {
    	gFailPendingCount++;
    }	

	if(((AITC_NIPRIORITY5>>12)& 0xF)!=(AITC_NIVECSR & 0xF)) //verify interrupt priority
	{
		gFailPriorityCount++;
	}
	
    *(p_uint32_t) AITC_INTFRCH &= ~0x00000800;		// clear the bit in the force reg.

}

void   norm_scr42_isr(void)	// norm_scr42_isr (42)
{
    if((AITC_NIPNDH & 0x00000400) == 0)	// verify the pending bit is set
    {
    	gFailPendingCount++;
    }	

	if(((AITC_NIPRIORITY5>>8)& 0xF)!=(AITC_NIVECSR & 0xF)) //verify interrupt priority
	{
		gFailPriorityCount++;
	}
	
    *(p_uint32_t) AITC_INTFRCH &= ~0x00000400;		// clear the bit in the force reg.

}

void   norm_scr41_isr(void)	// norm_scr41_isr (41)
{
    if((AITC_NIPNDH & 0x00000200) == 0)	// verify the pending bit is set
    {
    	gFailPendingCount++;
    }	

	if(((AITC_NIPRIORITY5>>4)& 0xF)!=(AITC_NIVECSR & 0xF)) //verify interrupt priority
	{
		gFailPriorityCount++;
	}
	
    *(p_uint32_t) AITC_INTFRCH &= ~0x00000200;		// clear the bit in the force reg.

}


void   norm_scr40_isr(void)	// norm_scr40_isr (40)
{
    if((AITC_NIPNDH & 0x00000100) == 0)	// verify the pending bit is set
    {
    	gFailPendingCount++;
    }	

	if(((AITC_NIPRIORITY5)& 0xF)!=(AITC_NIVECSR & 0xF)) //verify interrupt priority
	{
		gFailPriorityCount++;
	}
	
    *(p_uint32_t) AITC_INTFRCH &= ~0x00000100;		// clear the bit in the force reg.

}

void   norm_scr39_isr(void)	// norm_scr39_isr (39)
{
    if((AITC_NIPNDH & 0x00000080) == 0)	// verify the pending bit is set
    {
    	gFailPendingCount++;
    }	

	if(((AITC_NIPRIORITY4>>28)& 0xF)!=(AITC_NIVECSR & 0xF)) //verify interrupt priority
	{
		gFailPriorityCount++;
	}
	
    *(p_uint32_t) AITC_INTFRCH &= ~0x00000080;		// clear the bit in the force reg.

}

void   norm_scr38_isr(void)	// norm_scr38_isr (38)
{
    if((AITC_NIPNDH & 0x00000040) == 0)	// verify the pending bit is set
    {
        	gFailPendingCount++;
    }	
	
	if(((AITC_NIPRIORITY4>>24)& 0xF)!=(AITC_NIVECSR & 0xF)) //verify interrupt priority
	{
		gFailPriorityCount++;
	}

    *(p_uint32_t) AITC_INTFRCH &= ~0x00000040;		// clear the bit in the force reg.

}

void   norm_scr37_isr(void)	// norm_scr37_isr (37)
{
    if((AITC_NIPNDH & 0x00000020) == 0)	// verify the pending bit is set
    {
        	gFailPendingCount++;
    }	
    
    if(((AITC_NIPRIORITY4>>20)& 0xF)!=(AITC_NIVECSR & 0xF)) //verify interrupt priority
	{
		gFailPriorityCount++;
	}

    *(p_uint32_t) AITC_INTFRCH &= ~0x00000020;		// clear the bit in the force reg.

}

void   norm_scr36_isr(void)	// norm_scr36_isr (36)
{
    if((AITC_NIPNDH & 0x00000010) == 0)	// verify the pending bit is set
    {
        	gFailPendingCount++;
    }	

	if(((AITC_NIPRIORITY4>>16)& 0xF)!=(AITC_NIVECSR & 0xF)) //verify interrupt priority
	{
		gFailPriorityCount++;
	}

    *(p_uint32_t) AITC_INTFRCH &= ~0x00000010;		// clear the bit in the force reg.

}

void   norm_scr35_isr(void)	// norm_scr35_isr (35)
{
    if((AITC_NIPNDH & 0x00000008) == 0)	// verify the pending bit is set
    {
    	gFailPendingCount++;
    }	

	if(((AITC_NIPRIORITY4>>12)& 0xF)!=(AITC_NIVECSR & 0xF)) //verify interrupt priority
	{
		gFailPriorityCount++;
	}

    *(p_uint32_t) AITC_INTFRCH &= ~0x00000008;		// clear the bit in the force reg.

}

void   norm_scr34_isr(void)	// norm_scr34_isr (34)
{
    if((AITC_NIPNDH & 0x00000004) == 0)	// verify the pending bit is set
    {
    	gFailPendingCount++;
    }	

	if(((AITC_NIPRIORITY4>>8)& 0xF)!=(AITC_NIVECSR & 0xF)) //verify interrupt priority
	{
		gFailPriorityCount++;
	}

    *(p_uint32_t) AITC_INTFRCH &= ~0x00000004;		// clear the bit in the force reg.
}

void   norm_scr33_isr(void)	// norm_scr33_isr (33)
{
    if((AITC_NIPNDH & 0x00000002) == 0)	// verify the pending bit is set
    {
    	gFailPendingCount++;
    }	

	if(((AITC_NIPRIORITY4>>4)& 0xF)!=(AITC_NIVECSR & 0xF)) //verify interrupt priority
	{
		gFailPriorityCount++;
	}

    *(p_uint32_t) AITC_INTFRCH &= ~0x00000002;		// clear the bit in the force reg.
}

void   norm_scr32_isr(void)	// norm_scr32_isr (32)
{
    if((AITC_NIPNDH & 0x00000001) == 0)	// verify the pending bit is set
    {
    	gFailPendingCount++;
    }	

	if(((AITC_NIPRIORITY4)& 0xF)!=(AITC_NIVECSR & 0xF)) //verify interrupt priority
	{
		gFailPriorityCount++;
	}

    *(p_uint32_t) AITC_INTFRCH &= ~0x00000001;		// clear the bit in the force reg.
    gNormInt32flag = 1;				// set flag
}

void   norm_scr31_isr(void)	// norm_scr31_isr (31)
{
    if((AITC_NIPNDL & 0x80000000) == 0)	// verify the pending bit is set
    {
    	gFailPendingCount++;
    }	

	if(((AITC_NIPRIORITY3>>28)&0xF)!=(AITC_NIVECSR&0xF)) //verify interrupt priority
	{
		gFailPriorityCount++;
	}
	
    *(p_uint32_t) AITC_INTFRCL &= ~0x80000000;		// clear the bit in the force reg.
}

void   norm_scr30_isr(void)	// norm_scr30_isr (30)
{
    if((AITC_NIPNDL & 0x40000000) == 0)	// verify the pending bit is set
    {
    	gFailPendingCount++;
    }	

	if(((AITC_NIPRIORITY3>>24)&0xF)!=(AITC_NIVECSR&0xF)) //verify interrupt priority
	{
		gFailPriorityCount++;
	}

    *(p_uint32_t) AITC_INTFRCL &= ~0x40000000;		// clear the bit in the force reg.

}

void   norm_scr29_isr(void)	// norm_scr29_isr (29)
{
    if((AITC_NIPNDL & 0x20000000) == 0)	// verify the pending bit is set
    {
    	gFailPendingCount++;
    }	

	if(((AITC_NIPRIORITY3>>20)&0xF)!=(AITC_NIVECSR&0xF)) //verify interrupt priority
	{
		gFailPriorityCount++;
	}

    *(p_uint32_t) AITC_INTFRCL &= ~0x20000000;		// clear the bit in the force reg.
}

void   norm_scr28_isr(void)	// norm_scr28_isr (28)
{
    if((AITC_NIPNDL & 0x10000000) == 0)	// verify the pending bit is set
    {
    	gFailPendingCount++;
    }	
    

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -