send kernel results based on event tags

This commit is contained in:
SinaKarvandi 2020-11-18 08:59:26 -08:00
parent b4d54b0eda
commit 7fcb7a2cfb
8 changed files with 110 additions and 55 deletions

View file

@ -1480,7 +1480,7 @@ BOOLEAN InterpretGeneralEventAndActionsFields(
BOOLEAN IsNextCommandCoreId = FALSE;
BOOLEAN IsNextCommandBufferSize = FALSE;
BOOLEAN IsNextCommandImmediateMessaging = FALSE;
BOOLEAN ImmediateMessagePassing = TRUE;
BOOLEAN ImmediateMessagePassing = UseImmediateMessagingByDefaultOnEvents;
UINT32 CoreId;
UINT32 ProcessId;
UINT32 RequestBuffer = 0;
@ -1910,19 +1910,6 @@ BOOLEAN InterpretGeneralEventAndActionsFields(
return FALSE;
}
//
// Set the specific requested immediate message passing
//
if (TempActionBreak != NULL) {
TempActionBreak->ImmediateMessagePassing = ImmediateMessagePassing;
}
if (TempActionScript != NULL) {
TempActionScript->ImmediateMessagePassing = ImmediateMessagePassing;
}
if (TempActionCustomCode != NULL) {
TempActionCustomCode->ImmediateMessagePassing = ImmediateMessagePassing;
}
IsNextCommandImmediateMessaging = FALSE;
//
@ -2124,6 +2111,19 @@ BOOLEAN InterpretGeneralEventAndActionsFields(
return FALSE;
}
//
// Set the specific requested immediate message passing
//
if (TempActionBreak != NULL) {
TempActionBreak->ImmediateMessagePassing = ImmediateMessagePassing;
}
if (TempActionScript != NULL) {
TempActionScript->ImmediateMessagePassing = ImmediateMessagePassing;
}
if (TempActionCustomCode != NULL) {
TempActionCustomCode->ImmediateMessagePassing = ImmediateMessagePassing;
}
//
// Fill the address and length of event before release
//