Changeset 193d280c in mainline for kernel/arch/arm32
- Timestamp:
- 2015-06-01T00:04:05Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 53031c2
- Parents:
- 91deaff
- Location:
- kernel/arch/arm32
- Files:
-
- 4 edited
-
include/arch/cp15.h (modified) (1 diff)
-
include/arch/security_ext.h (modified) (3 diffs)
-
src/arm32.c (modified) (1 diff)
-
src/fpu_context.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/include/arch/cp15.h
r91deaff r193d280c 47 47 48 48 #define CONTROL_REG_GEN_READ(name, crn, opc1, crm, opc2) \ 49 static inline uint32_t name##_read( ) \49 static inline uint32_t name##_read(void) \ 50 50 { \ 51 51 uint32_t val; \ -
kernel/arch/arm32/include/arch/security_ext.h
r91deaff r193d280c 46 46 * older archs. 47 47 */ 48 static inline bool sec_ext_is_implemented( )48 static inline bool sec_ext_is_implemented(void) 49 49 { 50 50 #ifdef PROCESSOR_ARCH_armv7_a … … 60 60 * mode. 61 61 */ 62 static inline bool sec_ext_is_monitor_mode( )62 static inline bool sec_ext_is_monitor_mode(void) 63 63 { 64 64 return (current_status_reg_read() & MODE_MASK) == MONITOR_MODE; … … 75 75 * Look for 'secureworld_exit' in arch/arm/cpu/armv7/omap3/board.c. 76 76 */ 77 static inline bool sec_ext_is_secure( )77 static inline bool sec_ext_is_secure(void) 78 78 { 79 79 return sec_ext_is_implemented() -
kernel/arch/arm32/src/arm32.c
r91deaff r193d280c 158 158 159 159 /** Reboot. */ 160 void arch_reboot( )160 void arch_reboot(void) 161 161 { 162 162 /* not implemented */ -
kernel/arch/arm32/src/fpu_context.c
r91deaff r193d280c 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.
