Changeset b5143bd in mainline for kernel/arch/arm32/src/fpu_context.c
- Timestamp:
- 2015-06-06T01:50:56Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0453261
- Parents:
- 94e46c9 (diff), 87a2f9b (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/fpu_context.c
r94e46c9 rb5143bd 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 103 104 extern uint32_t fpscr_read(void); 104 105 extern void fpscr_write(uint32_t); … … 114 115 static void (*restore_context)(fpu_context_t *ctx); 115 116 116 static int fpu_have_coprocessor_access() 117 { 118 /* The register containing the information (CPACR) is not available on armv6- 117 static int fpu_have_coprocessor_access(void) 118 { 119 /* 120 * The register containing the information (CPACR) is not available on armv6- 119 121 * rely on user decision to use CONFIG_FPU. 120 122 */ … … 143 145 * @note do we need to call secure monitor here? 144 146 */ 145 static void fpu_enable_coprocessor_access() 146 { 147 /* The register containing the information (CPACR) is not available on armv6- 147 static void fpu_enable_coprocessor_access(void) 148 { 149 /* 150 * The register containing the information (CPACR) is not available on armv6- 148 151 * rely on user decision to use CONFIG_FPU. 149 152 */
Note:
See TracChangeset
for help on using the changeset viewer.