Implement CNTVCT_EL0 (#1268)

* Implement CNTVCT_EL0

* Fix comment
This commit is contained in:
mageven 2020-05-23 15:45:59 +05:30 committed by GitHub
parent ff7a933ec0
commit 6416bc1938
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 0 deletions

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; }