| 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 | { |
no outgoing calls
no test coverage detected