kern: SvcGetSystemTick

This commit is contained in:
Michael Scire 2020-07-28 04:10:20 -07:00 committed by SciresM
parent 4bb9ef061a
commit 3fb3beeaff

View file

@ -21,20 +21,22 @@ namespace ams::kern::svc {
namespace {
int64_t GetSystemTick() {
return KHardwareTimer::GetTick();
}
}
/* ============================= 64 ABI ============================= */
int64_t GetSystemTick64() {
MESOSPHERE_PANIC("Stubbed SvcGetSystemTick64 was called.");
return GetSystemTick();
}
/* ============================= 64From32 ABI ============================= */
int64_t GetSystemTick64From32() {
MESOSPHERE_PANIC("Stubbed SvcGetSystemTick64From32 was called.");
return GetSystemTick();
}
}