UEFIStarter
a simple UEFI framework
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Functions
quit.c File Reference

This application will halt the UEFI environment. More...

#include <Uefi.h>
#include <Library/UefiLib.h>
#include <Library/ShellCEntryLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <UEFIStarter/core.h>

Functions

INTN EFIAPI ShellAppMain (UINTN argc, CHAR16 **argv)
 Main function, gets invoked by UEFI shell. More...
 

Detailed Description

This application will halt the UEFI environment.

QEMU will exit and return to the system shell, VirtualBox will halt the VM.

Author
Richard Nusser
License
GPLv3 (see http://www.gnu.org/licenses/)
See also
https://github.com/rinusser/UEFIStarter

Function Documentation

◆ ShellAppMain()

INTN EFIAPI ShellAppMain ( UINTN  argc,
CHAR16 **  argv 
)

Main function, gets invoked by UEFI shell.

Parameters
argcthe number of command-line arguments passed
argvthe command-line arguments passed
Returns
an EFI status code for the shell