summaryrefslogtreecommitdiffstats
path: root/EdkCompatibilityPkg/Compatibility
Commit message (Collapse)AuthorAgeFilesLines
* 1) StrGather (Build.exe) in compatible mode add a Framework Package Header ↵qwang122008-11-214-38/+166
| | | | | | | | | | | to replace the original “ArrayLength” generated in the output. 2) VfrCompiler in compatible mode add a Framework Package Header to replace the original “ArrayLength” generated in the output. 3) HII Thunk module nows support Narrow Font registered using Framework New Pack HII interface. 4) Fix a bug in IfrLibCreatePopUp2 by updating the prototype. The previous way of using VA_START to get the address of parameter in the argument list and expecting the parameters that follows will be found using VA_ARG macro is wrong. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6672 6f19259b-4bc3-4df7-8a09-765794883524
* GCC Build Clean: Add doxygen comment and fix build break issue.qwang122008-11-201-2/+9
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6647 6f19259b-4bc3-4df7-8a09-765794883524
* 1) Covert the FvAttributes back to format defined in Framework spec after ↵qwang122008-11-181-10/+52
| | | | | | | | calling the PI FV Protocol. This behavior is defined in Framework spec. 2) Set the EFI_FV_FILE_ATTRIB_MEMORY_MAPPED before calling PI FV Protocol->WriteFile interface. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6612 6f19259b-4bc3-4df7-8a09-765794883524
* Covert the FvAttributes back to format defined in PI spec after calling the ↵qwang122008-11-181-8/+36
| | | | | | Framework FV Protocol. This behavior is defined in PI spec. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6611 6f19259b-4bc3-4df7-8a09-765794883524
* ICC Cleanup: add enum typecast after arithemtics.qwang122008-11-181-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6588 6f19259b-4bc3-4df7-8a09-765794883524
* Add in MdeModulePkg.dec depedency as HiiLib is moved to MdeModulePkg.qwang122008-11-181-0/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6576 6f19259b-4bc3-4df7-8a09-765794883524
* Remove the unnecessary CONST.qwang122008-11-181-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6572 6f19259b-4bc3-4df7-8a09-765794883524
* Fix a typoqwang122008-11-181-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6568 6f19259b-4bc3-4df7-8a09-765794883524
* Add in parameter checking to pass UEFI HII SCT test.qwang122008-11-171-0/+18
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6567 6f19259b-4bc3-4df7-8a09-765794883524
* Update ASL build rule, Add PeiLibPciCfgModify into EDKII GlueLib ↵lgao42008-11-171-1/+1
| | | | | | PeiServiceLib to support the modules that uses EDKII Glue Lib git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6551 6f19259b-4bc3-4df7-8a09-765794883524
* Add dependency of MdeModulePkg since HiiLib has been moved to MdeModulePkg.qhuang82008-11-131-0/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6525 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up for GCC tool-chain.qwang122008-11-101-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6446 6f19259b-4bc3-4df7-8a09-765794883524
* clean up for IPF ICC tool chain.qwang122008-11-108-88/+14
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6445 6f19259b-4bc3-4df7-8a09-765794883524
* Remove 4 dead files.qwang122008-11-104-232/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6442 6f19259b-4bc3-4df7-8a09-765794883524
* Remove the unused include.qwang122008-11-101-1/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6441 6f19259b-4bc3-4df7-8a09-765794883524
* 1) Add in support for Framework VFR file which specify all VAR Store ↵qwang122008-11-1017-3378/+1233
| | | | | | | | | | | | | | | | correctly. This patch enable the ThunkExtractConfig and ThunkRounteConfig to handle more than one VAR Storage based on the VARSTORE ID specified. 2) Remove the unnecessary data structure defined for IFR Parser. 1) All data structure definition that have nothing to do with IFR Default value scanning ( required to implement Framework HII's GetDefaultImage ()) is removed. 2) Ignore the IFR opcode which is invalid for Form Package generated using Framework VFR file. 3) Remove unnecessary files. 4) Add in Doxygen function header for all functions. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6440 6f19259b-4bc3-4df7-8a09-765794883524
* Coding style and Doxygen update.qwang122008-11-051-10/+84
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6406 6f19259b-4bc3-4df7-8a09-765794883524
* Sync in bug fix from EDK I:qwang122008-11-046-15/+15
| | | | | | | | | | | 1) issue with setup browser and IFR refresh opcode 2) [HII]HIIConfigRoutingExportConfig generate error format of <MultiConfigAltResp> 3) [HII] ConfigRouting->ExtractConfig() will cause overflow 4) [Hii Database] EFI_HII_DATABASE_NOTIFY should be invoked when a string package is created internally when a new String Token is created 5) [PT]HIIConfigAccessProtocolTest fail on NT32uefi 6) Incorrect HII package types in EDK git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6379 6f19259b-4bc3-4df7-8a09-765794883524
* Update the comment.qwang122008-10-301-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6312 6f19259b-4bc3-4df7-8a09-765794883524
* Remove SafeFreePool from MemoryAllocationLib as this API's name is ↵qwang122008-10-308-43/+93
| | | | | | | | misleading. Its implementation only check if a pointer is NULL. If a garbage pointer is passed in, the gBS->FreePool will still ASSERT in debug build and return error code. It is recommended that module writer should keep track how a pointer is allocated and free it after use. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6307 6f19259b-4bc3-4df7-8a09-765794883524
* Base on PI spec, GetPeiServicesTablePointer is updated to return CONST ↵qwang122008-10-171-2/+2
| | | | | | EFI_PEI_SERVICES**. This is a incompatible changes. All file that reference this must be updated. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6131 6f19259b-4bc3-4df7-8a09-765794883524
* Fix a bug to locate the correct PPI.qwang122008-10-151-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6113 6f19259b-4bc3-4df7-8a09-765794883524
* Add an ASSERT to make sure this thunk module can only be used together with ↵qwang122008-09-242-0/+12
| | | | | | | | a PI PEI core, as we assume PeiServices Pointer Table can be located in a standard way defined in PI spec. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5955 6f19259b-4bc3-4df7-8a09-765794883524
* Add gEfiHiiFontProtocolGuid AND gEfiFormBrowser2ProtocolGuid into depex as ↵qwang122008-09-221-1/+2
| | | | | | they are quired for this module to work. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5945 6f19259b-4bc3-4df7-8a09-765794883524
* Correct CompareGuid function lgao42008-09-192-4/+4
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5933 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Correct CopyMem and CompareMem to CopyGuid and CompareGuid for GUID datalgao42008-09-183-6/+16
| | | | | | 2. Add the missing processor type in DataHubRecords/DataHubSubClassProcessor.h file. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5926 6f19259b-4bc3-4df7-8a09-765794883524
* Only generate the random GUID if a package list already exist in the database.qwang122008-09-161-8/+19
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5902 6f19259b-4bc3-4df7-8a09-765794883524
* Fix the build bugs for these three files.lgao42008-09-161-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5900 6f19259b-4bc3-4df7-8a09-765794883524
* Framework code may call PreparePacckage with NULL GUID and both IFR and ↵qwang122008-09-163-22/+110
| | | | | | | | | | | | | | | | | | | | | String Packages. PackageList = PreparePackages (2, NULL, IfrPack, StringPack); mHii->NewPack( mHii, PackageList, &HiiHandle ); Framework HII database make use of the formset GUID as ID to retrieve String using EFI_STATUS GetStringFromToken ( IN EFI_GUID *ProducerGuid, IN STRING_REF Token, OUT CHAR16 **String ) Update the code to cache the Formset GUID too. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5896 6f19259b-4bc3-4df7-8a09-765794883524
* Change the status code to EFI_NOT_FOUND for Framework Hii's GetGlyph if ↵qwang122008-09-121-5/+5
| | | | | | EFI_WARN_UNKNOWN_GLYPH is return from GetGlyph i.e. no matching font found and UNKNOWN glyph is returned. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5886 6f19259b-4bc3-4df7-8a09-765794883524
* Delete the unused PEIMs. EDK 2 PEI core now support this feature by ↵qwang122008-09-122-174/+0
| | | | | | gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkFvHobCompatibilitySupport. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5884 6f19259b-4bc3-4df7-8a09-765794883524
* Add in a temp fix to make UEFI HII SCT can pass with platform built with ↵qwang122008-09-051-12/+19
| | | | | | FrameworkHiiToUefiHiiThunk module. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5829 6f19259b-4bc3-4df7-8a09-765794883524
* Fix a bug.qwang122008-09-051-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5827 6f19259b-4bc3-4df7-8a09-765794883524
* 1) Fix a bug in ASSERT condition.qwang122008-09-052-1/+6
| | | | | | 2) Quit the browser when formset displayed is EFI_FRONT_PAGE_SUBCLASS or EFI_SINGLE_USE_SUBCLASS to comply with the Framework Browser behavior. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5826 6f19259b-4bc3-4df7-8a09-765794883524
* 1) Add a stringent check to make sure the package list for UpdateForm call ↵qwang122008-09-046-56/+81
| | | | | | | | | | | | must have IFR packages. 2) Fix a bug for Numeric Opcode creation. 3) Add AssignQuestionId to assign QuestionId to be a non-zero value always. 4) Add in Check in UefiRegisterPackageList to same package list to be registered for more than once. (Framework BDS has this behavior). 5) Fix a bug in HiiNewString git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5822 6f19259b-4bc3-4df7-8a09-765794883524
* clean up the un-suitable ';' location when declaring the functions. The ↵vanjeff2008-09-0414-184/+92
| | | | | | regular is ")[ ]++^p;" git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5821 6f19259b-4bc3-4df7-8a09-765794883524
* Remove unnecessary CONST.vanjeff2008-09-041-2/+2
| | | | | | . git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5808 6f19259b-4bc3-4df7-8a09-765794883524
* Update FrameworkHiiToUefiHiiThunk to produce Framework HII Protocol and ↵qwang122008-09-032-5/+6
| | | | | | Framework Setup Browser in new GUIDs. This is because the interfaces produced only handle IFR and String packages in UEFI format. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5801 6f19259b-4bc3-4df7-8a09-765794883524
* Save the type of OneOf question.qwang122008-09-021-1/+18
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5769 6f19259b-4bc3-4df7-8a09-765794883524
* 1) Remove the hard-code length before building FRAMEWORK_EFI_IFR_DATA_ARRAY.qwang122008-09-011-2/+42
| | | | | | 2) Support data type of EFI_IFR_TYPE_STRING when building FRAMEWORK_EFI_IFR_DATA_ARRAY. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5760 6f19259b-4bc3-4df7-8a09-765794883524
* Fix build warning by replace CompareGuid by CompareMemlgao42008-08-291-4/+4
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5756 6f19259b-4bc3-4df7-8a09-765794883524
* OptionMap->Guid may not align on UINT32 baundary.qwang122008-08-291-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5755 6f19259b-4bc3-4df7-8a09-765794883524
* GetNextMonotonicCount may not be available when GenerateRandomGuid is ↵qwang122008-08-291-11/+5
| | | | | | called. Add a static variable as a seed. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5752 6f19259b-4bc3-4df7-8a09-765794883524
* Fix a bug in UefiDefaultsToFwDefaults NULL should be returned if no Variable ↵qwang122008-08-231-2/+12
| | | | | | pack is found. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5719 6f19259b-4bc3-4df7-8a09-765794883524
* Use correct link list traverse functions.qwang122008-08-221-5/+3
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5713 6f19259b-4bc3-4df7-8a09-765794883524
* 1) Add in support to get only VarStoreId = 1 from Multiple VarStores.qwang122008-08-2113-154/+132
| | | | | | | | | | 2) Remove ThunkIfrSupportLib.h 3) Update some comments. 4) Add GetAttributesOfFirstFormSet to scan form package to read formset title, class info. 5) Clean up function related to package registration code. 6) Clean up RemovePackNotify git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5705 6f19259b-4bc3-4df7-8a09-765794883524
* 1) Add GetAttributesOfFirstFormSet to scan form package to read formset ↵qwang122008-08-213-166/+149
| | | | | | | | title, class info. 2) Clean up function related to package registration code. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5702 6f19259b-4bc3-4df7-8a09-765794883524
* 1) Add in fix to handle the case when a form is not related to a buffer storage.qwang122008-08-209-202/+285
| | | | | | 2) Allocate Hii Handle from a bitfield array so Framework Hii Handle can be recycled. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5700 6f19259b-4bc3-4df7-8a09-765794883524
* 1) Add in code to sync Browser Data with the NvMapOverride that may be ↵qwang122008-08-197-149/+290
| | | | | | | | | | updated by Framework Callback. 2) Convert lang code to RFC3066 format in Framework HII's GetSring and NewString 3) Make sure the default ThunkExtractConfig is able to save the data even if it is not present initially. 4) Enable Framework HII's HiiGetGlyph and HiiGlyphToBlt. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5689 6f19259b-4bc3-4df7-8a09-765794883524
* Bug fixes for FrameworkHiiToUefiHiiThunk;qwang122008-08-1819-1363/+2461
| | | | | | | | | | | | | | | | | | | | | 1) Update variable name to better names. 2) Change List Entry in all data structure to "Link". 3) Update to use proper list manipulation functions in BaseLib. 4) Add in more comments and clean up HiiNewString. 5) Clean up for HiiNewPack, HiiRemovePack and the notify functions. 6) Create better name such as GetPackageCount and AssignFrameworkHiiHandle 7) Clean up the InitializeHiiDatabase entry point. 8) Remove the confusing data field in the HII_THUNK_ENTRY HiiDatabase.h. 9) Add in cleanup code for DestoryThunkContext 10) Add in code to handle the save of browser data after invoke callback 11) Map the UEFI One Of Option code to Framework One Of Option code before calling Framework Callback. 12) Add in CreatePopUp support. 13) Add in SendForm support. 14) HiiGetPrimaryLanguages and HiiGetSecondaryLanguages should support language code in RFC639 format from Caller. Then, they should conver them to 3066 format before calling UEFI HII interfaces. 15) Make ResetStrings a NOP. 16) Remove the unnecessary dependency. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5659 6f19259b-4bc3-4df7-8a09-765794883524