Chapter 10 UEFI Shell Programming

This chapter provides an overview of the techniques used when creating UEFI Shell applications. The UEFI Shell provides additional capabilities beyond those available to normal UEFI applications. It does this by using two additional protocols. First, the EFI_SHELL_PARAMETERS_PROTOCOL protocol is installed on the application’s image handle. This protocol provides access to the command-line parameters, as well as the handle of the standard input, standard output, and standard error logical devices. Second, the EFI_SHELL_PROTOCOL provides access to the file system, the environment variables and the device mappings.

If you go and look through the ShellPkg in EDK2 to find examples of shell application source code, ...

Get Harnessing the UEFI Shell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.