From 9b43b7e47509f3cf700a7f960dd418bd2f7c37c9 Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Thu, 15 Jul 2021 15:56:18 +0800 Subject: [PATCH] emulation: engine: remove unused properties These properties and variables were unused, and should be removed. Signed-off-by: Sean Cross --- emulation/peripherals/engine.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/emulation/peripherals/engine.cs b/emulation/peripherals/engine.cs index a0cd3484a..d332558a2 100644 --- a/emulation/peripherals/engine.cs +++ b/emulation/peripherals/engine.cs @@ -294,8 +294,6 @@ namespace Antmicro.Renode.Peripherals.Miscellaneous this.RegistersCollection = new DoubleWordRegisterCollection(this); this.IRQ = new GPIO(); - this.shouldEndExecution = false; - this.startExecution = new SemaphoreSlim(0, 1); Reset(); DefineRegisters(); } @@ -310,7 +308,6 @@ namespace Antmicro.Renode.Peripherals.Miscellaneous private void EngineThread() { - bool shouldLog = false; try { // this.Log(LogLevel.Error, "ENGINE: Beginning execution. Current MPC: 0x{0:X}", this.mpc); @@ -564,7 +561,6 @@ namespace Antmicro.Renode.Peripherals.Miscellaneous private UInt16 mpc; private IFlagRegisterField powerIsOn; private IFlagRegisterField pauseRequest; - private readonly uint bufferAddress = 0xE0020000; private IFlagRegisterField illegalOpcodeEnabled; private IFlagRegisterField illegalOpcodePending; @@ -575,8 +571,6 @@ namespace Antmicro.Renode.Peripherals.Miscellaneous private bool finishedStatus; private Thread engineExecution; - private bool shouldEndExecution; - private SemaphoreSlim startExecution; private EngineRam engineRam;