Changeset 25eec4e in mainline for kernel/arch/arm32/src/ras.c
- Timestamp:
- 2013-04-19T18:38:18Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6d717a4
- Parents:
- a1e2df13 (diff), 289cb7dd (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/ras.c
ra1e2df13 r25eec4e 67 67 void ras_check(unsigned int n, istate_t *istate) 68 68 { 69 uintptr_t rewrite_pc = istate->pc; 69 bool restart_needed = false; 70 uintptr_t restart_pc = 0; 70 71 71 72 if (istate_from_uspace(istate)) { … … 73 74 if ((ras_page[RAS_START] < istate->pc) && 74 75 (ras_page[RAS_END] > istate->pc)) { 75 rewrite_pc = ras_page[RAS_START]; 76 restart_needed = true; 77 restart_pc = ras_page[RAS_START]; 76 78 } 77 79 ras_page[RAS_START] = 0; 78 80 ras_page[RAS_END] = 0xffffffff; 79 } 81 } 80 82 } 81 83 82 84 exc_dispatch(n, istate); 83 84 istate->pc = rewrite_pc;85 if (restart_needed) 86 istate->pc = restart_pc; 85 87 } 86 88
Note:
See TracChangeset
for help on using the changeset viewer.