u-boot/lib/efi_selftest
Heinrich Schuchardt 74a614d70a efi_selftest: test EFI_BLOCK_IO_PROTOCOL.Media->LastBlock
The field Media->LastBlock of the EFI_BLOCK_IO_PROTOCOL must be filled
with the index of the last logical block (LBA) for the block device that
our test driver provides.

After calling ConnectController() U-Boot exposes the block IO protocol for
the partition check that the value of Media->LastBlock equals the partition
size minus one.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2021-01-29 20:22:40 +01:00
..
.gitignore efi_selftest: Update .gitignore 2020-01-07 18:08:20 +01:00
dtbdump.c efi_selftest: use CRLF as line endings in dtbdump 2021-01-20 08:17:17 +01:00
efi_freestanding.c efi_loader: fix build error for freestanding.o 2019-03-14 21:03:14 +01:00
efi_selftest.c efi_selftest: keep devices in ExitBootServices() 2020-11-14 05:05:46 +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.c efi_loader: consistent naming of protocol GUIDs 2019-04-23 00:37:27 +02: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_disk_image.h SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04: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.c efi_selftest: fix test_hii_string_get_string() 2019-03-20 18:16:53 +01:00
efi_selftest_hii_data.c efi_selftest: add HII database protocols test 2019-02-13 09:40:06 +01:00
efi_selftest_load_file.c efi_selftest: test EFI_LOAD_FILE_PROTOCOL 2020-12-10 09:15:33 +01:00
efi_selftest_load_initrd.c efi_loader: move EFI_LOAD_FILE2_PROTOCOL_GUID 2020-12-10 09:15:32 +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: Fix typo in documentation 2020-10-06 07:43:56 +02:00
efi_selftest_snp.c common: Drop net.h from common header 2020-05-18 17:33:31 -04: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_selftest: tpl unit test, check return values 2019-02-13 09:40:05 +01: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.c efi_selftest: check length reported by GetNextVariableName() 2020-03-22 11:06:23 +01:00
efi_selftest_variables_runtime.c efi_selftest: adjust runtime test for variables 2020-07-11 23:14:17 +02:00
efi_selftest_watchdog.c efi_selftest: fix typos 2018-12-02 21:59:36 +01:00
initrddump.c efi_selftest: provide initrddump test tool 2021-01-20 08:17:17 +01:00
Kconfig efi_selftest: block device test requires CONFIG_DOS_PARTITION 2020-08-01 11:58:39 +02:00
Makefile efi_selftest: provide initrddump test tool 2021-01-20 08:17:17 +01:00