MOXA linux-2.6.x / linux-2.6.19-uc1 from UC-7110-LX-BOOTLOADER-1.9_VERSION-4.2.tgz
[linux-2.6.19-moxart.git] / include / asm-arm / arch-s3c44b0x / entry-macro.S
blob67bdec3055f129b10478d8930c2138b6a8b84bd2
1 /*
2  *  arch/armnommu/mach-s3c44b0x/entry-macro.S
3  *
4  *  defines machine dependent entry macros.
5  *  included in the arch/armnommu/kernel/entry.S
6  */
8 #ifndef CONFIG_ARCH_S3C44B0
9 #error
10 #endif
11                 .macro  disable_fiq
12                 /* FIXME */
13                 .endm
15                 .macro get_irqnr_and_base, irqnr, irqstat, base, tmp
16                 ldr     \base, =S3C44B0X_I_ISPR
17                 ldr     \base, [\base]
18                 mov     \irqnr, #0
19 2222:           
20                 tst     \base, #1 
21                 bne     1111f
22                 add     \irqnr, \irqnr, #1      
23                 mov     \base, \base, lsr #1
24                 cmp     \irqnr, #NR_IRQS
25                 bcc     2222b
26 1111:           
27                 .endm
29                 .macro irq_prio_table
30                 /* FIXME */
31                 .endm