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:
qwang12 2008-05-16 09:43:38 +00:00
parent 263822c99f
commit d7152a15f5
3 changed files with 23 additions and 36 deletions

View File

@ -61,7 +61,7 @@ FRAMEWORK_HII_FORMSET_TEMPLATE FormSetTemplate = {
sizeof (FRAMEWORK_EFI_IFR_FORM_SET) sizeof (FRAMEWORK_EFI_IFR_FORM_SET)
}, },
//Guid //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, 0,
0, 0,
@ -69,10 +69,12 @@ FRAMEWORK_HII_FORMSET_TEMPLATE FormSetTemplate = {
0, 0,
0 0
}, },
{
{ {
FRAMEWORK_EFI_IFR_END_FORM_SET_OP, FRAMEWORK_EFI_IFR_END_FORM_SET_OP,
sizeof (FRAMEWORK_EFI_IFR_END_FORM_SET) sizeof (FRAMEWORK_EFI_IFR_END_FORM_SET)
} }
}
}; };
EFI_STATUS EFI_STATUS

View File

@ -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 *mHiiThunkPrivateData;
EFI_HII_THUNK_PRIVATE_DATA mHiiThunkPrivateDataTempate = { EFI_HII_THUNK_PRIVATE_DATA mHiiThunkPrivateDataTempate = {
{//Signature //Signature
EFI_HII_THUNK_DRIVER_DATA_SIGNATURE EFI_HII_THUNK_DRIVER_DATA_SIGNATURE
}, ,
{//Handle //Handle
(EFI_HANDLE) NULL (EFI_HANDLE) NULL
}, ,
{ //Hii { //Hii
HiiNewPack, HiiNewPack,
HiiRemovePack, HiiRemovePack,
@ -46,18 +46,18 @@ EFI_HII_THUNK_PRIVATE_DATA mHiiThunkPrivateDataTempate = {
HiiGetKeyboardLayout HiiGetKeyboardLayout
}, },
{ //StaticHiiHandle //StaticHiiHandle
//The FRAMEWORK_EFI_HII_HANDLE starts from 1 //The FRAMEWORK_EFI_HII_HANDLE starts from 1
// and increase upwords untill reach the value of StaticPureUefiHiiHandle. // and increase upwords untill reach the value of StaticPureUefiHiiHandle.
// The code will assert to prevent overflow. // The code will assert to prevent overflow.
(FRAMEWORK_EFI_HII_HANDLE) 1 (FRAMEWORK_EFI_HII_HANDLE) 1
}, ,
{ //StaticPureUefiHiiHandle //StaticPureUefiHiiHandle
//The Static FRAMEWORK_EFI_HII_HANDLE starts from 0xFFFF //The Static FRAMEWORK_EFI_HII_HANDLE starts from 0xFFFF
// and decrease downwords untill reach the value of StaticHiiHandle. // and decrease downwords untill reach the value of StaticHiiHandle.
// The code will assert to prevent overflow. // The code will assert to prevent overflow.
(FRAMEWORK_EFI_HII_HANDLE) 0xFFFF (FRAMEWORK_EFI_HII_HANDLE) 0xFFFF
}, ,
{ {
NULL, NULL //HiiHandleLinkList NULL, NULL //HiiHandleLinkList
}, },

View File

@ -122,21 +122,6 @@ LibExportPackageLists (
return Status; 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 EFI_STATUS
InsertStringPackagesToIfrPackageList ( InsertStringPackagesToIfrPackageList (
IN CONST EFI_HII_PACKAGE_LIST_HEADER *StringPackageListHeader, IN CONST EFI_HII_PACKAGE_LIST_HEADER *StringPackageListHeader,