Changeset ab52a3e in mainline
- Timestamp:
- 2012-11-25T18:51:06Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 123be4f
- Parents:
- 48a209a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/ras.c
r48a209a rab52a3e 67 67 void ras_check(unsigned int n, istate_t *istate) 68 68 { 69 uintptr_t rewrite_pc = istate->pc;69 bool restart = false; 70 70 71 71 if (istate_from_uspace(istate)) { … … 73 73 if ((ras_page[RAS_START] < istate->pc) && 74 74 (ras_page[RAS_END] > istate->pc)) { 75 re write_pc = ras_page[RAS_START];75 restart = true; 76 76 } 77 77 ras_page[RAS_START] = 0; 78 78 ras_page[RAS_END] = 0xffffffff; 79 } 79 } 80 80 } 81 81 82 82 exc_dispatch(n, istate); 83 84 istate->pc = rewrite_pc;83 if (restart) 84 istate->pc = ras_page[RAS_START]; 85 85 } 86 86
Note:
See TracChangeset
for help on using the changeset viewer.