blob: 5bd55557cccacde815b4ee590551cb84c1693402 [file] [log] [blame]
Russell Kingbe509722008-08-04 10:41:28 +01001#include <asm/arch/hardware.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#include <asm/hardware/entry-macro-iomd.S>
Russell King641e7912007-05-12 15:25:50 +01003
4 .equ ioc_base_high, IOC_BASE & 0xff000000
5 .equ ioc_base_low, IOC_BASE & 0x00ff0000
6
Dan Williamsf80dff92007-02-16 22:16:32 +01007 .macro get_irqnr_preamble, base, tmp
Russell King641e7912007-05-12 15:25:50 +01008 mov \base, #ioc_base_high @ point at IOC
9 .if ioc_base_low
10 orr \base, \base, #ioc_base_low
11 .endif
Dan Williamsf80dff92007-02-16 22:16:32 +010012 .endm
13
14 .macro arch_ret_to_user, tmp1, tmp2
15 .endm
Linus Torvalds1da177e2005-04-16 15:20:36 -070016