Path: blob/master/arch/arm/mach-ebsa110/include/mach/entry-macro.S
10820 views
/*1* arch/arm/mach-ebsa110/include/mach/entry-macro.S2*3* Low-level IRQ helper macros for ebsa110 platform.4*5* This file is licensed under the terms of the GNU General Public6* License version 2. This program is licensed "as is" without any7* warranty of any kind, whether express or implied.8*/9101112#define IRQ_STAT 0xff000000 /* read */1314.macro disable_fiq15.endm1617.macro get_irqnr_preamble, base, tmp18mov \base, #IRQ_STAT19.endm2021.macro arch_ret_to_user, tmp1, tmp222.endm2324.macro get_irqnr_and_base, irqnr, stat, base, tmp25ldrb \stat, [\base] @ get interrupts26mov \irqnr, #027tst \stat, #1528addeq \irqnr, \irqnr, #429moveq \stat, \stat, lsr #430tst \stat, #331addeq \irqnr, \irqnr, #232moveq \stat, \stat, lsr #233tst \stat, #134addeq \irqnr, \irqnr, #135moveq \stat, \stat, lsr #136tst \stat, #1 @ bit 0 should be set37.endm38394041