Add time() syscall
This commit is contained in:
13
kernel/syscall/time.c
Normal file
13
kernel/syscall/time.c
Normal file
@ -0,0 +1,13 @@
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include "syscall.h"
|
||||
#include "time.h"
|
||||
#include "sysdefs/time.h"
|
||||
#include "time/time.h"
|
||||
#include "errors.h"
|
||||
|
||||
int32_t SYSCALL1(sys_time, timestruct1) {
|
||||
Time *time = (Time *)timestruct1;
|
||||
time_get(time);
|
||||
return E_OK;
|
||||
}
|
||||
Reference in New Issue
Block a user