This application lists PCI devices.
More...
#include <Uefi.h>
#include <Library/UefiLib.h>
#include <Library/ShellCEntryLib.h>
#include <UEFIStarter/core.h>
#include <UEFIStarter/pci.h>
|
INTN EFIAPI | ShellAppMain (UINTN argc, CHAR16 **argv) |
| Main function, gets invoked by UEFI shell. More...
|
|
This application lists PCI devices.
The built-in static/pci.ids contains just a tiny subset of possible device names. The file can be replaced with the full version of pci.ids.
- Author
- Richard Nusser
- Copyright
- 2017-2018 Richard Nusser
- License
- GPLv3 (see http://www.gnu.org/licenses/)
- See also
- https://github.com/rinusser/UEFIStarter
◆ ShellAppMain()
INTN EFIAPI ShellAppMain |
( |
UINTN |
argc, |
|
|
CHAR16 ** |
argv |
|
) |
| |
Main function, gets invoked by UEFI shell.
- Parameters
-
argc | the number of command-line arguments passed |
argv | the command-line arguments passed |
- Returns
- an EFI status code for the shell
◆ _args
Initial value:= {
{{uint64:0},
ARG_BOOL,NULL,L
"-print-classes",L
"Prints known PCI device classes"},
}
boolean
Definition: cmdline.h:22
list of command-line arguments