Changes in kernel/arch/arm32/src/ras.c [b55877d:ab52a3e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/ras.c
rb55877d rab52a3e 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 bool restart = false; 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 restart = true; 78 76 } 79 77 ras_page[RAS_START] = 0; … … 83 81 84 82 exc_dispatch(n, istate); 85 if (restart _needed)86 istate->pc = r estart_pc;83 if (restart) 84 istate->pc = ras_page[RAS_START]; 87 85 } 88 86
Note:
See TracChangeset
for help on using the changeset viewer.