|
@@ -18,22 +18,9 @@
|
|
* along with this program; if not, write to the Free Software
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
*/
|
|
*/
|
|
-#include <mach/hardware.h>
|
|
|
|
|
|
|
|
.macro disable_fiq
|
|
.macro disable_fiq
|
|
.endm
|
|
.endm
|
|
|
|
|
|
- .macro get_irqnr_preamble, base, tmp
|
|
|
|
- ldr \base, =io_p2v(0x001ff000)
|
|
|
|
- .endm
|
|
|
|
-
|
|
|
|
.macro arch_ret_to_user, tmp1, tmp2
|
|
.macro arch_ret_to_user, tmp1, tmp2
|
|
.endm
|
|
.endm
|
|
-
|
|
|
|
- .macro get_irqnr_and_base, irqnr, irqstat, base, tmp
|
|
|
|
- ldr \irqstat, [\base, #0]
|
|
|
|
- clz \irqnr, \irqstat
|
|
|
|
- rsb \irqnr, \irqnr, #31
|
|
|
|
- cmp \irqstat, #0
|
|
|
|
- .endm
|
|
|
|
-
|
|
|