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
|
|
|
|
{
|
|
|
|
INT aperf_msr_timing_check;
|
|
|
|
INT invd_emulation_check;
|
|
|
|
|
2023-10-05 08:27:17 +02: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-09-27 06:22:14 +02:00
|
|
|
PerformVirtualizationDetection(
|
2023-08-21 17:48:34 +02:00
|
|
|
_In_ PIRP Irp
|
|
|
|
);
|
|
|
|
|
2023-10-05 08:27:17 +02:00
|
|
|
extern
|
|
|
|
INT
|
2023-09-27 06:22:14 +02:00
|
|
|
TestINVDEmulation();
|
2023-08-21 14:40:40 +02:00
|
|
|
|
|
|
|
#endif
|