diff options
Diffstat (limited to 'sys/mips/include/asm.h')
-rw-r--r-- | sys/mips/include/asm.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/sys/mips/include/asm.h b/sys/mips/include/asm.h index 12149c7..dc05de3 100644 --- a/sys/mips/include/asm.h +++ b/sys/mips/include/asm.h @@ -765,29 +765,6 @@ _C_LABEL(x): : /* no outputs */ \ : "r" (data), "i" (spr), "i" (sel)); /* inputs */ -/* - * The DYNAMIC_STATUS_MASK option adds an additional masking operation - * when updating the hardware interrupt mask in the status register. - * - * This is useful for platforms that need to at run-time mask - * interrupts based on motherboard configuration or to handle - * slowly clearing interrupts. - * - * XXX this is only currently implemented for mips3. - */ -#ifdef MIPS_DYNAMIC_STATUS_MASK -#define DYNAMIC_STATUS_MASK(sr,scratch) \ - lw scratch, mips_dynamic_status_mask; \ - and sr, sr, scratch - -#define DYNAMIC_STATUS_MASK_TOUSER(sr,scratch1) \ - ori sr, (MIPS_INT_MASK | MIPS_SR_INT_IE); \ - DYNAMIC_STATUS_MASK(sr,scratch1) -#else -#define DYNAMIC_STATUS_MASK(sr,scratch) -#define DYNAMIC_STATUS_MASK_TOUSER(sr,scratch1) -#endif - #define GET_CPU_PCPU(reg) \ PTR_L reg, _C_LABEL(pcpup); |