mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-08-24 19:26:07 +00:00
kern: SvcGetSystemTick
This commit is contained in:
parent
cffc85ec2d
commit
9adc6643e8
1 changed files with 5 additions and 3 deletions
|
@ -21,20 +21,22 @@ namespace ams::kern::svc {
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
|
int64_t GetSystemTick() {
|
||||||
|
return KHardwareTimer::GetTick();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ============================= 64 ABI ============================= */
|
/* ============================= 64 ABI ============================= */
|
||||||
|
|
||||||
int64_t GetSystemTick64() {
|
int64_t GetSystemTick64() {
|
||||||
MESOSPHERE_PANIC("Stubbed SvcGetSystemTick64 was called.");
|
return GetSystemTick();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ============================= 64From32 ABI ============================= */
|
/* ============================= 64From32 ABI ============================= */
|
||||||
|
|
||||||
int64_t GetSystemTick64From32() {
|
int64_t GetSystemTick64From32() {
|
||||||
MESOSPHERE_PANIC("Stubbed SvcGetSystemTick64From32 was called.");
|
return GetSystemTick();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue