Commit Graph

727 Commits

Author SHA1 Message Date
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
rsun3 bade9bf5b2 Fix the bug that SMM Base Protocol.Communicate() does not work.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10067 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-25 09:23:44 +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 2cc3055dd9 Correct Copyright year format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10053 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-24 01:41:56 +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
mdkinney e906eae4a5 Add [depex] on gEfiMpServiceProtocolGuid so the number of CPUs is known
Add [depex] on gEfiSmmCpuIo2Protocol so we know that the SMM CPU I/O 2 Protocol in the PI SMST is valid


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10037 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-21 20:56:40 +00:00
mdkinney f5501a6512 Change RegisterProtocolNotify for dependent protocols to [Depex] expression
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10036 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-21 20:55:00 +00:00
mdkinney 27af6f9d0a Use Memory Allocation Library instance for modules of type DXE_SMM_DRIVER
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10015 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-16 04:07:39 +00:00
mdkinney 75196b0d80 Add Memory Allocation Library instance for modules of type DXE_SMM_DRIVER
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10007 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-14 06:29:47 +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
rsun3 fb03ca1a3e Per Framework SMM CIS spec, SMM Base Protocol.Communicate() is availabe in runtime. In SmmBaseOnSmmBase2Thunk driver, implementation of Communicate() uses SMM Communication Protocol. The thunk driver caches a pointer to SMM Communication Protocol. This pointer needs to be converted on Virtual Address Change Event.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9966 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-10 08:30:51 +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
lgao4 5b19df7ffa Add the missing BDS license header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9950 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-08 09:48:29 +00:00
erictian d60c5b3127 remove unreasonable package dependency relationship.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9929 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-04 09:17:15 +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
mdkinney a7932d9a1a Clean up module to use SMM CPU Save State Protocol definitions from IntelFrameworkPkg instead of duplicating definitions in this module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9843 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-27 23:11:00 +00:00
jchen20 ba9978cff2 fix the typo error for the name of BootScriptSaveOnS3SaveStateThunk thunk driver
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9813 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-26 01:15:26 +00:00
jchen20 2f73ba81f9 fix the typo error for the name of BootScriptSaveOnS3SaveStateThunk thunk driver
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9812 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-26 01:09:32 +00:00
jchen20 52cbe44918 Add BootScriptSaveOnS3SaveStateTunk thunk driver to Integrated S3 thunk code. .
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9808 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-25 09:31:22 +00:00
lgao4 6e0d639a2a update copyright to 2010
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9704 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-09 07:39:45 +00:00
lgao4 152f6a095e Make EdkCompatibilityPkg pass IPF build with WINDKK tool chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9703 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-09 07:37:42 +00:00
rsun3 17d2c9a3af Coding style fix.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9689 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-07 13:43:40 +00:00
rsun3 f76edcfd29 Fix bugs in SmmBaseHelper driver.
1. Should use sizeof(EFI_SMM_CPU_SAVE_STATE) instead of sizeof (EFI_SMI_CPU_SAVE_STATE) to allocate buffer for CpuSaveState in Framework SMST;
2. The type of Width parameter for ReadSaveState() and WriteSaveState() functions of SMM CPU Protocol is UINTN instead of an enumeration type.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9678 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-05 09:28:48 +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
rsun3 d338a721cb Remove dependency on include file in package outside of EKD2.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9658 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-31 09:07:19 +00:00
rsun3 9e62071910 Add 4 Framework/PI SMM thunk drivers. Combined use of these drivers can support usage model of PI SMM infrastructure + Framework Chipset SMM code + Framework platform SMM code in ECP platforms.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9657 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-31 08:42:28 +00:00
klu2 cde6425513 Rename DataHubSmBiosRecordsOnPiSmBiosThunk to PiSmbiosRecordOnDataHubSmbiosRecordThunk to avoid confusion. This thunk is used to filter all smbios related records from datahub and translate these records to SMBIOS record which is added into SMBIOS database via EFI_SMBIOS_PROTOCOL.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9646 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-30 06:42:12 +00:00
klu2 bd1a4d1800 Fix some typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9620 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-28 05:39:55 +00:00
klu2 024b10295d Add a thunk driver to translate framework DataHub's smbios related record to PI SMBIOS's record via EFI_SMBIOS_PROTOCOL defined in PI 1.2 specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9619 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-28 05:03:49 +00:00
vanjeff 5429e0034f replaced EFI_HOB_TYPE_LOAD_PEIM with EFI_HOB_TYPE_LOAD_PEIM_UNUSED
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9614 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-25 08:10:43 +00:00
xli24 8a1dc102d9 Make MP Services thunk driver only be built under IA32 and X64 archs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9567 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-16 02:51:09 +00:00
rsun3 5d36285da8 Fix a PeiServices pointer checking error bug in EfiCommonLib in ECP.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9564 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-15 08:50:58 +00:00
xli24 768e2a903b Check in thunk driver to produce PI MP Services Protocol based on Framework MP Services Protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9563 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-15 03:00:49 +00:00
xli24 54bd807967 Check in thunk driver for CPU I/O 2 Protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9523 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-07 03:12:13 +00:00
AJFISH 1afe0401f4 Fixes for ARM build in the EdkCompatibilityPkg and a couple of Xcode fixes for MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9520 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-06 02:01:54 +00:00
xli24 650efd74fc Thunk driver producing PI Legacy Region 2 Protocol based on Framework Legacy Region Protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9484 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-25 08:33:31 +00:00
xdu2 df8d0595dc Update function description to be consistent with code definition: HEX_RADIX => RADIX_HEX.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9434 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-17 01:46:51 +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
tye f25c99b103 1. Update EFI_IP4_MODE_DATA: add MaxPacketSize to this structure to comply with UEFI 2.3 specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9414 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-11 07:06:57 +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
qhuang8 4c913fe619 Change the GUID value of FVB to be that of FVB2 in PI 1.2 spec. this will force FVB drivers built through the ECP to produce the PI 1.2 FVB2 Protocol GUID
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9396 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-09 05:13:14 +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
AJFISH e8de46808a Fixed issues compiling for Apple gcc on IA-32
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9310 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-24 21:48:45 +00:00
qhuang8 8a7bae20e1 Remove unnecessary -D flag for GNU assemblers. This flag should have no effect.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9304 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-22 09:55:30 +00:00
rsun3 82dae5efb3 Fix bug that home addresses for register parameters must be allocated for calling C function from X64 assembly code to follow x64 calling convention.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9303 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-22 09:19:59 +00:00
qhuang8 b374d62a11 Update MEDIA_RELATIVE_OFFSET_RANGE_DEVICE_PATH in ECP to align with MdePkg definition for ECP shell to work correctly on EDKII platforms.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9291 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-21 14:19:20 +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
htao af2cfce391 Add RHSA (remapping hardware static Affinity) structure definition according to VT-d spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9271 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-16 09:44:55 +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
qhuang8 86345de537 Update to remove .intel_syntax directives to improve portability since it is not supported by all GCC assembliers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9165 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-20 09:38:23 +00:00
qhuang8 f315cfa5b7 Remove unnecessary .align directory and change .align directory to .p2align to avoid ambiguous.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9163 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-20 09:00:33 +00:00
qhuang8 d82018184e Remove unnecessary .align directives.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9161 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-20 08:39:01 +00:00
qhuang8 b341712e31 Update to make end-of-line consistent for all source files in MdePkg. There are no other updates besides that change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9160 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-20 08:19:39 +00:00
eric_tian c113cd3272 redefine the ASM_PFX to let it can work on Apple/NetBSD and other Unix* platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9074 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-14 09:41:23 +00:00
vanjeff 409aeeecc4 update EdkCompatibilityPkg version to 0.90
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9022 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-30 03:45:56 +00:00
vanjeff 99f6759411 Enhanced BMP file security check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9010 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-27 02:23:19 +00:00
eric_tian ac10c72782 if module doesn't explicitly depend on specific Pci spec, it should include IndustryStandard/Pci.h rather than Pcixxx.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8999 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 06:20:09 +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
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
qhuang8 45a3634cb9 Add Print.h, an EDKII public include file for thunk driver
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7583 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:23:43 +00:00
klu2 058bf46eef Use #ifdef but not #if for compiler macros.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7535 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-17 06:12:14 +00:00
jcarsey b518ea4e87 fixed typo
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7515 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-12 22:45:34 +00:00
qwang12 4798ea5b2a 1) Replace IA32API with EFIAPI to standardise the calling convention.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7499 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-11 05:50:37 +00:00
xli24 b2ba1c1e2b Add comments in DSC files to explain the function and design of components section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7488 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-10 08:55:56 +00:00
qwang12 092d6a181f 1) Add an example in EdkCompatibilityPkg.dsc to show how the compatibility build switch is turned on for Framework HII modules.
2) Add the incompatibility changes in ChangeLog.txt.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7384 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-01 09:39:43 +00:00
xli24 59a7e4f4bd For ECP, disable ICC's remark #869: "Parameter" was never referenced warning.
This is legal ANSI C code so we disable the remark that is turned on with -Wall 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7383 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-01 09:23:46 +00:00
mdkinney 1831d0e9ca Split out Synchronization Library from Base Library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7375 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-30 00:38:37 +00:00
qwang12 f67cc2c229 Update the DSC file name based on the directory name change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7342 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:21:50 +00:00
qwang12 a0e221ae23 Update the INF file name based on the directory name change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7341 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:17:15 +00:00
qwang12 b650f5041f Update the INF file name based on the directory name change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7340 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:16:47 +00:00
qwang12 1127174f67 Update the INF file name based on the directory name change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7339 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:15:55 +00:00
qwang12 7bd045975f Update the INF file name based on the directory name change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7338 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:14:55 +00:00
qwang12 08e409cbae Update the INF file name based on the directory name change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7337 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:14:04 +00:00
qwang12 9d006d26b9 Update the INF file name based on the directory name change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7336 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:13:20 +00:00
qwang12 0978682740 Update the INF file name based on the directory name change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7335 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:12:54 +00:00
qwang12 8460a812c2 Update the INF file name based on the directory name change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7334 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:12:30 +00:00
qwang12 b11dcd84fa Update the INF file name based on the directory name change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7333 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:12:07 +00:00
qwang12 dcb6a8bf71 Update the INF file based on the change to direcotry and file name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7332 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:10:55 +00:00
qwang12 5c6926d4cd Update the INF file based on the change to direcotry and file name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7331 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:09:58 +00:00
qwang12 f275c91cca Update the INF file based on the change to direcotry and file name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7330 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:09:30 +00:00
qwang12 186bc15553 Rename module name from ***To*** to ***On***. AAAOnBBB means this module produce AAA Protocol/PPI based on BBB. This change improves the readability.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7329 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 09:48:54 +00:00
qwang12 4c9c0f719d Rename module name from ***To*** to ***On***. AAAOnBBB means this module produce AAA Protocol/PPI based on BBB. This change improves the readability.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7328 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 09:47:43 +00:00
qhuang8 9fa98a8f58 Add change log for some new definitions. They are backward compatible.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7288 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-15 10:03:51 +00:00
qhuang8 1e39deb2e2 Add Load File 2 Protocol and MEDIA_RELATIVE_OFFSET_RANGE_DEVICE_PATH definition to build newest shell source.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7286 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-15 09:57:19 +00:00
qwang12 b7771eaac8 Revert OUTPUT_DIRECTORY to Build/EdkCompatibilityPkg. Build tool is enhanced to handle long path name issue which cause build failure in GCC tool chains
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7178 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-04 09:12:47 +00:00
qwang12 667ced8d53 Upgrade both PACKAGE_VERSION and PLATFORM_VERSION to 0.5 as major function has been implemented including:
1) Verification with EDK style Chipset and Platform modules
2) Verification with EDK II cores + Compatibility Modules + EDK style Chipset and Platform modules.
3) Package level build Verification for these build combinations:
   1) EFI_SPECIFICATION_VERSION=0x00020000 and PI_SPECIFICATION_VERSION=0x00009000
   2) EFI_SPECIFICATION_VERSION=0x00020000 and PI_SPECIFICATION_VERSION=0x00010000
   3) EFI_SPECIFICATION_VERSION=0x0002000A and PI_SPECIFICATION_VERSION=0x00010000

