diff options
| author | cpplover0 <osdev555@yandex.com> | 2026-03-15 08:59:16 +0300 |
|---|---|---|
| committer | cpplover0 <osdev555@yandex.com> | 2026-03-15 08:59:16 +0300 |
| commit | 9361d205de9931d0dbeb63aa621ce66b995eca1a (patch) | |
| tree | fe57cf12888cae4473aeb50a9199d0894266ae0b /kernel/src/utils/linux.hpp | |
| parent | 76778e2715414a64c6f8abc6682e3727e3c9329a (diff) | |
pvclock trying to get working ext2
Diffstat (limited to 'kernel/src/utils/linux.hpp')
| -rw-r--r-- | kernel/src/utils/linux.hpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/kernel/src/utils/linux.hpp b/kernel/src/utils/linux.hpp new file mode 100644 index 0000000..0fb2ab6 --- /dev/null +++ b/kernel/src/utils/linux.hpp @@ -0,0 +1,21 @@ +#pragma once +#include <cstdint> + +typedef uint64_t dev_t; +typedef uint64_t ino_t; + +typedef uint32_t mode_t; +typedef uint64_t nlink_t; +typedef uint32_t uid_t; +typedef uint32_t gid_t; + +typedef int64_t off_t; +typedef int64_t blksize_t; +typedef int64_t blkcnt_t; + +typedef int64_t time_t; + +struct timespec { + time_t tv_sec; + long tv_nsec; +};
\ No newline at end of file |
