class Device

Defined at line 38 of file ../../src/firmware/gigaboot/cpp/tests/mock_boot_service.h

A helper class that mocks a device that exports UEFI protocols in the UEFI environment.

Public Methods

void Device (std::vector<std::string_view> paths)

Defined at line 40 of file ../../src/firmware/gigaboot/cpp/tests/mock_boot_service.h

void ~Device ()

Defined at line 41 of file ../../src/firmware/gigaboot/cpp/tests/mock_boot_service.h

efi_block_io_protocol * GetBlockIoProtocol ()

Defined at line 42 of file ../../src/firmware/gigaboot/cpp/tests/mock_boot_service.h

efi_disk_io_protocol * GetDiskIoProtocol ()

Defined at line 43 of file ../../src/firmware/gigaboot/cpp/tests/mock_boot_service.h

efi_tcg2_protocol * GetTcg2Protocol ()

Defined at line 44 of file ../../src/firmware/gigaboot/cpp/tests/mock_boot_service.h

efi_graphics_output_protocol * GetGraphicsOutputProtocol ()

Defined at line 45 of file ../../src/firmware/gigaboot/cpp/tests/mock_boot_service.h

efi_managed_network_protocol * GetManagedNetworkProtocol ()

Defined at line 46 of file ../../src/firmware/gigaboot/cpp/tests/mock_boot_service.h

efi_device_path_protocol * GetDevicePathProtocol ()

Defined at line 48 of file ../../src/firmware/gigaboot/cpp/tests/mock_boot_service.h