kernel: initial timekeeper implementation

This commit is contained in:
Matheus
2023-04-22 21:29:07 -03:00
parent b57cb385ce
commit 067dd09234
3 changed files with 55 additions and 1 deletions
+10
View File
@@ -0,0 +1,10 @@
#ifndef _TIMEKEEPER_H
#define _TIMEKEEPER_H
#include <time.h>
void timekeeper_init(time_t (*tick)(), time_t ticksperus);
timespec_t timekeeper_timefromboot();
timespec_t timekeeper_time();
#endif