Changes in kernel/arch/arm32/src/fpu_context.c [193d280c:5c4356b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/fpu_context.c
r193d280c r5c4356b 101 101 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, 102 102 }; 103 104 103 extern uint32_t fpscr_read(void); 105 104 extern void fpscr_write(uint32_t); … … 115 114 static void (*restore_context)(fpu_context_t *ctx); 116 115 117 static int fpu_have_coprocessor_access(void) 118 { 119 /* 120 * The register containing the information (CPACR) is not available on armv6- 116 static int fpu_have_coprocessor_access() 117 { 118 /* The register containing the information (CPACR) is not available on armv6- 121 119 * rely on user decision to use CONFIG_FPU. 122 120 */ … … 145 143 * @note do we need to call secure monitor here? 146 144 */ 147 static void fpu_enable_coprocessor_access(void) 148 { 149 /* 150 * The register containing the information (CPACR) is not available on armv6- 145 static void fpu_enable_coprocessor_access() 146 { 147 /* The register containing the information (CPACR) is not available on armv6- 151 148 * rely on user decision to use CONFIG_FPU. 152 149 */ … … 192 189 return; 193 190 } 194 switch (FPSID_SUBACHITECTURE(fpsid)) { 191 switch (FPSID_SUBACHITECTURE(fpsid)) 192 { 195 193 case FPU_VFPv1: 196 194 printf("Detected VFPv1\n");
Note:
See TracChangeset
for help on using the changeset viewer.