MdeModulePkg: Implement UEFI25 HII Config keyword handler protocol.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@hp.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17428 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
This file contains the entry code to the HII database, which is defined by
|
||||
UEFI 2.1 specification.
|
||||
|
||||
Copyright (c) 2007 - 2008, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2007 - 2015, 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
|
||||
@ -72,6 +72,10 @@ HII_DATABASE_PRIVATE_DATA mPrivate = {
|
||||
HiiConfigToBlock,
|
||||
HiiGetAltCfg
|
||||
},
|
||||
{
|
||||
EfiConfigKeywordHandlerSetData,
|
||||
EfiConfigKeywordHandlerGetData
|
||||
},
|
||||
{
|
||||
(LIST_ENTRY *) NULL,
|
||||
(LIST_ENTRY *) NULL
|
||||
@ -153,6 +157,7 @@ InitializeHiiDatabase (
|
||||
ASSERT_PROTOCOL_ALREADY_INSTALLED (NULL, &gEfiHiiImageProtocolGuid);
|
||||
ASSERT_PROTOCOL_ALREADY_INSTALLED (NULL, &gEfiHiiStringProtocolGuid);
|
||||
ASSERT_PROTOCOL_ALREADY_INSTALLED (NULL, &gEfiHiiConfigRoutingProtocolGuid);
|
||||
ASSERT_PROTOCOL_ALREADY_INSTALLED (NULL, &gEfiConfigKeywordHandlerProtocolGuid);
|
||||
|
||||
InitializeListHead (&mPrivate.DatabaseList);
|
||||
InitializeListHead (&mPrivate.DatabaseNotifyList);
|
||||
@ -185,6 +190,8 @@ InitializeHiiDatabase (
|
||||
&mPrivate.HiiDatabase,
|
||||
&gEfiHiiConfigRoutingProtocolGuid,
|
||||
&mPrivate.ConfigRouting,
|
||||
&gEfiConfigKeywordHandlerProtocolGuid,
|
||||
&mPrivate.ConfigKeywordHandler,
|
||||
NULL
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user