feat: wrapper function for bootstraping user program
[lunaix-os.git] / lunaix-os / includes / lunaix / types.h
1 #ifndef __LUNAIX_TYPES_H
2 #define __LUNAIX_TYPES_H
3
4 #include <stdarg.h>
5 #include <stdint.h>
6 #include <sys/types.h>
7
8 #define PACKED __attribute__((packed))
9
10 // TODO: WTERMSIG
11
12 // TODO: replace the integer type with these. To make thing more portable.
13
14 typedef unsigned char u8_t;
15 typedef unsigned short u16_t;
16 typedef unsigned int u32_t;
17 typedef unsigned long long u64_t;
18 typedef unsigned long ptr_t;
19
20 typedef int64_t lba_t;
21
22 #endif /* __LUNAIX_TYPES_H */