mirror of https://github.com/acidanthera/audk.git
Make the module GCC clean.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5213 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
263822c99f
commit
d7152a15f5
|
@ -61,7 +61,7 @@ FRAMEWORK_HII_FORMSET_TEMPLATE FormSetTemplate = {
|
|||
sizeof (FRAMEWORK_EFI_IFR_FORM_SET)
|
||||
},
|
||||
//Guid
|
||||
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
|
||||
{0, 0, 0, {0, 0, 0, 0, 0, 0, 0, 0}},
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
|
@ -70,8 +70,10 @@ FRAMEWORK_HII_FORMSET_TEMPLATE FormSetTemplate = {
|
|||
0
|
||||
},
|
||||
{
|
||||
FRAMEWORK_EFI_IFR_END_FORM_SET_OP,
|
||||
sizeof (FRAMEWORK_EFI_IFR_END_FORM_SET)
|
||||
{
|
||||
FRAMEWORK_EFI_IFR_END_FORM_SET_OP,
|
||||
sizeof (FRAMEWORK_EFI_IFR_END_FORM_SET)
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -18,12 +18,12 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||
EFI_HII_THUNK_PRIVATE_DATA *mHiiThunkPrivateData;
|
||||
|
||||
EFI_HII_THUNK_PRIVATE_DATA mHiiThunkPrivateDataTempate = {
|
||||
{//Signature
|
||||
EFI_HII_THUNK_DRIVER_DATA_SIGNATURE
|
||||
},
|
||||
{//Handle
|
||||
(EFI_HANDLE) NULL
|
||||
},
|
||||
//Signature
|
||||
EFI_HII_THUNK_DRIVER_DATA_SIGNATURE
|
||||
,
|
||||
//Handle
|
||||
(EFI_HANDLE) NULL
|
||||
,
|
||||
{ //Hii
|
||||
HiiNewPack,
|
||||
HiiRemovePack,
|
||||
|
@ -46,18 +46,18 @@ EFI_HII_THUNK_PRIVATE_DATA mHiiThunkPrivateDataTempate = {
|
|||
|
||||
HiiGetKeyboardLayout
|
||||
},
|
||||
{ //StaticHiiHandle
|
||||
//The FRAMEWORK_EFI_HII_HANDLE starts from 1
|
||||
// and increase upwords untill reach the value of StaticPureUefiHiiHandle.
|
||||
// The code will assert to prevent overflow.
|
||||
(FRAMEWORK_EFI_HII_HANDLE) 1
|
||||
},
|
||||
{ //StaticPureUefiHiiHandle
|
||||
//The Static FRAMEWORK_EFI_HII_HANDLE starts from 0xFFFF
|
||||
// and decrease downwords untill reach the value of StaticHiiHandle.
|
||||
// The code will assert to prevent overflow.
|
||||
(FRAMEWORK_EFI_HII_HANDLE) 0xFFFF
|
||||
},
|
||||
//StaticHiiHandle
|
||||
//The FRAMEWORK_EFI_HII_HANDLE starts from 1
|
||||
// and increase upwords untill reach the value of StaticPureUefiHiiHandle.
|
||||
// The code will assert to prevent overflow.
|
||||
(FRAMEWORK_EFI_HII_HANDLE) 1
|
||||
,
|
||||
//StaticPureUefiHiiHandle
|
||||
//The Static FRAMEWORK_EFI_HII_HANDLE starts from 0xFFFF
|
||||
// and decrease downwords untill reach the value of StaticHiiHandle.
|
||||
// The code will assert to prevent overflow.
|
||||
(FRAMEWORK_EFI_HII_HANDLE) 0xFFFF
|
||||
,
|
||||
{
|
||||
NULL, NULL //HiiHandleLinkList
|
||||
},
|
||||
|
|
|
@ -122,21 +122,6 @@ LibExportPackageLists (
|
|||
return Status;
|
||||
}
|
||||
|
||||
BOOLEAN
|
||||
IsOnlyStringPackagesInPackageList (
|
||||
IN CONST EFI_HII_PACKAGE_LIST_HEADER *StringPackageListHeader
|
||||
)
|
||||
{
|
||||
EFI_HII_PACKAGE_HEADER *PackageHeader;
|
||||
|
||||
PackageHeader = (EFI_HII_PACKAGE_HEADER *) (StringPackageListHeader + 1);
|
||||
|
||||
while (PackageHeader->Type != EFI_HII_PACKAGE_END) {
|
||||
PackageHeader = (EFI_HII_PACKAGE_HEADER *) (PackageHeader );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
EFI_STATUS
|
||||
InsertStringPackagesToIfrPackageList (
|
||||
IN CONST EFI_HII_PACKAGE_LIST_HEADER *StringPackageListHeader,
|
||||
|
|
Loading…
Reference in New Issue