Ejemplo n.º 1
0
void __init arch_init_irq(void)
{
	/*
	 * Clear all of the interrupts while we change the able around a bit.
	 * int-handler is not on bootstrap
	 */
	clear_c0_status(ST0_IM | ST0_BEV);

	/* no steer */
	LOONGSON_INTSTEER = 0;

	/*
	 * Mask out all interrupt by writing "1" to all bit position in
	 * the interrupt reset reg.
	 */
	LOONGSON_INTENCLR = ~0;

	/* machine specific irq init */
	mach_init_irq();
}
Ejemplo n.º 2
0
void __init arch_init_irq(void)
{
	/*
                                                                      
                                   
  */
	clear_c0_status(ST0_IM | ST0_BEV);

	/*          */
	LOONGSON_INTSTEER = 0;

	/*
                                                                
                            
  */
	LOONGSON_INTENCLR = ~0;

	/*                           */
	mach_init_irq();
}
Ejemplo n.º 3
0
void __init arch_init_irq(void)
{
	/*
	 * Clear all of the interrupts while we change the able around a bit.
	 * int-handler is not on bootstrap
	 */
	clear_c0_status(ST0_IM | ST0_BEV);
	local_irq_disable();

	/* setting irq trigger mode */
	set_irq_trigger_mode();

	/* no steer */
	BONITO_INTSTEER = 0;

	/*
	 * Mask out all interrupt by writing "1" to all bit position in
	 * the interrupt reset reg.
	 */
	BONITO_INTENCLR = ~0;

	/* machine specific irq init */
	mach_init_irq();
}