Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/src/fpu_context.c

    r193d280c r5c4356b  
    101101        FPSCR_EN_ALL = FPSCR_DENORMAL_EN_FLAG | FPSCR_INEXACT_EN_FLAG | FPSCR_UNDERFLOW_EN_FLAG | FPSCR_OVERFLOW_EN_FLAG | FPSCR_ZERO_DIV_EN_FLAG | FPSCR_INVALID_OP_EN_FLAG,
    102102};
    103 
    104103extern uint32_t fpscr_read(void);
    105104extern void fpscr_write(uint32_t);
     
    115114static void (*restore_context)(fpu_context_t *ctx);
    116115
    117 static int fpu_have_coprocessor_access(void)
    118 {
    119 /*
    120  * The register containing the information (CPACR) is not available on armv6-
     116static int fpu_have_coprocessor_access()
     117{
     118/* The register containing the information (CPACR) is not available on armv6-
    121119 * rely on user decision to use CONFIG_FPU.
    122120 */
     
    145143 * @note do we need to call secure monitor here?
    146144 */
    147 static void fpu_enable_coprocessor_access(void)
    148 {
    149 /*
    150  * The register containing the information (CPACR) is not available on armv6-
     145static void fpu_enable_coprocessor_access()
     146{
     147/* The register containing the information (CPACR) is not available on armv6-
    151148 * rely on user decision to use CONFIG_FPU.
    152149 */
     
    192189                return;
    193190        }
    194         switch (FPSID_SUBACHITECTURE(fpsid)) {
     191        switch (FPSID_SUBACHITECTURE(fpsid))
     192        {
    195193        case FPU_VFPv1:
    196194                printf("Detected VFPv1\n");
Note: See TracChangeset for help on using the changeset viewer.