2 * linux/arch/arm/vfp/entry.S
4 * Copyright (C) 2004 ARM Limited.
5 * Written by Deep Blue Solutions Limited.
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
11 * Basic entry code, called from the kernel's undefined instruction trap.
12 * r0 = faulted instruction
14 * r9 = successful return
15 * r10 = thread_info structure
18 #include <linux/linkage.h>
19 #include <linux/init.h>
20 #include <asm/constants.h>
21 #include <asm/vfpmacros.h>
26 add r10, r10, #TI_VFPSTATE @ r10 = workspace
27 ldr pc, [r4] @ call VFP entry point
32 @ This code is called if the VFP does not exist. It needs to flag the
33 @ failure to the VFP initialisation code.
36 .globl vfp_testing_entry
38 ldr r0, VFP_arch_address
39 str r5, [r0] @ known non-zero value
40 mov pc, r9 @ we have handled the fault