amd64: add time system

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-07-21 07:39:27 -04:00
commit 36145eafbc
9 changed files with 179 additions and 2 deletions

18
amd64/drivers/rtc.h Normal file
View file

@ -0,0 +1,18 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef _RTC_H_
#define _RTC_H_
#include <kernel/types.h>
struct rtc_regs {
u8 sec;
u8 min;
u8 hour;
u8 day;
u8 mon;
u8 year;
u8 century;
u8 reg_b;
};
#endif /* _RTC_H_ */