mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-26 23:24:03 +02:00
MdeModulePkg: Relocation of mVarCheckHiiBin declaration
Relocate the declaration of mVarCheckHiiBin to support for standalone MM modules utilizing the same mVarCheckHiiBin. Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Rahul Kumar <rahul1.kumar@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Star Zeng <star.zeng@intel.com> Cc: Hongbin1 Zhang <hongbin1.zhang@intel.com> Cc: Wei6 Xu <wei6.xu@intel.com> Cc: Dun Tan <dun.tan@intel.com> Cc: Dandan Bi <dandan.bi@intel.com> Signed-off-by: Yuanhao Xie <yuanhao.xie@intel.com>
This commit is contained in:
parent
238ccc5944
commit
4aea90ea53
@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
Include file for Var Check Hii handler and bin.
|
||||
|
||||
Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2015 - 2024, Intel Corporation. All rights reserved.<BR>
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
@ -51,7 +51,4 @@ DumpVarCheckHii (
|
||||
IN UINTN VarCheckHiiBinSize
|
||||
);
|
||||
|
||||
extern VAR_CHECK_HII_VARIABLE_HEADER *mVarCheckHiiBin;
|
||||
extern UINTN mVarCheckHiiBinSize;
|
||||
|
||||
#endif
|
||||
|
@ -1,14 +1,16 @@
|
||||
/** @file
|
||||
Var Check Hii bin generation.
|
||||
|
||||
Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2015 - 2024, Intel Corporation. All rights reserved.<BR>
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
|
||||
#include "VarCheckHiiGen.h"
|
||||
|
||||
LIST_ENTRY mVarCheckHiiList = INITIALIZE_LIST_HEAD_VARIABLE (mVarCheckHiiList);
|
||||
VAR_CHECK_HII_VARIABLE_HEADER *mVarCheckHiiBin = NULL;
|
||||
UINTN mVarCheckHiiBinSize = 0;
|
||||
LIST_ENTRY mVarCheckHiiList = INITIALIZE_LIST_HEAD_VARIABLE (mVarCheckHiiList);
|
||||
|
||||
#define VAR_CHECK_HII_VARIABLE_NODE_SIGNATURE SIGNATURE_32 ('V', 'C', 'H', 'V')
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
Include file for Var Check Hii bin generation.
|
||||
|
||||
Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2024, Intel Corporation. All rights reserved.<BR>
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
@ -10,6 +10,8 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
#define _VAR_CHECK_HII_GEN_H_
|
||||
|
||||
#include "VarCheckHii.h"
|
||||
extern VAR_CHECK_HII_VARIABLE_HEADER *mVarCheckHiiBin;
|
||||
extern UINTN mVarCheckHiiBinSize;
|
||||
|
||||
/**
|
||||
Dump Hii Package.
|
||||
|
@ -7,7 +7,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
**/
|
||||
|
||||
#include "VarCheckHii.h"
|
||||
|
||||
#include "VarCheckHiiGen.h"
|
||||
GLOBAL_REMOVE_IF_UNREFERENCED CONST CHAR8 mVarCheckHiiHex[] = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' };
|
||||
|
||||
/**
|
||||
@ -258,9 +258,6 @@ VarCheckHiiQuestion (
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
VAR_CHECK_HII_VARIABLE_HEADER *mVarCheckHiiBin = NULL;
|
||||
UINTN mVarCheckHiiBinSize = 0;
|
||||
|
||||
/**
|
||||
SetVariable check handler HII.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user