entry-macro.S 305 字节
Newer Older
1
#include <mach/hardware.h>
L
Linus Torvalds 已提交
2
#include <asm/hardware/entry-macro-iomd.S>
R
Russell King 已提交
3 4 5 6

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

7
	.macro  get_irqnr_preamble, base, tmp
R
Russell King 已提交
8 9 10 11
	mov	\base, #ioc_base_high		@ point at IOC
	.if	ioc_base_low
	orr	\base, \base, #ioc_base_low
	.endif
12
	.endm