diff options
| author | Bobby <[email protected]> | 2026-02-20 16:01:41 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2026-02-20 16:01:41 +0530 |
| commit | c1c827540981247fd943318f503e5d814e91921d (patch) | |
| tree | 487565051922295d669ed560b04c10916db35c29 /mirai/common/constants/time.zig | |
| parent | eb4c4dd3c9fe7d2424298c7b53cbe6fc1c3707eb (diff) | |
| download | akiba-c1c827540981247fd943318f503e5d814e91921d.tar.xz akiba-c1c827540981247fd943318f503e5d814e91921d.zip | |
feat: Implement CMOS/RTC and CPUID operations, add PIT driver, and enhance AFS with disk info retrieval
Diffstat (limited to 'mirai/common/constants/time.zig')
| -rw-r--r-- | mirai/common/constants/time.zig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mirai/common/constants/time.zig b/mirai/common/constants/time.zig new file mode 100644 index 0000000..ce50e2a --- /dev/null +++ b/mirai/common/constants/time.zig @@ -0,0 +1,9 @@ +//! Time constants + +pub const TICKS_PER_SECOND: u64 = 100; + +pub const SECONDS_PER_MINUTE: u64 = 60; +pub const SECONDS_PER_HOUR: u64 = 3600; +pub const SECONDS_PER_DAY: u64 = 86400; + +pub const EPOCH_YEAR: u64 = 1970; |
