mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-28 21:28:21 +00:00
kernel: initial timekeeper implementation
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user