9.3 Testing Driver Binding Protocol

Once a Driver Binding Protocol is implemented, it can be tested use UEFI Shell commands. Use the UEFI Shell to load a UEFI Driver into memory and verify that the Driver Binding Protocol has been installed into the Handle Database correctly. The UEFI Shell also provides commands to connect a driver to a device exercising the Supported() and Start() services, disconnect a driver from a device that exercises the Stop() service, and reconnect a driver to a device that exercises all the Driver Binding Protocol services. The details on each UEFI Shell command that may be used to test UEFI Drivers can be found in Chapter 31 of this guide.

Full testing of a UEFI Driver is performed by booting UEFI operating systems and running the UEFI Self Certification Tests.