No major incompatible changes. Please check ChangeLog.txt for details.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7128 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-26 03:15:47 +00:00
qwang12 679242bef0 Only define MEDIA_FW_VOL_FILEPATH_DEVICE_PATH for EFI_SPECIFICATION_VERSION <= 0x00020000. When EFI_SPECIFICATION_VERSION > 0x00020000, this definition is defined at EdkCompatibilityPkg\Foundation\Efi\Include\EfiDevicePath.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7123 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-25 11:36:45 +00:00
qwang12 0ecc0cb07c Update the OUTPUT_DIRECTORY name. This is to shorten the possbile command line which may cause a sub-process spawned from the ar command to fail for GCC tool chains.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7075 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-18 06:13:41 +00:00
qwang12 a235abd2c9 Following UEFI spec to do auto booting after a time-out. This feature is implemented
in Framework Setup Browser and moved to MdeModulePkg/Universal/BdsDxe. The auto booting is
moved here in HII Thunk module. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7062 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-17 06:41:02 +00:00
qhuang8 a3a83173fe Clean up to update the reference of the these macros:
EFI_SIGNATURE_16 -> SIGNATURE_16
  EFI_SIGNATURE_32 -> SIGNATURE_32
  EFI_SIGNATURE_64 -> SIGNATURE_64
  EFI_FIELD_OFFSET -> OFFSET_OF
  EFI_MAX_BIT      -> MAX_BIT
  EFI_MAX_ADDRESS  -> MAX_ADDRESS
