Coverage Report

Created: 2017-10-25 09:10

/root/src/xen/xen/include/asm/mwait.h
Line
Count
Source
1
#ifndef __ASM_X86_MWAIT_H__
2
#define __ASM_X86_MWAIT_H__
3
4
48
#define MWAIT_SUBSTATE_MASK   0xf
5
2.10M
#define MWAIT_CSTATE_MASK   0xf
6
2.10M
#define MWAIT_SUBSTATE_SIZE   4
7
8
1
#define CPUID_MWAIT_LEAF    5
9
1
#define CPUID5_ECX_EXTENSIONS_SUPPORTED 0x1
10
1
#define CPUID5_ECX_INTERRUPT_BREAK  0x2
11
12
1.95M
#define MWAIT_ECX_INTERRUPT_BREAK 0x1
13
14
void mwait_idle_with_hints(unsigned int eax, unsigned int ecx);
15
16
#endif /* __ASM_X86_MWAIT_H__ */