kernels/linux-2.4.0/arch/mips/orion/irq.c
/* Function for careful CP0 interrupt mask access */
Function for careful CP0 interrupt mask access
Function for careful CP0 interrupt mask access
static inline void modify_cp0_intmask(unsigned clr_mask, unsigned set_mask)
{
	unsigned long status = read_32bit_cp0_register(CP0_STATUS);
	status &= ~((clr_mask & 0xFF) << 8);
	status |=   (set_mask & 0xFF) << 8;
	write_32bit_cp0_register(CP0_STATUS, status);
}
static inline void modify_cp0_intmask ( unsigned clr_mask , unsigned set_mask ) { unsigned long status = read_32bit_cp0_register ( CP0_STATUS ) ; status &= ~ ( ( clr_mask & 0xFF ) << 8 ) ; status |= ( set_mask & 0xFF ) << 8 ; write_32bit_cp0_register ( CP0_STATUS , status ) ; }
Function for careful CP0 interrupt mask access
Function for careful CP0 interrupt mask access