11.4 Testing Component Name Protocols

Use the UEFI Shell's drivers and devices commands to exercise the Component Name Protocols. Running these commands with no options shows the sets of drivers and devices in the platform The names are shown in the currently set platform language.

These commands also support a -l option to request names in an alternate language. Figure 15, following, shows an example using the UEFI Shell command drivers on the EDK II Nt32 platform. Figure 16 then shows an example of using the UEFI Shell command devices on the EDK II Nt32 platform. The details on each UEFI Shell command available to test UEFI Drivers can be found in Chapter 31 of this guide.

Figure 15-Testing Component Name Protocol GetDriverName()

Figure 16-Testing Component Name Protocol GetControllerName()