TianoCore EDK2 master
Loading...
Searching...
No Matches
Unload.c File Reference

Go to the source code of this file.

Functions

EFI_STATUS DumpLoadedImageProtocolInfo (IN EFI_HANDLE TheHandle)
 
SHELL_STATUS EFIAPI ShellCommandRunUnload (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 

Variables

STATIC CONST SHELL_PARAM_ITEM ParamList []
 

Detailed Description

Main file for Unload shell Driver1 function.

(C) Copyright 2015 Hewlett-Packard Development Company, L.P.
Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file Unload.c.

Function Documentation

◆ DumpLoadedImageProtocolInfo()

EFI_STATUS DumpLoadedImageProtocolInfo ( IN EFI_HANDLE  TheHandle)

Function to dump LoadedImage info from TheHandle.

Parameters
[in]TheHandleThe handle to dump info from.
Return values
EFI_SUCCESSThe info was dumped.
EFI_INVALID_PARAMETERThe handle did not have LoadedImage

Definition at line 21 of file Unload.c.

◆ ShellCommandRunUnload()

SHELL_STATUS EFIAPI ShellCommandRunUnload ( IN EFI_HANDLE  ImageHandle,
IN EFI_SYSTEM_TABLE SystemTable 
)

Function for 'unload' command.

Parameters
[in]ImageHandleHandle to the Image (NULL if Internal).
[in]SystemTablePointer to the System Table (NULL if Internal).

Definition at line 54 of file Unload.c.

Variable Documentation

◆ ParamList

Initial value:
= {
{ L"-n", TypeFlag },
{ L"-v", TypeFlag },
{ L"-verbose", TypeFlag },
{ NULL, TypeMax }
}
#define NULL
Definition: Base.h:319
@ TypeFlag
A flag that is present or not present only (IE "-a").
Definition: ShellLib.h:699

Definition at line 39 of file Unload.c.