These macros are not defined in UEFI spec. It makes more sense to use the equivalent macros in Base.h to avoid alias.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7054 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-16 15:32:50 +00:00
qwang12 dee207ee01 1) Keep the original Varstore Name when replacing it with L"Setup" to allow Framework HII module get variable which is saved by UEFI Setup Browser.
2) Fix a bug in UefiDefaultsToFwDefaults to correctly update the VariablePackList on output.



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7045 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-16 13:09:12 +00:00
qwang12 73d1dcbb46 Add in code to convert the Default VarStore name to be L"Setup" based on Framework HII's assumption.
VARSTORE ID of 0 for Buffer Storage Type Storage is defined as invalid in UEFI 2.1 HII. VARSTORE ID
0 is the default VarStore ID for storage without explicit declaration in Framework HII 0.92. EDK II UEFI VFR compiler
in compatible mode will assign 0x0001 as UEFI VARSTORE ID to this default storage id in Framework VFR without
VARSTORE declaration.

In addition, the Name of Default VarStore is assumed to be L"Setup" for those storage without explicit VARSTORE declaration in the formset
by Framework HII. EDK II UEFI VFR compiler in compatible mode hard-coded L"Setup" as VARSTORE name.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7040 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-16 05:27:24 +00:00
xli24 f51aea9bb1 Use correct capitalization for include path.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6893 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-07 16:57:10 +00:00
qwang12 bb4af2926a IPF GCC tool-chain cleanup.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6891 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-06 04:14:01 +00:00
qwang12 90eff00547 update comment
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6848 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 13:35:03 +00:00
qwang12 d8444a2766 1) GCC Clean up.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6847 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 13:32:35 +00:00
gikidy 9e21d6d026 Change function IpfFlushCacheRange() to AsmFlushCacheRange() follow the Mde_Lib_Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6835 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 06:56:34 +00:00
qwang12 2b534a7c09 Fix a bug of not initialize Private->PciRootBridgeIo correctly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6832 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 06:13:53 +00:00
xli24 9fd4915feb Use .radix directive that GCC assembly supports.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6830 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 06:06:00 +00:00
qwang12 8138a06bf7 a statement ".radix D" which cause build break for *NIX IPF tool-chain. This is temperarily comment out. This .s file will be reimplemented to follow EDKII's MdePkg's BaseLib's IPF instruction flush code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6829 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 05:24:43 +00:00
gikidy 97f201c47e Follow the Mde_Lib_Spec to fix the function PeCoffLoaderUnloadImage() IN/OUT issue about definition and implementation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6827 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 02:04:19 +00:00
qwang12 d87a4d5757 UNIX GCC cleanup: file name is case sensitive.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6824 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 01:32:07 +00:00
qwang12 aa274d2a3a 1) Add in EcpEfiBreakPoint and EcpMemoryFence which will be defined as EFI_BREAKPOINT and MEMORY_FENCE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6820 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03 13:53:50 +00:00
qwang12 81c56b8d1a Unix GCC cleanup:
File name is case sensitive.
Foward slash is used.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6819 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03 13:50:50 +00:00
qwang12 f90eb36c15 1) Add in EcpEfiBreakPoint and EcpMemoryFence which will be defined as EFI_BREAKPOINT and MEMORY_FENCE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6806 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-02 14:35:15 +00:00
qwang12 03254710db 1) Fix a bug of DefaultVarStoreId of the Form Set should be used when Framework IfrSupportLib create new opcode.
2) Remove the unnecessary OpcodeCreation.h 
3) Update the doxygen function header.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6787 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 07:16:55 +00:00
qwang12 168da756c6 Fixed a error although Math.c is not built include for building.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6785 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 02:39:49 +00:00
qwang12 0fc1f8f234 GCC Cleanup: Files name should match the case in the file system.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6784 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 02:38:31 +00:00
qwang12 6bc3c115ba GCC cleanup: forward slash used.o
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6783 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 02:32:20 +00:00
qwang12 6800062768 Move GlueLib's PeiPerformanceLib and DxePerformanceLib to [Components.IA32,Components.X64] and [Libraries.IA32,Libraries.X64] as the ECP implementation use AsmReadTsc () function (IA32/X64 only).
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6779 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-29 09:09:03 +00:00
qwang12 ba428fb4ed Add CompilerStubLib_Edk2.inf which is built by EDK II tool chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6778 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-29 07:38:29 +00:00
qwang12 d437caa0fa Add CompilerStubLib_Edk2.inf which is built by EDK II tool chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6777 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-29 07:37:49 +00:00
qwang12 bc4c047f7b 1) Revert the original CompilerStubLib.inf which will be built by EDK tool chain. CompilerStubLib_Edk2.inf is the one that should be built by EDK II tool chain.
2) Revert the memcpy.c and memset.c. We use CompilerStubLib_Edk2.inf to switch the file combinations that are built under differnt tool-chains.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6776 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-29 07:36:43 +00:00
qwang12 48a59ce09a Update the entry point function's prototype.
Add Doxygen function header.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6769 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-28 01:21:54 +00:00
qwang12 bad2ca8ed0 Update the entry point function's prototype.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6768 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-28 01:21:29 +00:00
xli24 88b6bcec9d Clean ECP for build failure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6760 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 07:58:15 +00:00
qwang12 e24d48ac46 1) Initialize return value for UefiOp for all execution path.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6748 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 02:43:22 +00:00
qwang12 5990ace9f5 ICC IA32 Cleanup.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6746 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 02:22:59 +00:00
qwang12 cec4aed1a9 GCC/ICC Cleanup.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6743 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 02:05:01 +00:00
qwang12 35d297c7ac PI defines the architectural way to get PeiServicesTablePointer from sizeof (UINTN) bytes before the IDT table base. Add the runtime detection of PI version so that Mm7 Library instance is usable under PI 1.0 system.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6739 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 11:28:02 +00:00
qwang12 b6228a086f add ULL suffix to Long Long number.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6738 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 11:27:06 +00:00
qwang12 1aaf8feb94 add ULL suffix to PEI_SERVICES_SIGNATURE
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6737 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 11:25:34 +00:00
qwang12 3321fa09f0 1) Add in SharingStringPack to make UpdateString only create/update string token in the String Packages that shares String Package with each other. For a String Token to be updated in a Package, TagGUID must be the same and SharingStringPack need to be true too.
If a package list has both String Package and Form Package registered, the Create/Update of String Token will only be done in this Package List.
2) Add in Doxygen Function headers.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6736 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 11:02:31 +00:00
qwang12 70d72ba978 1) StrGather (Build.exe) in compatible mode add a Framework Package Header 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
2008-11-21 15:07:50 +00:00
qwang12 cae5044b4a GCC Build Clean: Add doxygen comment and fix build break issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6647 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-20 06:27:17 +00:00
qwang12 19caab516d 1) Covert the FvAttributes back to format defined in Framework spec after 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
2008-11-18 14:20:01 +00:00
qwang12 9e99ce325a Covert the FvAttributes back to format defined in PI spec after calling the 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
2008-11-18 14:18:25 +00:00
qwang12 6d8f3e5d57 EBC Cleanup: BaseIoLibIntrinsic is only supported for IA32, IPF, X64
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6610 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 13:55:17 +00:00
qwang12 73396ac275 EBC Cleanup: _break is already defined in EdkCompatibilityPkg\Foundation\Include\Ebc\EfiBind.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6609 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 13:53:57 +00:00
qwang12 9a737ffeab Remove unused comment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6605 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 10:04:51 +00:00
qwang12 9836611611 1) Change the EFI_SPECIFICATION_VERSION to 0x00020000 and PI_SPECIFICATION_VERSION to 0x00009000. EdkCompatibilityPkg.dsc by default support UEFI 2.0 and Framework 0.9x.
2) Replace using these EDK 2 style INF file so that EdkCompatibilityPkg.dsc can be built under GCC, ICC and MSFT tool-chain.
EfiCommonLib_Edk2.inf
EfiRuntimeLib_Edk2.inf
Thunk16Lib_Edk2.inf
PeiLib_Edk2.inf
CpuIA32Lib_Edk2.inf

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6604 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 10:03:39 +00:00
qwang12 a7875fb808 ICC Cleanup.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6603 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 09:58:36 +00:00
qwang12 1bfbd131fa ICC Cleanup:
#if __INTEL_COMPILER

