1 | /** @file
|
---|
2 | Header file for BCFG command library.
|
---|
3 |
|
---|
4 | Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>
|
---|
5 | SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
6 |
|
---|
7 | **/
|
---|
8 |
|
---|
9 | #ifndef _BCFG_COMMAND_LIB_H_
|
---|
10 | #define _BCFG_COMMAND_LIB_H_
|
---|
11 |
|
---|
12 | /**
|
---|
13 | "Constructor" for the library.
|
---|
14 |
|
---|
15 | This will register the handler for the bcfg command.
|
---|
16 |
|
---|
17 | @param[in] ImageHandle the image handle of the process
|
---|
18 | @param[in] SystemTable the EFI System Table pointer
|
---|
19 | @param[in] Name the profile name to use
|
---|
20 |
|
---|
21 | @retval EFI_SUCCESS the shell command handlers were installed successfully
|
---|
22 | @retval EFI_UNSUPPORTED the shell level required was not found.
|
---|
23 | **/
|
---|
24 | EFI_STATUS
|
---|
25 | EFIAPI
|
---|
26 | BcfgLibraryRegisterBcfgCommand (
|
---|
27 | IN EFI_HANDLE ImageHandle,
|
---|
28 | IN EFI_SYSTEM_TABLE *SystemTable,
|
---|
29 | IN CONST CHAR16 *Name
|
---|
30 | );
|
---|
31 |
|
---|
32 | /**
|
---|
33 | "Destructor" for the library. free any resources.
|
---|
34 |
|
---|
35 | @param ImageHandle The image handle of the process.
|
---|
36 | @param SystemTable The EFI System Table pointer.
|
---|
37 | **/
|
---|
38 | EFI_STATUS
|
---|
39 | EFIAPI
|
---|
40 | BcfgLibraryUnregisterBcfgCommand (
|
---|
41 | IN EFI_HANDLE ImageHandle,
|
---|
42 | IN EFI_SYSTEM_TABLE *SystemTable
|
---|
43 | );
|
---|
44 |
|
---|
45 | #endif
|
---|