2006-01-03 18:39:34 +01:00
|
|
|
#include <asm/hardware.h>
|
2005-04-17 00:20:36 +02:00
|
|
|
#include <asm/hardware/entry-macro-iomd.S>
|
2007-05-12 16:25:50 +02:00
|
|
|
|
|
|
|
.equ ioc_base_high, IOC_BASE & 0xff000000
|
|
|
|
.equ ioc_base_low, IOC_BASE & 0x00ff0000
|
|
|
|
|
2007-02-16 22:16:32 +01:00
|
|
|
.macro get_irqnr_preamble, base, tmp
|
2007-05-12 16:25:50 +02:00
|
|
|
mov \base, #ioc_base_high @ point at IOC
|
|
|
|
.if ioc_base_low
|
|
|
|
orr \base, \base, #ioc_base_low
|
|
|
|
.endif
|
2007-02-16 22:16:32 +01:00
|
|
|
.endm
|
|
|
|
|
|
|
|
.macro arch_ret_to_user, tmp1, tmp2
|
|
|
|
.endm
|
2005-04-17 00:20:36 +02:00
|
|
|
|