entry-macro.S 649 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * arch/arm/mach-nuc93x/include/mach/entry-macro.S
  3. *
  4. * This file is licensed under the terms of the GNU General Public
  5. * License version 2. This program is licensed "as is" without any
  6. * warranty of any kind, whether express or implied.
  7. *
  8. */
  9. #include <mach/hardware.h>
  10. #include <mach/regs-irq.h>
  11. .macro get_irqnr_preamble, base, tmp
  12. .endm
  13. .macro arch_ret_to_user, tmp1, tmp2
  14. .endm
  15. .macro get_irqnr_and_base, irqnr, irqstat, base, tmp
  16. mov \base, #AIC_BA
  17. ldr \irqnr, [ \base, #AIC_IPER]
  18. ldr \irqnr, [ \base, #AIC_ISNR]
  19. cmp \irqnr, #0
  20. .endm
  21. /* currently don't need an disable_fiq macro */
  22. .macro disable_fiq
  23. .endm