Commit Graph

467 Commits

Author SHA1 Message Date
lgao4 aa2ebe0fa9 Remove unnecessary FRAMEWORK_ prefix in IntelFrameworkPkg definitions for those definitions that don't conflict with ones in UEFI/PI specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8924 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13 09:28:09 +00:00
eric_tian 86c64631f0 remove the DEBUG_CODE_BEGIN and DEBUG_CODE_END due to the logic between them are not optional.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8913 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13 03:24:25 +00:00
mdkinney b4b9fbc40e Fix build break
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8886 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 18:16:26 +00:00
rsun3 904ac28c0e The FrameworkHiiOnUefiHiiThunk driver registers notification for creating/adding/removing string/form packages into the UEFI HII Database. The notification handler wants to parse the IFR binary data of the form package. However, the code assumes that a form package have a FORM SET OP and if not, it will assert. Remove assert and ignore form packages that can not be handled for error tolerant.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8874 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 10:13:04 +00:00
rsun3 ada3f18c41 Fix a bug in BuidHobGuidType() of PeiHobLib that it does not adjust the hob length to be multiple of 8. This does not follow the spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8873 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 10:03:46 +00:00
rsun3 2d63030254 Update FrameworkHiiOnUefiHiiThunk driver due to clean up of FrameworkHii.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8870 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 09:10:59 +00:00
lgao4 b3d8b21f62 Fix build break.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8863 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 07:57:34 +00:00
lgao4 5a353640c0 Add comments for the inconsistent definition with framework specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8799 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-08 03:41:52 +00:00
mdkinney 1ef3c7d747 Add #defines that were removed from IntelFrameworkPkg/Include/Protocol/FrameworkFormCallback.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8740 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-03 20:12:52 +00:00
lgao4 ac0f89ba97 Correct the code format.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8621 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-22 06:02:05 +00:00
pkandel bcbd52e57a Reviewed the description of ECP in the .dec file for clarity and completeness, and reviewed comments in the Compatibility/Include folder.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8599 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-18 10:52:29 +00:00
lgao4 6535652ebd Add directory for the new added Language Library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8417 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-01 06:46:03 +00:00
rsun3 f324bf4dbe Roll back changes to apply GetBestLanguage() in HiiDataBase. Exact language match should be used in HiiDatabase.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8384 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-26 03:48:50 +00:00
eric_tian f6839dd616 fix a typo of missing a colon sign after a label symbol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8339 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 01:58:40 +00:00
eric_tian dfbb47dbd5 fix a typo of missing a colon sign after a label symbol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8332 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19 05:50:53 +00:00
eric_tian b27af9d2c5 As ECP package is EDKI style, the AutoGen.h will not include anything. So if we use some basic data structures, we should manually include EdkIIGlueBase.h file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8330 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19 05:39:32 +00:00
eric_tian 78709ef8cf change the error usage of "#if __GNUC__" Condition Macro to "#if defined(__GNUC__)"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8328 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19 04:25:42 +00:00
eric_tian 34e4a9a651 cleanup the .S file to wrap all public symbols with ASM_PFX() macro,which is used to generate underscore prior to public symbol or not within various GCC distribution versions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8317 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-15 03:25:20 +00:00
mdkinney 78b993a8f9 Fix ICC build break properly
Update set of module types to include DXE_SMM and DXERUNTIME


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8281 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-10 18:35:35 +00:00
mdkinney 60ef642785 Fix ICC build break
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8280 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-09 18:09:41 +00:00
rsun3 7c9d25ae76 Refine language conversion in ECP. Create a new library LanguageLib providing functions for language conversion between ISO 639-2 and RFC 4646 styles. Update FrameworkHiiOnUefiHiiThunk, UcOnUc2Thunk and Uc2OnUcThunk modules to use this library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8258 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-08 01:51:35 +00:00
gikidy 8cf6dad8ab Replace references to RFC 3066 with RFC 4646.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8222 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30 07:01:55 +00:00
lgao4 54b44c4c57 HiiLib exports HiiCreateRawOpCode API
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8217 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30 05:58:55 +00:00
lgao4 27e87dab26 Update HiiGetBrowserData API
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8177 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-27 05:55:16 +00:00
lgao4 d32509c04c Remove unused IfrSupportLib header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8170 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-24 07:20:02 +00:00
eric_tian 14c6da21c6 update string function comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8157 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-23 07:23:37 +00:00
lgao4 81c1213cae RemoveRemove unused IfrSupportLib and ExtendedIfrSupportLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8137 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-20 08:33:24 +00:00
lgao4 a54205363c Update FrameworkHiiOnUefiHiiThunk to use new HII library.
And add the internal CreateRawOpCode API for the unsupported OpCode: String and Ref.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8136 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-20 08:14:08 +00:00
qhuang8 1e4371671b Save segment registers on stack in case the thunk code assembly calls CF9 soft reset and the x64 registers get cleared.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8124 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17 07:47:08 +00:00
rsun3 0f2685219d Retire HiiLibGetNextLanguage() API from HII Library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8109 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17 02:38:11 +00:00
jchen20 a45d161969 add comments for protocol/print.h and retire ReadOnlyVariableThunkPresent
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8107 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17 01:58:48 +00:00
rsun3 ad5a96ab2d Retire language conversion APIs from HII library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8104 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-16 08:46:28 +00:00
rsun3 887c077d91 Fix an issue that an assert occurrs if user inputs a password whose length is less than the minimum required length. The root cause is that under such case the Form Browser will pass a null string (string ID = 0) to the Config Access callback. The callback handler does not handle such case correctly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8103 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-16 07:02:42 +00:00
rsun3 cb7d01c0c9 HII Library Class interface refine.
The "HiiLib" prefix for all HII Library API function names changed to "Hii".

