]> git.sur5r.net Git - u-boot/commit
efi_selftest: provide a test for block io
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 21 Jan 2018 18:29:31 +0000 (19:29 +0100)
committerAlexander Graf <agraf@suse.de>
Mon, 22 Jan 2018 22:09:14 +0000 (23:09 +0100)
commitf76861923986a8042fe7a4e3c4fc565c036bce52
tree4de5f6532c18c7814c457e9a184022b70874f016
parent05ef48a2484be4d1d232534b919c8e9b4bcfaecd
efi_selftest: provide a test for block io

This test checks the driver for block IO devices.
A disk image is created in memory.
A handle is created for the new block IO device.
The block I/O protocol is installed on the handle.
ConnectController is used to setup partitions and to install the simple
file protocol.
A known file is read from the file system and verified.

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_block_device.c [new file with mode: 0644]
lib/efi_selftest/efi_selftest_disk_image.h [new file with mode: 0644]