-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Description
在UEFI模拟器或者OVMF中都是,运行TestEvent.c在TestNotify的时候不断输出myEventNotif Wait,停不下来。
我把源代码改成下面这样,就会输出SignalEvent错误,Status为2:
VOID myEventNoify (
IN EFI_EVENT Event,
IN VOID *Context
)
{
static UINTN times = 0;
EFI_STATUS Status;
if(times>5) {
Status = gBS->SignalEvent(Event);
if (EFI_ERROR(Status)) {
Print(L"gBS->SignalEvent error %d.\n", Status);
}
return;
} else {
Print(L"myEventNotify Wait %d\n", times);
times ++;
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels