add get_second/tick for 3568

This commit is contained in:
lr
2024-07-23 17:30:42 +08:00
parent fbd7aa46f5
commit d78d5bb36a
3 changed files with 18 additions and 1 deletions
@@ -64,7 +64,7 @@ static uint64_t _get_tick()
static uint64_t _get_second()
{
return 0;
return _get_tick() / r_cntfrq_el0();
}
static bool _is_timer_expired()