]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: notification with TPL_APPLICATION not allowed
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 6 Jan 2021 11:55:22 +0000 (12:55 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 23 Jan 2021 06:56:54 +0000 (07:56 +0100)
commit2cfb68fd83b9998efe30d181945f478e3c68c6b6
tree9c9b0ec483699921320c2ce48e31d82c6e9ccc7a
parentd33f31816f606dbdf95ae3e96ce87dfc275822cd
efi_loader: notification with TPL_APPLICATION not allowed

The UEFI specification requires event notification levels to be
> TPL_APPLICATION and <= TPL_HIGH_LEVEL.

With the patch the CreateEvent() and CreatedEventEx() services are changed
to check that the notification level is not TPL_APPLICATION.

Reference:
UEFI Specification 2.8 Errata B, table 27 "TPL Restrictions",
"Event Notification Levels"

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