Changeset 0abc2ae in mainline for kernel/arch/mips32/src/debugger.c
- Timestamp:
- 2018-08-13T00:11:39Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f34d2be
- Parents:
- 05882233
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/debugger.c
r05882233 r0abc2ae 213 213 /* Set breakpoint */ 214 214 *((sysarg_t *) cur->address) = 0x0d; 215 smc_coherence(cur->address );215 smc_coherence(cur->address, 4); 216 216 217 217 irq_spinlock_unlock(&bkpoint_lock, true); … … 246 246 247 247 ((uint32_t *) cur->address)[0] = cur->instruction; 248 smc_coherence(((uint32_t *) cur->address)[0] );248 smc_coherence(((uint32_t *) cur->address)[0], 4); 249 249 ((uint32_t *) cur->address)[1] = cur->nextinstruction; 250 smc_coherence(((uint32_t *) cur->address)[1] );250 smc_coherence(((uint32_t *) cur->address)[1], 4); 251 251 252 252 cur->address = (uintptr_t) NULL; … … 358 358 /* Set breakpoint on first instruction */ 359 359 ((uint32_t *) cur->address)[0] = 0x0d; 360 smc_coherence(((uint32_t *)cur->address)[0] );360 smc_coherence(((uint32_t *)cur->address)[0], 4); 361 361 362 362 /* Return back the second */ 363 363 ((uint32_t *) cur->address)[1] = cur->nextinstruction; 364 smc_coherence(((uint32_t *) cur->address)[1] );364 smc_coherence(((uint32_t *) cur->address)[1], 4); 365 365 366 366 cur->flags &= ~BKPOINT_REINST; … … 380 380 /* Return first instruction back */ 381 381 ((uint32_t *)cur->address)[0] = cur->instruction; 382 smc_coherence(cur->address );382 smc_coherence(cur->address, 4); 383 383 384 384 if (!(cur->flags & BKPOINT_ONESHOT)) {
Note:
See TracChangeset
for help on using the changeset viewer.