Implement CNTVCT_EL0 (#1268)

* Implement CNTVCT_EL0

* Fix comment
This commit is contained in:
mageven authored and GitHub committed 2020-05-23 12:15:59 +02:00
1 parent ff7a933ec0
commit 6416bc1938
3 files changed
+10

No files matched your search

+4
View File
@@ -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; }