diff options
author | Jon Santmyer <jon@jonsantmyer.com> | 2024-05-22 13:00:41 -0400 |
---|---|---|
committer | Jon Santmyer <jon@jonsantmyer.com> | 2024-05-22 13:00:41 -0400 |
commit | ace65b453151845bc361f21f3e5b651c35f9f126 (patch) | |
tree | 262ebd29b0ca1d8584f0b6f1efa7a00d9f4f3e43 /lib/jove.h | |
parent | f004c1ade8d617a82cea2fe249434cccb47a2358 (diff) | |
download | jove-kernel-ace65b453151845bc361f21f3e5b651c35f9f126.tar.gz jove-kernel-ace65b453151845bc361f21f3e5b651c35f9f126.tar.bz2 jove-kernel-ace65b453151845bc361f21f3e5b651c35f9f126.zip |
Diffstat (limited to 'lib/jove.h')
-rw-r--r-- | lib/jove.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/jove.h b/lib/jove.h deleted file mode 100644 index 6015112..0000000 --- a/lib/jove.h +++ /dev/null @@ -1,15 +0,0 @@ -#ifndef JOVE_LIB_JOVE_H -#define JOVE_LIB_JOVE_H 1 - -#define ALWAYS_INLINE inline __attribute__((always_inline)) -#define PAGEALIGN __attribute__((aligned(0x1000))) - -#define LOG2(n) (31 - __builtin_clz(n)) - -extern void *_kernel_start; -extern void *_kernel_end; - -__attribute__((noreturn)) void _kpanic(const char *file, int line, const char *fmt, ...); -#define kpanic(...) _kpanic(__FILE__, __LINE__, __VA_ARGS__) - -#endif |