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
@@ -99,6 +99,9 @@ int show_task();
int show_mem();
int show_cpu();
uintptr_t get_second();
uintptr_t get_tick();
int semaphore_new(int val);
bool semaphore_free(int sem_id);
bool semaphore_wait(int sem_id);