Changes in kernel/arch/arm32/src/fpu_context.c [bafd198:a640bc1] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/fpu_context.c
rbafd198 ra640bc1 119 119 * rely on user decision to use CONFIG_FPU. 120 120 */ 121 #ifdef PROCESSOR_ ARC_armv7_a121 #ifdef PROCESSOR_armv7_a 122 122 const uint32_t cpacr = CPACR_read(); 123 123 /* FPU needs access to coprocessor 10 and 11. … … 148 148 * rely on user decision to use CONFIG_FPU. 149 149 */ 150 #ifdef PROCESSOR_ARCH_armv7_a 150 #ifndef PROCESSOR_armv7_a 151 return; 152 #endif 153 151 154 /* Allow coprocessor access */ 152 155 uint32_t cpacr = CPACR_read(); … … 156 159 cpacr |= (CPACR_CP_FULL_ACCESS(10) | CPACR_CP_FULL_ACCESS(11)); 157 160 CPACR_write(cpacr); 158 #endif 161 162 smc_coherence(0); 159 163 } 160 164
Note:
See TracChangeset
for help on using the changeset viewer.