Debian Codegraph @

Externals/Bochs_disasm/config.h

raw symbols SCIP
1 #ifndef _BOCHS_CONFIG_H
2 #define _BOCHS_CONFIG_H
3
4 #ifdef _WIN32
5 typedef signed __int8 Bit8s;
6 typedef signed __int16 Bit16s;
7 typedef signed __int32 Bit32s;
8 typedef signed __int64 Bit64s;
9
10 typedef unsigned __int8 Bit8u;
11 typedef unsigned __int16 Bit16u;
12 typedef unsigned __int32 Bit32u;
13 typedef unsigned __int64 Bit64u;
14
15 typedef bool bx_bool;
16 typedef Bit64u bx_address;
17
18 #define BX_CPP_INLINE inline
19
20 #else
21
22 #include <stdint.h>
23
24 typedef int8_t Bit8s;
25 typedef int16_t Bit16s;
26 typedef int32_t Bit32s;
27 typedef int64_t Bit64s;
28
29 typedef uint8_t Bit8u;
30 typedef uint16_t Bit16u;
31 typedef uint32_t Bit32u;
32 typedef uint64_t Bit64u;
33
34 typedef bool bx_bool;
35 typedef Bit64u bx_address;
36
37 #define BX_CPP_INLINE inline
38
39 #endif
40
41 #define BX_CONST64(x) (x##LL)
42 #define GET32L(val64) ((Bit32u)(((Bit64u)(val64)) & 0xFFFFFFFF))
43 #define GET32H(val64) ((Bit32u)(((Bit64u)(val64)) >> 32))
44
45 #endif