Add CNTFRQ_EL0 workaround value for Exynos 1280

This commit is contained in:
lynxnb 2023-01-14 20:19:39 +01:00 committed by Billy Laws
parent ea0217de47
commit 5d527cb965

View File

@ -38,6 +38,8 @@ namespace skyline::util {
frequency = 26000000; frequency = 26000000;
else if (board == "exynos9810") // Exynos 9810 else if (board == "exynos9810") // Exynos 9810
frequency = 26000000; frequency = 26000000;
else if (board == "s5e8825") // Exynos 1280
frequency = 26000000;
else else
asm volatile("MRS %0, CNTFRQ_EL0" : "=r"(frequency)); asm volatile("MRS %0, CNTFRQ_EL0" : "=r"(frequency));