mirror-ac/driver/hv.h

22 lines
413 B
C
Raw Normal View History

2023-08-21 14:40:40 +02:00
#ifndef HV_H
#define HV_H
#include <ntifs.h>
2023-09-02 15:47:15 +02:00
#include "common.h"
2023-08-21 14:40:40 +02:00
2023-08-21 17:48:34 +02:00
typedef struct _HYPERVISOR_DETECTION_REPORT
{
2023-12-13 05:06:27 +01:00
INT aperf_msr_timing_check;
INT invd_emulation_check;
2023-08-21 17:48:34 +02:00
2023-12-13 05:06:27 +01:00
} HYPERVISOR_DETECTION_REPORT, *PHYPERVISOR_DETECTION_REPORT;
2023-08-21 17:48:34 +02:00
2023-10-05 08:27:17 +02:00
NTSTATUS
2023-12-13 05:06:27 +01:00
PerformVirtualizationDetection(_Inout_ PIRP Irp);
2023-08-21 17:48:34 +02:00
_IRQL_always_function_max_(HIGH_LEVEL) INT APERFMsrTimingCheck();
2023-12-13 05:06:27 +01:00
extern INT
2023-09-27 06:22:14 +02:00
TestINVDEmulation();
2023-08-21 14:40:40 +02:00
#endif