]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_selftest: test task priority levels
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 15 Sep 2017 08:06:17 +0000 (10:06 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 18 Sep 2017 21:53:57 +0000 (23:53 +0200)
commit1835f6ea7133263dbb51977a420b84b41234b5f1
tree5f8485994dcf693ab1f516ebad83a480c7ff247d
parent32f4b2f8c455b70cea65f5ba63346a6efc9d4e1e
efi_selftest: test task priority levels

Run a 10 ms periodic timer and check that it is called 10 times
while waiting for 100 ms single shot timer.

Raise the TPL level to the level of the 10 ms timer and observe
that the notification function is not called again.

Lower the TPL level and check that the queued notification
function is called.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_selftest/Makefile
lib/efi_selftest/efi_selftest_tpl.c [new file with mode: 0644]