date_time () syscall, Get date-time from RTC
All checks were successful
Build ISO image / build-and-deploy (push) Successful in 32s
Build documentation / build-and-deploy (push) Successful in 41s

This commit is contained in:
2026-04-12 21:13:20 +02:00
parent 6c01de8b0d
commit 245196b80f
12 changed files with 183 additions and 4 deletions

View File

@@ -41,5 +41,6 @@
#define SYS_GET_DEVICE_INFO 38
#define SYS_GET_VOLUME_INFO 39
#define SYS_VOLUME_DELETE 40
#define SYS_DATE_TIME 41
#endif // _M_SYSCALL_DEFS_H

14
include/time.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef _TIME_H
#define _TIME_H
struct date_time {
int sec;
int min;
int hour;
int day;
int weekday;
int month;
int year;
};
#endif // _TIME_H