Remove: 
  HiiLibPreparePackageList(), replaced by HiiAddPackages()
  HiiLibNewString(), replaced by HiiSetString()
  HiiLibGetStringFromHandle(), replaced by HiiGetString()
  HiiLibGetStringFromToken(), replaced by HiiGetPackageString()
  HiiLibExtractGuidFromHiiHandle()
  HiiLibDevicePathToHiiHandle()
  HiiLibGetSupportedSecondaryLanguages()
  HiiLibGetSupportedLanguageNumber()
  HiiLibExportPackageLists()
  HiiLibListPackageLists()
  
Interface change:
  HiiAddPackages()
  HiiSetString()
  HiiGetString()
  HiiGetHiiHandles()

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8083 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-14 10:47:19 +00:00
lgao4 cdaf790547 Fix the conflicted function names to new HII library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8077 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-14 01:57:26 +00:00
lgao4 39e65b358e Add UefiHiiServicesLib library instance in every one DSC
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8068 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-13 06:12:27 +00:00
rsun3 647a768d85 Pass correct device path to uninstall the handle on which default config access protocol is installed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8044 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-09 07:23:22 +00:00
lgao4 6d931089df Produce the same HiiVendor device path for each Pack that causes Framework HII NewPack service can't be called more than once.
Fix this bug to produce the difference HiiVendor device path for each Pack to support framework HII NewPack service.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8041 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-09 05:03:21 +00:00
eric_tian 101361d996 updated to use the term “temporary memory” but not CAR
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8038 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-08 08:16:11 +00:00
rsun3 00683bf432 PeiLib uses PEI PCI CFG 2 PPI, so it depends on EdkFrameworkPpiLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8021 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-03 07:54:20 +00:00
rsun3 f6f910dd12 Retire Extended HII library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8011 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-02 08:48:03 +00:00
lgao4 62c236c065 Fix check error.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7996 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-01 03:04:24 +00:00
qhuang8 0b09813f57 Retire RFC_3066_ENTRY_SIZE definition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7966 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-27 03:24:58 +00:00
jji4 974a027175 Fix build break.
ISO_639_2_ENTRY_SIZE has been moved to be local.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7902 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-18 06:15:07 +00:00
klu2 78b719ae2e 1, Change name of PcdPlatformBootTimeoutDefault to PcdPlatformBootTimeout, now this PCD is *not* only hold default value of Bds timeout, but it is associated with a HII type PCD to hold persistent value for BDS timeout. Platform integrator will establish this mapping in platform DSC file.
2, Move PcdPlatformBootTimeout to IntelFrameworkModulePkg.
3, Remove BdsLibGetTimeout() interface from GenericBdsLib, because the PCD PcdPlatformBootTimeout will take care of persistent for time out value.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7724 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-27 01:49:34 +00:00
qhuang8 d14a393be2 Fix build break to remove over-include file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7627 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 02:55:57 +00:00
qhuang8 7e26c7e7c1 Fix build break: MdeModuleHii.h has been moved from MdeModulePkg/Include to MdeModulePkg/Include/Guid directory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7626 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 01:42:38 +00:00
klu2 c85640b2a1 1, Use #if defined() to judge the switching macro such as compiler macro.
Original, some code directly judge the value of these macros, but linux ICC compiler will report error as "zero used for undefined preprocessing identifier". So it is better judge whether these macros are defined before accessing their value.
2, Use #if defined() style to replace #ifdef style.
It is good to keep consistent style for this case.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7597 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 06:09:44 +00:00
qhuang8 4fe3ce8d5f Add print protocol GUID to EdkCompatibilityPkg.dec and add PrintThunk to EdkCompatibilityPkg.dsc for build validation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7585 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:26:37 +00:00
qhuang8 46d95f3244 Add PrintThunk driver, it depends on PrintLib on top of MdePkg:
1. If the library instance is BasePrintLib, it has no prerequisite to produce EDK print protocol
2. If the library instance mapping is DxePrintLibPrint2Protocol, it acts as PrintOnPrint2Thunk.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7584 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:25:36 +00:00