Changes in kernel/arch/arm32/src/ras.c [b55877d:61ac34d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/ras.c
rb55877d r61ac34d 67 67 void ras_check(unsigned int n, istate_t *istate) 68 68 { 69 bool restart_needed = false; 70 uintptr_t restart_pc = 0; 69 uintptr_t rewrite_pc = istate->pc; 71 70 72 71 if (istate_from_uspace(istate)) { … … 74 73 if ((ras_page[RAS_START] < istate->pc) && 75 74 (ras_page[RAS_END] > istate->pc)) { 76 restart_needed = true; 77 restart_pc = ras_page[RAS_START]; 75 rewrite_pc = ras_page[RAS_START]; 78 76 } 79 77 ras_page[RAS_START] = 0; 80 78 ras_page[RAS_END] = 0xffffffff; 81 } 79 } 82 80 } 83 81 84 82 exc_dispatch(n, istate); 85 if (restart_needed) 86 istate->pc = restart_pc;83 84 istate->pc = rewrite_pc; 87 85 } 88 86
Note:
See TracChangeset
for help on using the changeset viewer.