2 * linux/arch/armnommu/mach-s3c44b0x/head.S
4 #include <linux/linkage.h>
5 #include <linux/init.h>
7 #include <asm/assembler.h>
8 #include <asm/mach-types.h>
9 #include <asm/procinfo.h>
10 #include <asm/ptrace.h>
11 #include <asm/mach/arch.h>
12 #include <asm/arch/hardware.h>
14 #define MACHINFO_TYPE 0
15 #define MACHINFO_PHYSRAM 4
16 #define MACHINFO_PHYSIO 8
17 #define MACHINFO_PGOFFIO 12
18 #define MACHINFO_NAME 16
21 * Kernel startup entry point.
24 .type stext, #function
28 mov r0, #PSR_F_BIT | PSR_I_BIT | SVC_MODE @ make sure svc mode
30 mov r0, #PSR_I_BIT | MODE_SVC @ make sure svc mode
31 msr cpsr_c, r0 @ and all irqs disabled
34 ldmia r5, {r5, r6, r8, r9, sp} @ Setup stack
36 /* Copy data sections to their new home. */
45 /* handle CPU Cache */
46 ldr r4, =S3C44B0X_SYSCFG
50 /* Pretend we know what our processor code is (for arm_id) */
53 ldr r2, S3C44B0_PROCESSOR_TYPE
56 ldr r2, S3C44B0_MACH_TYPE
62 LC0: .long __bss_start
65 .long __machine_arch_type
66 .long init_thread_union+8192
68 S3C44B0_PROCESSOR_TYPE:
71 .long MACH_TYPE_S3C44B0
73 #include "../kernel/head-common.S"