aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bytecode/types.h')
-rwxr-xr-xsrc/bytecode/types.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/bytecode/types.h b/src/bytecode/types.h
deleted file mode 100755
index dc21756..0000000
--- a/src/bytecode/types.h
+++ /dev/null
@@ -1,30 +0,0 @@
1#ifndef BDL_TYPES_H
2#define BDL_TYPES_H
3
4#include <stdbool.h>
5#include <stddef.h>
6#include <stdint.h>
7
8typedef uint8_t u8;
9typedef uint16_t u16;
10typedef uint32_t u32;
11typedef uint64_t u64;
12typedef int8_t s8;
13typedef int16_t s16;
14typedef int32_t s32;
15typedef int64_t s64;
16typedef volatile u8 vu8;
17typedef volatile u16 vu16;
18typedef volatile u32 vu32;
19typedef volatile u64 vu64;
20typedef volatile s8 vs8;
21typedef volatile s16 vs16;
22typedef volatile s32 vs32;
23typedef volatile s64 vs64;
24
25#define KB(N) ((u64)(N) * 1024)
26#define MB(N) ((u64)KB(N) * 1024)
27#define GB(N) ((u64)MB(N) * 1024)
28#define TB(N) ((u64)GB(N) * 1024)
29
30#endif // BDL_TYPES_H