TianoCore EDK2 master
Loading...
Searching...
No Matches
Tftp.h File Reference

Go to the source code of this file.

Data Structures

struct  DOWNLOAD_CONTEXT
 

Functions

SHELL_STATUS RunTftp (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 
EFI_HII_HANDLE InitializeHiiPackage (EFI_HANDLE ImageHandle)
 

Variables

EFI_HII_HANDLE mTftpHiiHandle
 

Detailed Description

Header file for 'tftp' command functions.

Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.
Copyright (c) 2015, ARM Ltd. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file Tftp.h.

Function Documentation

◆ InitializeHiiPackage()

EFI_HII_HANDLE InitializeHiiPackage ( EFI_HANDLE  ImageHandle)

Retrieve HII package list from ImageHandle and publish to HII database.

Parameters
ImageHandleThe image handle of the process.
Returns
HII handle.

Definition at line 440 of file LinuxInitrdDynamicShellCommand.c.

◆ RunTftp()

SHELL_STATUS RunTftp ( IN EFI_HANDLE  ImageHandle,
IN EFI_SYSTEM_TABLE SystemTable 
)

Function for 'tftp' command.

Parameters
[in]ImageHandleThe image handle.
[in]SystemTableThe system table.
Return values
SHELL_SUCCESSCommand completed successfully.
SHELL_INVALID_PARAMETERCommand usage error.
SHELL_ABORTEDThe user aborts the operation.
valueUnknown error.

Function for 'tftp' command.

Parameters
[in]ImageHandleHandle to the Image (NULL if Internal).
[in]SystemTablePointer to the System Table (NULL if Internal).
Returns
SHELL_SUCCESS The 'tftp' command completed successfully.
SHELL_ABORTED The Shell Library initialization failed.
SHELL_INVALID_PARAMETER At least one of the command's arguments is not valid.
SHELL_OUT_OF_RESOURCES A memory allocation failed.
SHELL_NOT_FOUND Network Interface Card not found or server error or file error.

Definition at line 277 of file Tftp.c.

Variable Documentation

◆ mTftpHiiHandle

EFI_HII_HANDLE mTftpHiiHandle
extern

Definition at line 14 of file Tftp.c.