Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8748415d authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Russell King
Browse files

[ARM] 4234/1: Introduce get_irqnr_preamble and arch_ret_to_user for ns9xxx.



This is a follow up for f80dff9d which
didn't include adaption for the new ns9xxx machine support.

Signed-off-by: default avatarUwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent dff5e44c
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -11,6 +11,12 @@
#include <asm/hardware.h>
#include <asm/hardware.h>
#include <asm/arch-ns9xxx/regs-sys.h>
#include <asm/arch-ns9xxx/regs-sys.h>


		.macro	get_irqnr_preamble, base, tmp
		.endm

		.macro	arch_ret_to_user, tmp1, tmp2
		.endm

		.macro	get_irqnr_and_base, irqnr, irqstat, base, tmp
		.macro	get_irqnr_and_base, irqnr, irqstat, base, tmp
		ldr	\base, =SYS_ISRADDR
		ldr	\base, =SYS_ISRADDR
		ldr	\irqstat, [\base, #(SYS_ISA - SYS_ISRADDR)]
		ldr	\irqstat, [\base, #(SYS_ISA - SYS_ISRADDR)]