]>
Commit | Line | Data |
---|---|---|
ced216f8 HL |
1 | /** @file\r |
2 | *\r | |
3 | * Definitions for the Dynamic Shell command library\r | |
4 | *\r | |
5 | * Copyright (C) 2014, ARM Ltd\r | |
6 | *\r | |
7 | * This program and the accompanying materials are licensed and made available\r | |
8 | * under the terms and conditions of the BSD License which accompanies this\r | |
9 | * distribution. The full text of the license may be found at\r | |
10 | * http://opensource.org/licenses/bsd-license.php\r | |
11 | *\r | |
12 | * THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT\r | |
13 | * WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
14 | *\r | |
15 | **/\r | |
16 | \r | |
17 | #ifndef _ARM_SHELL_CMD_LIB_H_\r | |
18 | #define _ARM_SHELL_CMD_LIB_H_\r | |
19 | \r | |
20 | /**\r | |
21 | \r | |
22 | Initialize and Install EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL for RunAxf command.\r | |
23 | \r | |
24 | @param[in] ImageHandle Handle the protocol should be attached to.\r | |
25 | \r | |
26 | @retval EFI_SUCCESS The command has been installed successfully.\r | |
27 | \r | |
28 | @retval EFI_UNSUPPORTED Help for the command failed to initialise.\r | |
29 | \r | |
30 | @return Status code returned by InstallProtocolInterface\r | |
31 | Boot Service function.\r | |
32 | \r | |
33 | **/\r | |
34 | EFI_STATUS\r | |
35 | ShellDynCmdRunAxfInstall (\r | |
36 | IN EFI_HANDLE ImageHandle\r | |
37 | );\r | |
38 | \r | |
39 | /**\r | |
40 | \r | |
41 | Uninstall the RunAxf Command\r | |
42 | \r | |
43 | @param[in] ImageHandle Handle of the device where the protocol should have\r | |
44 | been installed.\r | |
45 | \r | |
46 | @retval EFI_SUCCESS The device has been un-initialized successfully.\r | |
47 | \r | |
48 | @return Status code returned by UninstallProtocolInterface\r | |
49 | Boot Service function.\r | |
50 | \r | |
51 | **/\r | |
52 | EFI_STATUS\r | |
53 | ShellDynCmdRunAxfUninstall (\r | |
54 | IN EFI_HANDLE ImageHandle\r | |
55 | );\r | |
56 | \r | |
57 | #endif // _ARM_SHELL_CMD_LIB_H_\r |