31 Testing and Debugging UEFI Drivers

This chapter includes some best practices for testing a debugging UEFI Drivers that should help minimize production issues and simplify debugging. The most common tool used to do initial testing of a UEFI Driver is the UEFI Shell. Once the basic functionality is established, more rigorous testing can be performed. At a minimum a UEFI Driver should be tested with the following scenarios. This chapter focuses on use of the UEFI Shell and method of augmenting UEFI Drivers to improve debug ability.

  • Use UEFI Shell for basic functionality and debug

  • Run UEFI Self-Certification Tests available from http://www.uefi.org/testtools‚Äč

  • Install UEFI Operating Systems

  • Boot UEFI operating Systems