Merge pull request #561 from SciresM/master

Add config option to disable exception vectors.
This commit is contained in:
TuxSH
2017-06-09 00:17:14 +02:00
committed by GitHub
6 changed files with 53 additions and 3 deletions

View File

@@ -35,6 +35,8 @@
bool isExceptionFatal(u32 spsr, u32 *regs, u32 index)
{
if (CONFIG(DISABLEVECTORS)) return false;
if((spsr & 0x1f) != 0x10) return true;
KThread *thread = currentCoreContext->objectContext.currentThread;