Changeset 660e8fa in mainline for kernel/arch/arm32/Makefile.inc


Ignore:
Timestamp:
2013-01-18T20:49:35Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5fcd537, 6218d4b
Parents:
b5a3b50 (diff), a640bc1 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge arm fpu fixes.

Enable FPU coprocessor (cp10/11) access.
Test for cp10/11 access before using fpu instructions or touching fpu regs.
Move fpu instructions to single asm file instead of allowing it in kernel globally.
Add cp15 helper functions.
Add (unused) security extensions header.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/Makefile.inc

    rb5a3b50 r660e8fa  
    3535GCC_CFLAGS += -fno-omit-frame-pointer -mapcs-frame -march=$(subst _,-,$(PROCESSOR)) -mno-unaligned-access
    3636
     37ifeq ($(MACHINE),beagleboardxm)
     38GCC_CFLAGS += -mcpu=cortex-a8
     39endif
     40
    3741ifeq ($(CONFIG_FPU),y)
    3842# This is necessary to allow vmsr insn and fpexc manipulation
    3943# Use vfp32 to allow context save/restore of d16-d31 regs.
    40 GCC_CFLAGS += -mfloat-abi=hard -mfpu=vfp3
     44AFLAGS += -mfloat-abi=hard -mfpu=vfp3
    4145endif
    4246
     
    7074ifeq ($(CONFIG_FPU),y)
    7175        ARCH_SOURCES += arch/$(KARCH)/src/fpu_context.c
     76        ARCH_SOURCES += arch/$(KARCH)/src/fpu.s
    7277endif
    7378
Note: See TracChangeset for help on using the changeset viewer.