2 Entrypoint of "dp" shell standalone application.
4 Copyright (c) 2017, Intel Corporation. All rights reserved. <BR>
6 SPDX-License-Identifier: BSD-2-Clause-Patent
12 // String token ID of help message text.
13 // Shell supports to find help message in the resource section of an application image if
14 // .MAN file is not found. This global variable is added to make build tool recognizes
15 // that the help string is consumed by user and then build tool will add the string into
16 // the resource section. Thus the application can use '-?' option to show help message in
19 GLOBAL_REMOVE_IF_UNREFERENCED EFI_STRING_ID mStringHelpTokenId
= STRING_TOKEN (STR_GET_HELP_DP
);
22 Entry point of Tftp standalone application.
24 @param ImageHandle The image handle of the process.
25 @param SystemTable The EFI System Table pointer.
27 @retval EFI_SUCCESS Tftp command is executed successfully.
28 @retval EFI_ABORTED HII package was failed to initialize.
29 @retval others Other errors when executing tftp command.
34 IN EFI_HANDLE ImageHandle
,
35 IN EFI_SYSTEM_TABLE
*SystemTable
40 mDpHiiHandle
= InitializeHiiPackage (ImageHandle
);
41 if (mDpHiiHandle
== NULL
) {
45 Status
= (EFI_STATUS
)RunDp (ImageHandle
, SystemTable
);
46 HiiRemovePackages (mDpHiiHandle
);