Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
awilliam
GitHub Repository: awilliam/linux-vfio
Path: blob/master/arch/arm/mach-nuc93x/include/mach/entry-macro.S
17633 views
1
/*
2
* arch/arm/mach-nuc93x/include/mach/entry-macro.S
3
*
4
* This file is licensed under the terms of the GNU General Public
5
* License version 2. This program is licensed "as is" without any
6
* warranty of any kind, whether express or implied.
7
*
8
*/
9
10
#include <mach/hardware.h>
11
#include <mach/regs-irq.h>
12
13
.macro get_irqnr_preamble, base, tmp
14
.endm
15
16
.macro arch_ret_to_user, tmp1, tmp2
17
.endm
18
19
.macro get_irqnr_and_base, irqnr, irqstat, base, tmp
20
21
mov \base, #AIC_BA
22
23
ldr \irqnr, [ \base, #AIC_IPER]
24
ldr \irqnr, [ \base, #AIC_ISNR]
25
cmp \irqnr, #0
26
27
.endm
28
29
/* currently don't need an disable_fiq macro */
30
31
.macro disable_fiq
32
.endm
33
34