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