]> git.proxmox.com Git - mirror_edk2.git/blame - ShellPkg/Library/UefiDpLib/UefiDpLib.h
ShellPkg/tftp: Convert from NULL class library to Dynamic Command
[mirror_edk2.git] / ShellPkg / Library / UefiDpLib / UefiDpLib.h
CommitLineData
d41bc92c 1/** @file\r
2 Main file for NULL named library for dp command functions.\r
3\r
28165f24 4 Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved.<BR>\r
196ccda0 5 (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
d41bc92c 6 This program and the accompanying materials\r
7 are licensed and made available under the terms and conditions of the BSD License\r
8 which accompanies this distribution. The full text of the license may be found at\r
9 http://opensource.org/licenses/bsd-license.php\r
10\r
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13\r
14**/\r
15\r
16#ifndef _UEFI_DP_LIB_H_\r
17#define _UEFI_DP_LIB_H_\r
18\r
19#include <Uefi.h>\r
d41bc92c 20\r
21extern EFI_GUID gDpHiiGuid;\r
22\r
28165f24
RN
23#include <Protocol/Shell.h>\r
24#include <Protocol/ShellParameters.h>\r
d41bc92c 25#include <Protocol/DevicePath.h>\r
26#include <Protocol/LoadedImage.h>\r
27#include <Protocol/UnicodeCollation.h>\r
d41bc92c 28\r
29#include <Library/BaseLib.h>\r
30#include <Library/BaseMemoryLib.h>\r
31#include <Library/DebugLib.h>\r
32#include <Library/MemoryAllocationLib.h>\r
33#include <Library/PcdLib.h>\r
34#include <Library/ShellCommandLib.h>\r
35#include <Library/ShellLib.h>\r
36#include <Library/SortLib.h>\r
37#include <Library/UefiLib.h>\r
38#include <Library/UefiRuntimeServicesTableLib.h>\r
39#include <Library/UefiBootServicesTableLib.h>\r
40#include <Library/HiiLib.h>\r
41#include <Library/FileHandleLib.h>\r
42\r
43extern EFI_HANDLE gDpHiiHandle;\r
44\r
45/**\r
46 Function for 'dp' command.\r
47\r
48 @param[in] ImageHandle Handle to the Image (NULL if Internal).\r
49 @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r
196ccda0
CS
50\r
51 @retval SHELL_SUCCESS Command completed successfully.\r
52 @retval SHELL_INVALID_PARAMETER Command usage error.\r
53 @retval SHELL_ABORTED The user aborts the operation.\r
54 @retval value Unknown error.\r
d41bc92c 55**/\r
56SHELL_STATUS\r
57EFIAPI\r
58ShellCommandRunDp (\r
59 IN EFI_HANDLE ImageHandle,\r
60 IN EFI_SYSTEM_TABLE *SystemTable\r
61 );\r
62\r
63#endif\r
64\r