Use the UEFI Shell command
drvdiag to exercise the Driver Diagnostics Protocols. Run this command with no options to show the set of drivers the Driver Diagnostics Protocols support. The
drvdiag command allows the different types of diagnostics tests to run on a controller, a specific child of a controller, or all the children of a controller. The figure below shows a few examples of using the UEFI Shell command
drvdiag on the EDK II Nt32 platform to run diagnostics provided with the Block I/O driver for the Nt32 platform.
Details on each UEFI Shell command used to test UEFI Drivers appear in Chapter 31.