| 
    UEFIStarter
    
   a simple UEFI framework 
   | 
 
This application is a simple example of how to read command line arguments and output to console. More...
#include <Uefi.h>#include <Library/UefiLib.h>#include <Library/ShellCEntryLib.h>#include <UEFIStarter/core.h>Functions | |
| BOOLEAN | validate_int (cmdline_value_t value) | 
| Validator function for "-int" parameter.  More... | |
| INTN EFIAPI | ShellAppMain (UINTN argc, CHAR16 **argv) | 
| Main function, gets invoked by UEFI shell.  More... | |
Variables | |
| cmdline_argument_t | args1 [] | 
| command-line arguments in group 1  More... | |
| cmdline_argument_group_t | _arg_group1 ={ L"Group 1" ,sizeof( args1 )/sizeof(cmdline_argument_t), args1 } | 
| command-line argument group 1  | |
| cmdline_argument_t | args2 [] | 
| command-line arguments in group 2  More... | |
| cmdline_argument_group_t | _arg_group2 ={ L"Group 2" ,sizeof( args2 )/sizeof(cmdline_argument_t), args2 } | 
| command-line argument group 2  | |
This application is a simple example of how to read command line arguments and output to console.
| BOOLEAN validate_int | ( | cmdline_value_t | value | ) | 
Validator function for "-int" parameter.
Values must be greater than or equal to 2 to be valid.
| value | the value to validate | 
| INTN EFIAPI ShellAppMain | ( | UINTN | argc, | 
| CHAR16 ** | argv | ||
| ) | 
Main function, gets invoked by UEFI shell.
| argc | the number of command-line arguments passed | 
| argv | the command-line arguments passed | 
| cmdline_argument_t args1[] | 
command-line arguments in group 1
| cmdline_argument_t args2[] | 
command-line arguments in group 2
 1.8.13