diff options
| author | mageven <62494521+mageven@users.noreply.github.com> | 2020-05-23 15:45:59 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-23 12:15:59 +0200 |
| commit | 6416bc193843702fc9d77be24e7b5b86c2b5e68c (patch) | |
| tree | b85fc1c74cd6c9715816cd21dfde4f830fd9c590 /ARMeilleure/State | |
| parent | ff7a933ec01f790aa842b0ef75081ed3e0a654a2 (diff) | |
Implement CNTVCT_EL0 (#1268)
* Implement CNTVCT_EL0
* Fix comment
Diffstat (limited to 'ARMeilleure/State')
| -rw-r--r-- | ARMeilleure/State/ExecutionContext.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ARMeilleure/State/ExecutionContext.cs b/ARMeilleure/State/ExecutionContext.cs index 8593f41e..2755122f 100644 --- a/ARMeilleure/State/ExecutionContext.cs +++ b/ARMeilleure/State/ExecutionContext.cs @@ -32,6 +32,10 @@ namespace ARMeilleure.State } } + // CNTVCT_EL0 = CNTPCT_EL0 - CNTVOFF_EL2 + // Since EL2 isn't implemented, CNTVOFF_EL2 = 0 + public ulong CntvctEl0 => CntpctEl0; + public static TimeSpan ElapsedTime => _tickCounter.Elapsed; public long TpidrEl0 { get; set; } |
