entry-header.S (f4dc9a4cf26278f5b608d6e4bd16e7b27ddcf1a5) | entry-header.S (bce495d865829d7a1d8102a834d3e3af32616567) |
---|---|
1#include <linux/config.h> /* for CONFIG_ARCH_xxxx */ | 1#include <linux/config.h> 2#include <linux/init.h> |
2#include <linux/linkage.h> 3 4#include <asm/assembler.h> 5#include <asm/constants.h> 6#include <asm/errno.h> | 3#include <linux/linkage.h> 4 5#include <asm/assembler.h> 6#include <asm/constants.h> 7#include <asm/errno.h> |
7#include <asm/hardware.h> 8#include <asm/arch/irqs.h> 9#include <asm/arch/entry-macro.S> | 8#include <asm/thread_info.h> |
10 | 9 |
11 .macro zero_fp 12#ifdef CONFIG_FRAME_POINTER 13 mov fp, #0 14#endif 15 .endm 16 17 .text 18 | |
19@ Bad Abort numbers 20@ ----------------- 21@ 22#define BAD_PREFETCH 0 23#define BAD_DATA 1 24#define BAD_ADDREXCPTN 2 25#define BAD_IRQ 3 26#define BAD_UNDEFINSTR 4 --- 7 unchanged lines hidden (view full) --- 34/* 35 * The SWI code relies on the fact that R0 is at the bottom of the stack 36 * (due to slow/fast restore user regs). 37 */ 38#if S_R0 != 0 39#error "Please fix" 40#endif 41 | 10@ Bad Abort numbers 11@ ----------------- 12@ 13#define BAD_PREFETCH 0 14#define BAD_DATA 1 15#define BAD_ADDREXCPTN 2 16#define BAD_IRQ 3 17#define BAD_UNDEFINSTR 4 --- 7 unchanged lines hidden (view full) --- 25/* 26 * The SWI code relies on the fact that R0 is at the bottom of the stack 27 * (due to slow/fast restore user regs). 28 */ 29#if S_R0 != 0 30#error "Please fix" 31#endif 32 |
33 .macro zero_fp 34#ifdef CONFIG_FRAME_POINTER 35 mov fp, #0 36#endif 37 .endm 38 |
|
42#if __LINUX_ARM_ARCH__ >= 6 43 .macro disable_irq 44 cpsid i 45 .endm 46 47 .macro enable_irq 48 cpsie i 49 .endm --- 39 unchanged lines hidden --- | 39#if __LINUX_ARM_ARCH__ >= 6 40 .macro disable_irq 41 cpsid i 42 .endm 43 44 .macro enable_irq 45 cpsie i 46 .endm --- 39 unchanged lines hidden --- |