efi_loader: TPL_HIGH_LEVEL not allowed for CreateEvent
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 10 Jun 2021 21:10:52 +0000 (23:10 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 28 Jun 2021 17:57:13 +0000 (19:57 +0200)
commit7891fe675d03f2407b040c472ae76050bc88c24e
tree4fb88f9c5595d425d2975ce1a7ab62317d6428de
parent4d8c21da4170e7c1d38c0106898e0d8347b4f0ff
efi_loader: TPL_HIGH_LEVEL not allowed for CreateEvent

According to chapter 7.1 "Event, Timer, and Task Priority Services"
TPL_HIGH_LEVEL should not be exposed to applications and drivers.

According to the discussion with EDK II contributors this implies that
CreateEvent() shall not allow to create events with TPL_HIGH_LEVEL.

Cc: Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com>
lib/efi_loader/efi_boottime.c
lib/efi_selftest/efi_selftest_tpl.c