[BACK]Return to entry-macro.S CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / include / asm-arm / arch-iop32x

File: [Development] / linux-2.6-xfs / include / asm-arm / arch-iop32x / Attic / entry-macro.S (download)

Revision 1.1, Tue Oct 31 15:49:12 2006 UTC (10 years, 11 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN

Merge up to 2.6.19-rc3
Merge of 2.6.x-xfs-melb:linux:27325b by kenmcd.

/*
 * include/asm-arm/arch-iop32x/entry-macro.S
 *
 * Low-level IRQ helper macros for IOP32x-based platforms
 *
 * This file is licensed under the terms of the GNU General Public
 * License version 2. This program is licensed "as is" without any
 * warranty of any kind, whether express or implied.
 */
#include <asm/arch/iop32x.h>

		.macro	disable_fiq
		.endm

		.macro	get_irqnr_and_base, irqnr, irqstat, base, tmp
		ldr	\base, =IOP3XX_REG_ADDR(0x07D8)
		ldr	\irqstat, [\base]		@ Read IINTSRC
		cmp	\irqstat, #0
		clzne	\irqnr, \irqstat
		rsbne	\irqnr, \irqnr, #31
		.endm