Russell King | 78ff18a | 2006-01-03 17:39:34 +0000 | [diff] [blame] | 1 | #include <asm/hardware.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | #include <asm/hardware/entry-macro-iomd.S> |
Russell King | 641e791 | 2007-05-12 15:25:50 +0100 | [diff] [blame] | 3 | |
| 4 | .equ ioc_base_high, IOC_BASE & 0xff000000 |
| 5 | .equ ioc_base_low, IOC_BASE & 0x00ff0000 |
| 6 | |
Dan Williams | f80dff9 | 2007-02-16 22:16:32 +0100 | [diff] [blame] | 7 | .macro get_irqnr_preamble, base, tmp |
Russell King | 641e791 | 2007-05-12 15:25:50 +0100 | [diff] [blame] | 8 | mov \base, #ioc_base_high @ point at IOC |
| 9 | .if ioc_base_low |
| 10 | orr \base, \base, #ioc_base_low |
| 11 | .endif |
Dan Williams | f80dff9 | 2007-02-16 22:16:32 +0100 | [diff] [blame] | 12 | .endm |
| 13 | |
| 14 | .macro arch_ret_to_user, tmp1, tmp2 |
| 15 | .endm |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | |