Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset ff166148 in mainline


Ignore:
Timestamp:
2012-07-23T20:57:54Z (9 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master
Children:
9cf07b3
Parents:
774c143
Message:

arm32: Enable unaligned access and restore uspace compiler optimization

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/arm32/src/mm.c

    r774c143 rff166148  
    120120               
    121121#ifdef PROCESSOR_armv7_a
    122                 /* Mask to enable paging, alignment and caching */
    123                 "ldr r1, =0x00000007\n"
     122                /* Mask to enable paging, caching */
     123                "ldr r1, =0x00000005\n"
    124124#else
    125125                /* Mask to enable paging */
  • uspace/lib/c/arch/arm32/Makefile.common

    r774c143 rff166148  
    2828#
    2929
    30 GCC_CFLAGS += -ffixed-r9 -mtp=soft -fno-omit-frame-pointer -march=armv4
    31 #TODO enable this when the breakage is fixed
    32 #(fat fails on invalid instruction, tmpfs hangs, there may be other issues)
    33 #fat: page_fault - instruction doesn't access memory (instr_code: 0x1508, badvaddr:0x.
    34 #$(subst _,-,$(PROCESSOR))
     30GCC_CFLAGS += -ffixed-r9 -mtp=soft -fno-omit-frame-pointer -march=$(subst _,-,$(PROCESSOR))
    3531
    3632ENDIANESS = LE
Note: See TracChangeset for help on using the changeset viewer.