Changeset ae7d03c in mainline for kernel/arch/arm32
- Timestamp:
- 2018-05-10T13:39:19Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e8975278
- Parents:
- b277bef
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-10 07:38:12)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-10 13:39:19)
- Location:
- kernel/arch/arm32/src
- Files:
-
- 4 edited
-
cpu/cpu.c (modified) (1 diff)
-
exception.c (modified) (1 diff)
-
mach/beagleboardxm/beagleboardxm.c (modified) (1 diff)
-
mach/integratorcp/integratorcp.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/cpu/cpu.c
rb277bef rae7d03c 169 169 #endif 170 170 #ifdef PROCESSOR_ARCH_armv7_a 171 /* ICache coherency is elaborated on in barrier.h.172 * VIPT and PIPT caches need maintenance only on code modify,173 * so it should be safe for general use.174 * Enable branch predictors too as they follow the same rules175 * as ICache and they can be flushed together176 */171 /* ICache coherency is elaborated on in barrier.h. 172 * VIPT and PIPT caches need maintenance only on code modify, 173 * so it should be safe for general use. 174 * Enable branch predictors too as they follow the same rules 175 * as ICache and they can be flushed together 176 */ 177 177 if ((CTR_read() & CTR_L1I_POLICY_MASK) != CTR_L1I_POLICY_AIVIVT) { 178 178 control_reg |= -
kernel/arch/arm32/src/exception.c
rb277bef rae7d03c 68 68 /* relative address (related to exc. vector) of the word 69 69 * where handler's address is stored 70 */70 */ 71 71 volatile uint32_t handler_address_ptr = EXC_VECTORS_SIZE - 72 72 PREFETCH_OFFSET; -
kernel/arch/arm32/src/mach/beagleboardxm/beagleboardxm.c
rb277bef rae7d03c 88 88 amdm37x_gpt_irq_ack(&beagleboard.timer); 89 89 90 /*91 * We are holding a lock which prevents preemption.92 * Release the lock, call clock() and reacquire the lock again.93 */90 /* 91 * We are holding a lock which prevents preemption. 92 * Release the lock, call clock() and reacquire the lock again. 93 */ 94 94 spinlock_unlock(&irq->lock); 95 95 clock(); -
kernel/arch/arm32/src/mach/integratorcp/integratorcp.c
rb277bef rae7d03c 193 193 { 194 194 /* 195 * We are holding a lock which prevents preemption.196 * Release the lock, call clock() and reacquire the lock again.197 */195 * We are holding a lock which prevents preemption. 196 * Release the lock, call clock() and reacquire the lock again. 197 */ 198 198 199 199 spinlock_unlock(&irq->lock);
Note:
See TracChangeset
for help on using the changeset viewer.
