blob: 233049280bc707008f31f70877ef70d463aa2102 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#ifndef JOVE_LIB_JOVE_H
#define JOVE_LIB_JOVE_H 1
#define ALWAYS_INLINE inline __attribute__((always_inline))
#define PAGEALIGN __attribute__((aligned(0x1000)))
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
|