Add BRK instruction, fix wrong namespace on one of Am interfaces, and disable Debug/Trace logs by default

This commit is contained in:
gdkchan 2018-02-10 10:24:16 -03:00
parent 276f9f6d48
commit 9063766ed6
12 changed files with 51 additions and 16 deletions

View file

@ -42,12 +42,18 @@ namespace ChocolArm64.State
public long CntpctEl0 => Environment.TickCount * TicksPerMS;
public event EventHandler<SvcEventArgs> SvcCall;
public event EventHandler<EventArgs> Undefined;
public event EventHandler<AExceptionEventArgs> Break;
public event EventHandler<AExceptionEventArgs> SvcCall;
public event EventHandler<EventArgs> Undefined;
public void OnBreak(int Imm)
{
Break?.Invoke(this, new AExceptionEventArgs(Imm));
}
public void OnSvcCall(int Imm)
{
SvcCall?.Invoke(this, new SvcEventArgs(Imm));
SvcCall?.Invoke(this, new AExceptionEventArgs(Imm));
}
public void OnUndefined()