aboutsummaryrefslogtreecommitdiff
path: root/x86.h
blob: 91d481d1d6d508ab3afcb53945797ff4af10e437 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef WHATAMI_X86_H
#define WHATAMI_X86_H
#if defined(__x86_64__) || defined(__i386__) || defined(__MACHINEX86_X64)

#ifndef bit_HTT
// Hyperthreading
#define bit_HTT (1 << 28)
#endif
// Virtualization
#define bit_VRT (1 << 31)

#endif // x86_64 || i386
#endif //WHATAMI_X86_H