summaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-rpc/entry-macro.S
blob: 5bd55557cccacde815b4ee590551cb84c1693402 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <asm/arch/hardware.h>
#include <asm/hardware/entry-macro-iomd.S>

	.equ	ioc_base_high, IOC_BASE & 0xff000000
	.equ	ioc_base_low, IOC_BASE & 0x00ff0000

	.macro  get_irqnr_preamble, base, tmp
	mov	\base, #ioc_base_high		@ point at IOC
	.if	ioc_base_low
	orr	\base, \base, #ioc_base_low
	.endif
	.endm

	.macro  arch_ret_to_user, tmp1, tmp2
	.endm