efi_loader: allowable event types in CreateEventEx()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 4 May 2019 08:12:50 +0000 (10:12 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 7 May 2019 19:10:03 +0000 (21:10 +0200)
commit1884512b77ce54fffa50bb07cf065d4831171a6d
tree13bc408e2466577fc951d03674cec75a54b00473
parent52cbac9b06bf247dda8ff261b15e3c13f88188db
efi_loader: allowable event types in CreateEventEx()

CreateEventEx() does not allow the following event types:

* EVT_SIGNAL_EXIT_BOOT_SERVICES
* EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE

This check is needed to pass the UEFI SCT conformance test.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Alexander Graf <agraf@csgraf.de>
lib/efi_loader/efi_boottime.c