//
// Disable the extra ";" warning;
// All places referencing EFI_GUID_STRING MACRO will generate this error.
//
#pragma warning ( disable : 424 )

//
// error #593: variable "Status" was set but never used
// This error may be flagged if a function only do ASSERT on return status when 
// EFI_DEBUG is not defined (EDK's ASSERT will be defined as empty statement).
// To make EdkCompatibilityPkg buildable by ICC with EFI_DEBUG undefined, disable
// this warning.
//
#pragma warning ( disable : 593 )

//
// Disable ICC's remark #869: "Parameter" was never referenced warning.
// This is legal ANSI C code so we disable the remark that is turned on with -Wall
//
#pragma warning ( disable : 869 )

//
// Disable ICC's remark #1418: external function definition with no prior declaration.
// This is legal ANSI C code so we disable the remark that is turned on with /W4
//
#pragma warning ( disable : 1418 )

//
// Disable ICC's remark #1419: external declaration in primary source file
// This is legal ANSI C code so we disable the remark that is turned on with /W4
//
#pragma warning ( disable : 1419 )

#endif

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6602 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 09:57:59 +00:00
qwang12 78d9194775 ICC cleanup: Add in (CONST EFI_PEI_SERVICES **)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6601 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 09:56:50 +00:00
qwang12 71f633dd05 ICC cleanup: Add in (CONST EFI_PEI_SERVICES **)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6600 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 09:56:38 +00:00
qwang12 89f048160a ICC cleanup: add EFI_PEI_TRANSFER_CONTROL_SET_JUMP and EFI_PEI_TRANSFER_CONTROL_LONG_JUMP data cast.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6599 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 09:56:27 +00:00
qwang12 ec5ed91eef ICC cleanup: Add in (CONST EFI_PEI_SERVICES **)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6598 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 09:52:43 +00:00
qwang12 16bd006b23 ICC cleanup: #undef previously defined _DEBUG.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6597 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 09:52:11 +00:00
qwang12 e70330e0e3 Bug Fix: Define CPU_STACK_ALIGNMENT for each ARCH.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6596 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 09:50:35 +00:00
qwang12 d9ef3b7dc4 GCC Cleanup: UINT8_MAX is defined already in standard header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6594 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 08:33:30 +00:00
qwang12 6b6f745214 ICC Cleanup: add data typecast after arithemtics.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6593 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 08:12:25 +00:00
qwang12 c44a5016b3 ICC Cleanup: Remove the unnecessary ',' in the last enum.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6592 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 08:11:23 +00:00
qwang12 0d37437d28 GCC Cleanup: Define EFI_BREAKPOINT for GCC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6591 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 08:10:49 +00:00
qwang12 b8773e24c6 GCC Cleanup: Remove the duplicated typedef and include the header files instead.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6590 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 08:09:40 +00:00
qwang12 e2be78c1f6 GCC Cleanup: Remove the duplicated #define.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6589 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 08:09:13 +00:00
qwang12 e16c7fa32b ICC Cleanup: add enum typecast after arithemtics.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6588 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 08:08:54 +00:00
qwang12 aeef1b2b84 GCC Cleanup: GUID initializer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6587 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 08:07:19 +00:00
qwang12 a6c42ad9b4 ICC Cleanup: add (UINT8 *) typecast.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6586 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 08:05:32 +00:00
qwang12 1ebee49324 ICC Cleanup: add (VOID **) typecast.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6585 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 08:04:39 +00:00
qwang12 d24d32ddf8 ICC Cleanup: add (VOID **) typecast.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6584 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 08:03:58 +00:00
qwang12 70d18ad141 ICC Cleanup: Remove the unnecessary ',' in the last enum.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6583 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 08:03:05 +00:00
qwang12 e1aa561d76 ICC Cleanup: Remove the unnecessary ',' in the last enum.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6582 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 08:02:51 +00:00
qwang12 193942bb21 GCC Cleanup: Remove unused typedef.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6581 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 08:02:02 +00:00
qwang12 0e80e8f112 GCC Cleanup: Remove unused typedef.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6580 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 08:01:47 +00:00
qwang12 717656c782 ICC Cleanup.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6579 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 08:01:05 +00:00
qwang12 af257d5087 GCC Cleanup: Add () to (EFI_D_ERROR|EFI_D_INFO) pass GCC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6578 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 07:59:24 +00:00
qwang12 fa41279feb GCC Cleanup: Use a commenting style that pass GCC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6577 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 07:52:37 +00:00
qwang12 1e0b8cec7e Add in MdeModulePkg.dec depedency as HiiLib is moved to MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6576 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 07:50:50 +00:00
qwang12 4bf858328e Remove the unnecessary CONST.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6572 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 06:22:02 +00:00
qwang12 1731b949f8 Fix a typo
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6568 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 01:12:28 +00:00
qwang12 6a179dcaee Add in parameter checking to pass UEFI HII SCT test.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6567 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-17 14:30:47 +00:00
lgao4 64cd21af35 Update ASL build rule, Add PeiLibPciCfgModify into EDKII GlueLib 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
2008-11-17 02:12:36 +00:00
qhuang8 d485acdd05 Update ECP DSC file for library class/instances renaming.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6530 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 09:36:05 +00:00
qhuang8 d93d27c26e Add dependency of MdeModulePkg since HiiLib has been moved to MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6525 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 09:23:44 +00:00
qwang12 6f4ee195af EFI Specification extension on Media Device Path. MEDIA_FW_VOL_FILEPATH_DEVICE_PATH is adopted by UEFI later and added in UEFI2.10.
In EdkCompatibility Package, we only support MEDIA_FW_VOL_FILEPATH_DEVICE_PATH that complies with EFI 1.10 and UEFI 2.10.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6462 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-11 22:42:28 +00:00
qwang12 a8d048d54d ECP_PEI_PCI_CFG_PPI should be passed to ECP_PEI_PCI_CFG_PPI's function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6453 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-11 09:14:14 +00:00
qhuang8 dd4a462dcb Revert previous check in. ECP is only supposed to support UEFI 2.0.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6450 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-11 07:43:45 +00:00
qhuang8 c9c0c803ec Do not use statically macros of EFI_SPECIFICATION_VERSION: Use gST->Hdr.Revision to judge the use of UEFI 2.0 services or EFI 1.0 services
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6448 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-11 04:22:00 +00:00
qwang12 725c7e2257 Clean up for GCC tool-chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6446 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-10 13:31:37 +00:00
qwang12 98b16b9dad clean up for IPF ICC tool chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6445 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-10 13:27:09 +00:00
qwang12 814b5c403e Remove 4 dead files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6442 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-10 12:49:05 +00:00
qwang12 3a51df1380 Remove the unused include.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6441 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-10 12:47:21 +00:00
qwang12 a9d853203d 1) Add in support for Framework VFR file which specify all VAR Store 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
2008-11-10 12:40:07 +00:00
qwang12 a16d259b86 Coding style and Doxygen update.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6406 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-05 11:59:01 +00:00
qwang12 4dd76ade7d Sync in bug fix from EDK I:
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
2008-11-04 14:47:21 +00:00
qwang12 8630d2ddf1 Update the comment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6312 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30 15:19:52 +00:00
qwang12 7001eaf8e5 Remove SafeFreePool from MemoryAllocationLib as this API's name is 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
2008-10-30 08:00:56 +00:00
xli24 5a6f122d13 Modify DSC file according to update of MDE library instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6229 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-25 16:31:23 +00:00
qwang12 79ec0fac43 Base on PI spec, GetPeiServicesTablePointer is updated to return CONST 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
2008-10-17 08:53:52 +00:00
lgao4 43cefa3419 Minor update for EfiVariable.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6115 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-15 04:21:40 +00:00
qwang12 c30050f5bb Fix a bug to locate the correct PPI.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6113 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-15 02:44:29 +00:00
vanjeff b8e2922b58 Correct the filename.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6074 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-06 01:43:21 +00:00
eric_tian 7792722626 change "\" sign to "/" sign that is comply with INF spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6053 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-28 01:48:06 +00:00
vanjeff 766f1ff550 Changing source filename to match name changing.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6049 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:48:28 +00:00
vanjeff 26fb47271a Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6048 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:44:57 +00:00
vanjeff 144594fae7 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6047 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:44:30 +00:00
vanjeff 1cd5081676 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6046 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:44:01 +00:00
vanjeff d9697eefe6 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6045 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:41:28 +00:00
vanjeff d9e5f7f9fc Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6044 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:40:17 +00:00
vanjeff 9d25a75f72 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6043 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:38:57 +00:00
vanjeff 32f9f963fe Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6042 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:38:37 +00:00
vanjeff 17a10e4168 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6041 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:37:34 +00:00
vanjeff d3dc3f827d Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6040 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:37:09 +00:00
vanjeff 691e587fbc Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6039 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:35:43 +00:00
vanjeff 53631e5429 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6038 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:35:19 +00:00
vanjeff 89d2171369 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6037 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:33:34 +00:00
vanjeff 1f7dded1f7 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6036 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:33:12 +00:00
vanjeff e11ddda66b Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6035 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:30:57 +00:00
vanjeff 73595a14e1 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6034 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:30:37 +00:00