diff options
author | Dandan Bi <dandan.bi@intel.com> | 2016-01-26 16:07:18 +0800 |
---|---|---|
committer | Star Zeng <star.zeng@intel.com> | 2016-02-23 17:03:21 +0800 |
commit | 2ba36b2f0ea77661a4a3dcce6785df49be20698d (patch) | |
tree | 28242b324a594210cb93bd52583c5f44ff6dfb06 /MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManager.h | |
parent | 3a2718d74eb38e33be8b1d493bd84840f5cc3729 (diff) | |
download | edk2-platforms-2ba36b2f0ea77661a4a3dcce6785df49be20698d.tar.xz |
MdeModulePkg: Refine the code in BootMaintenanceManagerUiLib
Refine the code in function Var_UpdateDriverOption and Var_UpdateBootOption,
use the existed API(EfiBootManagerInitializeLoadOption and
EfiBootManagerAddLoadOptionVariable) supplied by UefiBootManagerLib
to replace the same logic in the two functions. And remove the useless
code.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManager.h')
-rw-r--r-- | MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManager.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManager.h b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManager.h index 24526e1096..b482bf2892 100644 --- a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManager.h +++ b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManager.h @@ -1,7 +1,7 @@ /** @file
Header file for boot maintenance module.
-Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -268,24 +268,15 @@ typedef struct { typedef struct {
BOOLEAN IsBootNext;
- BOOLEAN LoadOptionModified;
BOOLEAN Deleted;
BOOLEAN IsLegacy;
- BOOLEAN IsActive;
- BOOLEAN ForceReconnect;
- UINTN OptionalDataSize;
-
- UINTN LoadOptionSize;
- UINT8 *LoadOption;
UINT32 Attributes;
UINT16 FilePathListLength;
UINT16 *Description;
EFI_DEVICE_PATH_PROTOCOL *FilePathList;
UINT8 *OptionalData;
-
- UINT16 BbsIndex;
} BM_LOAD_CONTEXT;
typedef struct {
|