31.3.7 Testing the Driver Configuration Protocol
The DrvCfg command may be used to list all devices that are being managed by
UEFI drivers that support the Driver Configuration Protocols. The Devices
and
Drivers
commands show the drivers that support the Driver Configuration
Protocol and the devices that those drivers are managing or have produced. Once
a device is selected, the DrvCfg
command may be used to invoke the
SetOptions()
, ForceDefaults()
, or OptionsValid()
services of the Driver
Configuration Protocol. The code below shows examples of using the DrvCfg
command:
Example 1: Displays all the devices that are being managed by UEFI drivers that support the obsolete Driver Configuration Protocol.
fs0:> DrvCfg
Example 2: Forces defaults on all the devices in the system.
fs0:> DrvCfg -f
Example 3: Validates the options on all the devices in the system.
fs0:> DrvCfg -v
Example 4: Invokes the
SetOptions()
service of the Driver Configuration Protocol for the driver on handle 23 and its child process (27).fs0:> DrvCfg -s 23 27