u-boot/lib/efi_selftest
Masami Hiramatsu 28fc87ee3a efi_selftest: Receive the packets until the receive buffer is empty
Repeatedly receive the packets until the receive buffer is empty.
If the buffer is empty, EFI_SIMPLE_NETWORK_PROTOCOL::Receive()
returns EFI_NOT_READY. We don't need to use the wait_for_event()
every time.

Signed-off-by: Masami Hiramatsu <masami.hiramatsu@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2021-10-21 03:46:03 +02:00
..
.gitignore efi_selftest: Update .gitignore 2020-01-07 18:08:20 +01:00
dtbdump.c Merge branch '2021-02-02-drop-asm_global_data-when-unused' 2021-02-15 10:16:45 -05:00
efi_freestanding.c efi_loader: fix build error for freestanding.o 2019-03-14 21:03:14 +01:00
efi_selftest_bitblt.c efi_loader: consistent naming of protocol GUIDs 2019-04-23 00:37:27 +02:00
efi_selftest_block_device.c efi_selftest: test EFI_BLOCK_IO_PROTOCOL.Media->LastBlock 2021-01-29 20:22:40 +01:00
efi_selftest_config_table.c crc32: Use the crc.h header for crc functions 2019-12-02 18:23:08 -05:00
efi_selftest_console.c efi_selftest: provide initrddump test tool 2021-01-20 08:17:17 +01:00
efi_selftest_controllers.c efi_selftest: fix typos 2018-12-02 21:59:36 +01:00
efi_selftest_crc32.c crc32: Use the crc.h header for crc functions 2019-12-02 18:23:08 -05:00
efi_selftest_devicepath_util.c efi_selftest: avoid double free in dp utilities test 2019-03-27 06:32:27 +01:00
efi_selftest_devicepath.c efi_selftest: multi part device path to text 2021-02-21 09:21:35 +01:00
efi_selftest_disk_image.h SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
efi_selftest_esrt.c efi: ESRT creation tests 2021-03-25 20:19:42 +01:00
efi_selftest_event_groups.c efi_selftest: correct event group test 2019-06-10 23:06:19 +02:00
efi_selftest_events.c efi_selftest: events unit test, check return values 2019-02-13 09:40:05 +01:00
efi_selftest_exception.c efi_selftest: use standalone UEFI program for exception 2019-08-29 05:54:26 +02:00
efi_selftest_exitbootservices.c efi_selftest: do not call CloseEvent() after ExitBootServices() 2019-07-16 22:17:15 +00:00
efi_selftest_fdt.c efi_selftest: check for RISC-V boot-hartid in FDT 2020-09-18 22:23:58 +02:00
efi_selftest_gop.c efi_loader: QueryMode() must allocate buffer 2019-06-20 22:26:15 +00:00
efi_selftest_hii_data.c efi_selftest: add HII database protocols test 2019-02-13 09:40:06 +01:00
efi_selftest_hii.c efi_selftest: fix test_hii_string_get_string() 2019-03-20 18:16:53 +01:00
efi_selftest_load_file.c efi_selftest: test EFI_LOAD_FILE_PROTOCOL 2020-12-10 09:15:33 +01:00
efi_selftest_loaded_image.c efi_selftest: remove redundant function efi_st_memcmp() 2019-05-07 21:10:04 +02:00
efi_selftest_loadimage.c efi_selftest: remove redundant function efi_st_memcmp() 2019-05-07 21:10:04 +02:00
efi_selftest_manageprotocols.c efi_selftest: remove redundant function efi_st_memcmp() 2019-05-07 21:10:04 +02:00
efi_selftest_mem.c efi_selftest: test CalculateCrc32, CopyMem, SetMem 2020-03-22 11:06:23 +01:00
efi_selftest_memory.c efi_loader: put device tree into EfiACPIReclaimMemory 2020-05-07 18:23:16 +02:00
efi_selftest_miniapp_exception.c efi_selftest: implement exception test for sandbox 2020-12-13 07:58:17 -07:00
efi_selftest_miniapp_exit.c efi_selftest: test exit_data 2019-05-02 18:17:50 +02:00
efi_selftest_miniapp_return.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
efi_selftest_open_protocol.c efi_selftest: unit test for OpenProtocolInformation() 2019-06-01 22:40:24 +02:00
efi_selftest_register_notify.c efi_loader: correct notification of protocol installation 2019-05-31 23:27:11 +02:00
efi_selftest_reset.c efi_selftest: add a test for ResetSystem() 2020-08-24 16:37:53 +02:00
efi_selftest_rng.c efi_selftest: unit test for EFI_RNG_PROTOCOL 2020-01-07 18:08:22 +01:00
efi_selftest_rtc.c efi_loader: Kconfig entries for GetTime(), SetTime() 2019-06-01 04:53:13 +02:00
efi_selftest_set_virtual_address_map.c efi_selfest: redefine enum efi_test_phase 2021-03-25 20:54:12 +01:00
efi_selftest_snp.c efi_selftest: Receive the packets until the receive buffer is empty 2021-10-21 03:46:03 +02:00
efi_selftest_startimage_exit.c efi_selftest: remove redundant function efi_st_memcmp() 2019-05-07 21:10:04 +02:00
efi_selftest_startimage_return.c efi_selftest: do not use efi_free_pool() 2019-02-16 15:42:19 +01:00
efi_selftest_tcg2.c efi_selftest: provide unit test for the EFI_TCG2_PROTOCOL 2020-11-14 05:05:46 +01:00
efi_selftest_textinput.c efi_selftest: fix typos 2018-12-02 21:59:36 +01:00
efi_selftest_textinputex.c efi_selftest: missing braces in efi_selftest_textinputex.c 2018-09-23 21:55:30 +02:00
efi_selftest_textoutput.c efi_selftest: updating the cursor position 2018-06-03 15:27:20 +02:00
efi_selftest_tpl.c efi_loader: TPL_HIGH_LEVEL not allowed for CreateEvent 2021-06-28 19:57:13 +02:00
efi_selftest_unaligned.c SPDX: Fixup tags from latest EFI PR 2018-06-03 16:10:22 -04:00
efi_selftest_unicode_collation.c efi_loader: do not use unsupported printf code 2018-12-02 21:59:37 +01:00
efi_selftest_util.c efi_selftest: remove redundant function efi_st_memcmp() 2019-05-07 21:10:04 +02:00
efi_selftest_variables_runtime.c efi_selftest: adjust runtime test for variables 2020-07-11 23:14:17 +02:00
efi_selftest_variables.c efi_selftest: check length reported by GetNextVariableName() 2020-03-22 11:06:23 +01:00
efi_selftest_watchdog.c efi_selftest: fix typos 2018-12-02 21:59:36 +01:00
efi_selftest.c efi_selfest: redefine enum efi_test_phase 2021-03-25 20:54:12 +01:00
initrddump.c efi_selftest: illegal cast to pointer in initrddump 2021-03-25 20:07:36 +01:00
Kconfig efi_selftest: block device test requires CONFIG_DOS_PARTITION 2020-08-01 11:58:39 +02:00
Makefile efi_selftest: compiler flags for efi_selftest_miniapp_exception.o 2021-05-24 14:21:30 -04:00