KernOS
ktypes.h
Go to the documentation of this file.
1 //
2 // Created on 5/18/20.
3 //
4 
5 #ifndef KERNOS_TYPES_H
6 #define KERNOS_TYPES_H
7 
8 #include <common.h>
9 
10 #if ARCH_32
11 typedef uint32_t ptr_t;
12 #else
13 typedef uint64_t ptr_t;
14 #endif
15 
16 using func_ptr = void(*)();
17 
18 const uint32_t SYSERR = -1;
19 
20 #endif //KERNOS_TYPES_H
void(*)() func_ptr
Definition: ktypes.h:16
uint64_t ptr_t
Definition: ktypes.h:13
const uint32_t SYSERR
Definition: ktypes.h:18