MCPcopy Create free account
hub / github.com/HoShiMin/Kernel-Bridge / MonitorTrapFlagHandler

Function MonitorTrapFlagHandler

Kernel-Bridge/API/Hypervisor.cpp:2314–2323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2312 _IRQL_requires_same_
2313 _IRQL_requires_min_(DISPATCH_LEVEL)
2314 static VMM_STATUS MonitorTrapFlagHandler(__inout PRIVATE_VM_DATA* Private, __inout GUEST_CONTEXT* Context, unsigned long long Rip, __inout_opt bool& RepeatInstruction)
2315 {
2316 UNREFERENCED_PARAMETER(Context);
2317
2318 Private->EptInterceptor->CompletePendingHandler(reinterpret_cast<void*>(Rip));
2319 DisableMonitorTrapFlag();
2320 EnableGuestInterrupts();
2321 RepeatInstruction = true;
2322 return VMM_STATUS::VMM_CONTINUE;
2323 }
2324
2325 _IRQL_requires_same_
2326 _IRQL_requires_min_(DISPATCH_LEVEL)

Callers

nothing calls this directly

Calls 3

DisableMonitorTrapFlagFunction · 0.85
EnableGuestInterruptsFunction · 0.85

Tested by

no test coverage detected