Commit | Line | Data |
---|---|---|
8ce75f8a SY |
1 | #ifndef _VM_BASIC_TYPES_H_ |
2 | #define _VM_BASIC_TYPES_H_ | |
3 | #include <linux/kernel.h> | |
4 | ||
5 | typedef u32 uint32; | |
6 | typedef s32 int32; | |
7 | typedef u64 uint64; | |
8 | typedef u16 uint16; | |
9 | typedef s16 int16; | |
10 | typedef u8 uint8; | |
11 | typedef s8 int8; | |
12 | ||
13 | typedef uint64 PA; | |
14 | typedef uint32 PPN; | |
15 | typedef uint64 PPN64; | |
16 | ||
17 | typedef bool Bool; | |
18 | ||
19 | #define MAX_UINT32 U32_MAX | |
20 | ||
21 | #endif |