Commit Graph

71 Commits

Author SHA1 Message Date
Gary Lin 9011cfbe55 EdkCompatibilityPkg: Fix the typo in the comment
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
2016-06-27 11:18:48 +08:00
Hao Wu de03a27409 EdkCompatibilityPkg: Remove gZeroGuid def in FrameworkHiiOnUefiHiiThunk
MdeModulePkg has defined gZeroGuid in 'Guid/ZeroGuid.h', therefore, the
gZeroGuid defined in Compatibility/FrameworkHiiOnUefiHiiThunk is
redundent.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17846 6f19259b-4bc3-4df7-8a09-765794883524
2015-07-07 03:05:18 +00:00
Ruiyu Ni fb44db736b EdkCompatibilityPkg: Use the new PCDs defined in MdePkg.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17316 6f19259b-4bc3-4df7-8a09-765794883524
2015-05-06 03:24:35 +00:00
Eric Dong b5f8b5b03d Refine code to make it more safely.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15595 6f19259b-4bc3-4df7-8a09-765794883524
2014-06-26 03:16:27 +00:00
Tian, Hot 2b53e39435 Fix CRLF format
Signed-off-by: Tian, Hot <hot.tian@intel.com>


git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15172 6f19259b-4bc3-4df7-8a09-765794883524
2014-01-23 05:27:14 +00:00
ydong10 f01b91ae42 Fixed build failed.
Signed-off-by: Eric Dong <eric.dong@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13406 6f19259b-4bc3-4df7-8a09-765794883524
2012-05-31 08:35:48 +00:00
ydong10 bf4a3dbd47 Add new interface GetVariable2 and GetEfiGlobalVariable2 to return more info. Also replace old interface with new one.
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13375 6f19259b-4bc3-4df7-8a09-765794883524
2012-05-30 07:36:00 +00:00
ydong10 7412cb4d91 Enhance the logic when extract data from storage.
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13301 6f19259b-4bc3-4df7-8a09-765794883524
2012-05-10 08:00:22 +00:00
ydong10 57ad9d43b1 Add more check to avoid access violation.
Signed-off-by: ydong10
Reviewed-by: lgao4

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12470 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-29 01:10:20 +00:00
lgao4 27e36f23bf Clean up the private GUID definition in module Level.
Signed-off-by: lgao4

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12386 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-20 02:15:00 +00:00
lzeng14 4f0779023c String Reference Cleanup.
Signed-off-by: lzeng14
Reviewed-by: lgao4

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11762 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-08 05:53:18 +00:00
ydong10 d664f8a25c Refine all R9 call back function to return EFI_UNSUPPORTED for all unsupported call back type.
Signed-off-by:  ydong10
Reviewed-by: lgao4


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11680 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-20 01:28:17 +00:00
ydong10 33b71404f0 Update inf file to follow spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11453 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-30 03:38:50 +00:00
lgao4 cccdc95f79 Correct Comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10984 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-28 02:44:00 +00:00
ydong10 52fb4d3d13 Refine some code to make code run safely.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10873 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-13 10:46:02 +00:00
ydong10 e009609938 Refine some code to make the code run safely.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10863 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-10 01:04:00 +00:00
hhtian 584d565227 Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10419 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-24 09:48:54 +00:00
lgao4 983ae8cee2 Add the correct check for the return value before use them.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10396 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-22 02:59:29 +00:00
lgao4 eebe3bb831 Fix a issue to support the callback related to framework IFR REF opcode. Its callback type is EFI_IFR_TYPE_UNDEFINED according to the latest UEFI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10241 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-14 07:09:37 +00:00
lgao4 61a2420125 Support Framework IFR SELECT OP code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10240 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-14 07:07:46 +00:00
lgao4 59aefb7e0d Update HiiConfigAccess.ExtractConfig interface to support NULL request string and ConfigHdr request string.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10180 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-04 06:48:52 +00:00
lgao4 de558d9dfe Fix non-boolean comparison expression.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10165 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-03 05:40:19 +00:00
lgao4 8c5983b739 Add the missing check for NULL pointer before use it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10140 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-01 07:56:48 +00:00
lgao4 26a76fbcb2 Update code to match EDKII coding style.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10130 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-01 03:26:19 +00:00
lgao4 771ececd12 Add the missing check for NULL pointer before use it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10116 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-27 09:04:11 +00:00
klu2 b6624796ab Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10083 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-25 17:10:19 +00:00
lgao4 234980f6e9 Add more check to avoid code enter into wrong state.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10068 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-25 10:08:54 +00:00
lgao4 6a8241983d Add new HII FormMap Opcode support
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10065 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-25 03:10:54 +00:00
lgao4 6bfbb5f0e0 1. Correct File header to ## @file
2. Remove unnecessary .common] postfix on section.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10052 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-24 00:21:16 +00:00
lgao4 548dda8f74 Support Name/Value Storage in UEFI2.1 HII driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9976 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-11 02:31:18 +00:00
lgao4 995c594047 Correct BlockSize when call ConfigToBlock API.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9953 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-09 06:29:37 +00:00
rsun3 d2f9134515 Fix a bug in HII thunk that ThunkCallback does not support callback for a text tag with interactive flag in a Framework form.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9895 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-01 04:06:24 +00:00
lgao4 6d207823bf Only check the unsupported IFR opcode for framework HII form package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9659 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-31 10:36:54 +00:00
lgao4 880ea0e223 Ignore UEFI OPEN/CLOSE Action for FrameworkCallback
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9427 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-13 10:05:52 +00:00
lgao4 43ffc47f9c Enhance HiiThunkGetString to handle the case that PlatformLanguage is not set.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9408 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-11 05:19:30 +00:00
vanjeff 1910fbaf70 clean up non-English characters.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9335 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-10 03:32:25 +00:00
qhuang8 341515e026 Rename the structure name EFI_IFR_EQ_ID_LIST to EFI_IFR_EQ_ID_VALUE_LIST
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9290 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-21 14:17:12 +00:00
lgao4 3032f54962 Correct EFI_IFR_RESET_BUTTON from question to statement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9245 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-08 04:31:46 +00:00
lgao4 b6c72071c0 Fill all EFI_IFR_DATA_ARRAY fields before call FormCallBack function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8982 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-23 09:27:17 +00:00
lgao4 fe82e4ce72 Remove unused local variable to fix build break.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8962 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-17 04:44:46 +00:00
lgao4 e0e51f622a Remove the auto conversion for the first varstore name to "Setup".
And fix a bug that return status is not set.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8949 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-15 06:57:39 +00:00
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
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 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 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
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
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