Home
last modified time | relevance | path

Searched refs:exceptionIndex (Results 1 – 7 of 7) sorted by relevance

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/X86/
DBaseX86.cs58 protected override string GetExceptionDescription(ulong exceptionIndex) in GetExceptionDescription() argument
60 return ExceptionDescriptionsMap.TryGetValue(exceptionIndex, out var result) in GetExceptionDescription()
62 : base.GetExceptionDescription(exceptionIndex); in GetExceptionDescription()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/Hooks/
DInterruptPythonEngine.cs28 HookWithExceptionIndex = exceptionIndex => in InterruptPythonEngine()
30 Scope.SetVariable("exceptionIndex", exceptionIndex); in InterruptPythonEngine()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/Sparc/
DSparc.cs141 protected override string GetExceptionDescription(ulong exceptionIndex) in GetExceptionDescription() argument
143 return ExceptionDescriptionsMap.TryGetValue(exceptionIndex, out var result) in GetExceptionDescription()
145 : base.GetExceptionDescription(exceptionIndex); in GetExceptionDescription()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/PowerPC/
DPowerPc.cs116 protected override string GetExceptionDescription(ulong exceptionIndex) in GetExceptionDescription() argument
118 return ExceptionDescriptionsMap.TryGetValue(exceptionIndex, out var result) in GetExceptionDescription()
120 : base.GetExceptionDescription(exceptionIndex); in GetExceptionDescription()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/Arm/
DArm.cs287 protected override string GetExceptionDescription(ulong exceptionIndex) in GetExceptionDescription() argument
289 if(exceptionIndex >= (ulong)ExceptionDescriptions.Length) in GetExceptionDescription()
291 return base.GetExceptionDescription(exceptionIndex); in GetExceptionDescription()
294 return ExceptionDescriptions[exceptionIndex]; in GetExceptionDescription()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/RiscV/
DBaseRiscV.cs509 protected override string GetExceptionDescription(ulong exceptionIndex) in GetExceptionDescription() argument
511 var decoded = (exceptionIndex << 1) >> 1; in GetExceptionDescription()
512 var descriptionMap = IsInterrupt(exceptionIndex) in GetExceptionDescription()
520 return base.GetExceptionDescription(exceptionIndex); in GetExceptionDescription()
579 private bool IsInterrupt(ulong exceptionIndex) in IsInterrupt() argument
581 return BitHelper.IsBitSet(exceptionIndex, MostSignificantBit); in IsInterrupt()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CPU/
DTranslationCPU.cs783 protected virtual string GetExceptionDescription(ulong exceptionIndex) in GetExceptionDescription() argument
808 private void LogCpuInterruptBegin(ulong exceptionIndex) in LogCpuInterruptBegin() argument
810 … this.Log(LogLevel.Info, "Begin of the interrupt: {0}", GetExceptionDescription(exceptionIndex)); in LogCpuInterruptBegin()
813 private void LogCpuInterruptEnd(ulong exceptionIndex) in LogCpuInterruptEnd() argument
815 … this.Log(LogLevel.Info, "End of the interrupt: {0}", GetExceptionDescription(exceptionIndex)); in LogCpuInterruptEnd()
2287 AddHookAtInterruptBegin(exceptionIndex => in EnableProfiling()
2289 machine.Profiler.Log(new ExceptionEntry(exceptionIndex)); in EnableProfiling()