blob: 28e3388770623944fb94223a7d76c4387b9b3a5d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#ifndef _JOVE_H
#define _JOVE_H 1
#define NORETURN __attribute__((noreturn))
#define PACKED __attribute__((packed))
#define ALIGN(n) __attribute__((aligned(n)))
#define PAGEALIGN __attribute__((aligned(0x1000)))
NORETURN void hcf(void);
extern int errno;
#define reterr(e) \
errno = e; \
return 0
#define EBADOBJ -1
#define EOOB -2
#define EBADPATH -3
#define EBADARG -4
#define ETOOSMALL -5
#define ETOOBIG -6
#define EBADSIZE -7
#define ENOMAP -8
#define EHASMAP -9
#define EALIGN -10
#define EEXIST -11
#endif
|