emulation: engine: remove unused properties

These properties and variables were unused, and should be removed.

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2021-07-15 15:56:18 +08:00
parent 5ae1e437ab
commit 9b43b7e475

View file

@ -294,8 +294,6 @@ namespace Antmicro.Renode.Peripherals.Miscellaneous
this.RegistersCollection = new DoubleWordRegisterCollection(this); this.RegistersCollection = new DoubleWordRegisterCollection(this);
this.IRQ = new GPIO(); this.IRQ = new GPIO();
this.shouldEndExecution = false;
this.startExecution = new SemaphoreSlim(0, 1);
Reset(); Reset();
DefineRegisters(); DefineRegisters();
} }
@ -310,7 +308,6 @@ namespace Antmicro.Renode.Peripherals.Miscellaneous
private void EngineThread() private void EngineThread()
{ {
bool shouldLog = false;
try try
{ {
// this.Log(LogLevel.Error, "ENGINE: Beginning execution. Current MPC: 0x{0:X}", this.mpc); // 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 UInt16 mpc;
private IFlagRegisterField powerIsOn; private IFlagRegisterField powerIsOn;
private IFlagRegisterField pauseRequest; private IFlagRegisterField pauseRequest;
private readonly uint bufferAddress = 0xE0020000;
private IFlagRegisterField illegalOpcodeEnabled; private IFlagRegisterField illegalOpcodeEnabled;
private IFlagRegisterField illegalOpcodePending; private IFlagRegisterField illegalOpcodePending;
@ -575,8 +571,6 @@ namespace Antmicro.Renode.Peripherals.Miscellaneous
private bool finishedStatus; private bool finishedStatus;
private Thread engineExecution; private Thread engineExecution;
private bool shouldEndExecution;
private SemaphoreSlim startExecution;
private EngineRam engineRam; private EngineRam engineRam;