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

Function InjectEvent

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

Source from the content-addressed store, hash-verified

352 }
353
354 void InjectEvent(__out VMCB* Guest, unsigned char Vector, unsigned char Type, unsigned int Code)
355 {
356 EVENTINJ Event = {};
357 Event.Bitmap.Vector = Vector;
358 Event.Bitmap.Type = Type;
359 Event.Bitmap.ErrorCodeValid = TRUE;
360 Event.Bitmap.Valid = TRUE;
361 Event.Bitmap.ErrorCode = Code;
362 Guest->ControlArea.EventInjection = Event.Value;
363 }
364
365 void InjectEvent(__out VMCB* Guest, unsigned char Vector, unsigned char Type)
366 {

Callers 3

SvmVmexitHandlerFunction · 0.85
CpuidHandlerFunction · 0.85
EptViolationHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected