Commit Graph

422 Commits

Author SHA1 Message Date
vanjeff fbf172be37 Changing source filename to match name changing.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6026 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 05:43:22 +00:00
vanjeff d18156ec05 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6025 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 05:39:18 +00:00
vanjeff 82ed85bd1b Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6024 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 05:35:54 +00:00
vanjeff dd7881b21a Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6023 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 05:33:31 +00:00
vanjeff 40a0a41be5 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6022 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 05:30:36 +00:00
vanjeff b7d0300da3 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6021 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 05:30:09 +00:00
vanjeff e007e62763 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6020 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 05:29:43 +00:00
vanjeff e8f9a2b6bf Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6019 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 05:29:16 +00:00
vanjeff 175dd7a957 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6018 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 05:28:51 +00:00
vanjeff e2c05af969 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6017 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 05:28:23 +00:00
vanjeff 01f4360447 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6016 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 05:27:49 +00:00
vanjeff 02c4b87e93 remove unnecessary comments introduced by tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5987 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-25 06:51:16 +00:00
qwang12 ce7a12fba0 Revert back the change. For now, ECP only support build mode with EFI_SPECIFICATION_VERSION = 0x00020000 and PI_SPECIFICATION_VERSION = 0x00000009.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5959 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-24 07:00:59 +00:00
qwang12 9d5eaca403 Add an ASSERT to make sure this thunk module can only be used together with a PI PEI core, as we
assume PeiServices Pointer Table can be located in a standard way defined in PI spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5955 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-24 02:54:40 +00:00
lgao4 bdabfae78d Update EfiLibReportStatusCode in ECP EfiDriverLib and EfiRuntimeLib libraries to check uefi version in runtime not in build time.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5947 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-23 07:16:03 +00:00
qwang12 90d6d599d9 Add gEfiHiiFontProtocolGuid AND gEfiFormBrowser2ProtocolGuid into depex as they are quired for this module to work.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5945 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-22 10:37:05 +00:00
jljusten 84c3b71b18 edk2/EdkCompatibilityPkg/EdkCompatibilityPkg.dsc:
* Based on the Sept 11th (r5884) removal of
  EdkCompatibilityPkg/Compatibility/FvInfoToFvHobThunk, it no longer
  makes sense for this .inf to be referenced in this .dsc file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5935 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-19 22:34:57 +00:00
lgao4 5a58200d19 Correct CompareGuid function
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5933 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-19 09:26:18 +00:00
lgao4 66df253186 1. Correct CopyMem and CompareMem to CopyGuid and CompareGuid for GUID data
2. Add the missing processor type in DataHubRecords/DataHubSubClassProcessor.h file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5926 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-18 09:14:00 +00:00
lgao4 bab3f2d3ac Fix build error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5904 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-16 12:53:15 +00:00
qwang12 b436ed893b Only generate the random GUID if a package list already exist in the database.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5902 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-16 07:56:40 +00:00
lgao4 14085cf071 Fix the build bugs for these three files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5900 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-16 07:37:57 +00:00
qwang12 bc22641609 Framework code may call PreparePacckage with NULL GUID and both IFR and String Packages.
PackageList = PreparePackages (2, NULL, IfrPack, StringPack);

    mHii->NewPack( mHii, PackageList, &HiiHandle );

Framework HII database make use of the formset GUID as ID to retrieve String using 

EFI_STATUS
GetStringFromToken (
  IN  EFI_GUID                  *ProducerGuid,
  IN  STRING_REF                Token,
  OUT CHAR16                    **String
  )

Update the code to cache the Formset GUID too.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5896 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-16 06:47:08 +00:00
qhuang8 33629bba69 Fix the bug in GlueLib that we should depend on the gRT revision to use the proper report status code function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5889 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-12 07:54:40 +00:00
qwang12 bc3fc71a37 Change the status code to EFI_NOT_FOUND for Framework Hii's GetGlyph if EFI_WARN_UNKNOWN_GLYPH is return from GetGlyph i.e. no matching font found and UNKNOWN glyph is returned.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5886 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-12 03:01:01 +00:00
qwang12 1e52ce5da8 Delete the unused PEIMs. EDK 2 PEI core now support this feature by gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkFvHobCompatibilitySupport.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5884 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-12 01:56:56 +00:00
qwang12 36e90351bd Pass GCC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5875 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-11 06:54:24 +00:00
qwang12 2b589f71a7 // EFI_FORM_BROWSER_PROTOCOL_GUID has been changed from the one defined in Framework HII 0.92 as the
// Setup Browser protocol produced by HII Thunk Layer support the UEFI IFR and UEF String Package format.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5874 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-11 02:25:52 +00:00
qwang12 775bebc372 GCC clean.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5873 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-11 02:25:30 +00:00
qwang12 d4589db67b // EFI_HII_PROTOCOL_GUID has been changed from the one defined in Framework HII 0.92 as the
// Framework HII protocol produced by HII Thunk Layer support the UEF IFR and UEFI String Package
// format.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5872 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-11 02:23:31 +00:00
qhuang8 af1b10362d 1. Rename gRT in GlueLib to avoid collision with EfiDriverLib
2. Add the extra parameter of PciCfg in the new PeiLibPciCfgModify() to keep the parameter list the same as the PciCfg->Modify(). PciCfg is just a place holder.
3. Allow platform develop to set EDKII_GLUE_PciExpressBaseAddress value in build option.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5868 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-10 12:53:36 +00:00
qwang12 f38360fbf0 Add in a temp fix to make UEFI HII SCT can pass with platform built with FrameworkHiiToUefiHiiThunk module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5829 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-05 07:01:47 +00:00
qwang12 2755d4dd44 Fix a bug.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5827 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-05 01:53:53 +00:00
qwang12 fed39e580e 1) Fix a bug in ASSERT condition.
2) Quit the browser when formset displayed is EFI_FRONT_PAGE_SUBCLASS or EFI_SINGLE_USE_SUBCLASS to comply with the Framework Browser behavior.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5826 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-05 01:19:01 +00:00
qwang12 8ea58c0707 1) Add a stringent check to make sure the package list for UpdateForm call must have IFR packages.
2) Fix a bug for Numeric Opcode creation.
3) Add AssignQuestionId to assign QuestionId to be a non-zero value always.
4) Add in Check in UefiRegisterPackageList to same package list to be registered for more than once. (Framework BDS has this behavior).
5) Fix a bug in HiiNewString


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5822 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04 10:15:50 +00:00
vanjeff e00e1d4694 clean up the un-suitable ';' location when declaring the functions. The regular is ")[ ]++^p;"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5821 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04 09:44:58 +00:00
vanjeff 0e667e82c0 Remove unnecessary CONST.
.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5808 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04 03:17:26 +00:00
qwang12 962045a2ab Update FrameworkHiiToUefiHiiThunk to produce Framework HII Protocol and Framework Setup Browser in new GUIDs. This is because the interfaces produced only handle IFR and String packages in UEFI format.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5801 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03 10:47:00 +00:00
qwang12 59e87364cc Save the type of OneOf question.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5769 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-02 01:25:55 +00:00
qwang12 286f0de74c 1) Remove the hard-code length before building FRAMEWORK_EFI_IFR_DATA_ARRAY.
2) Support data type of EFI_IFR_TYPE_STRING when building FRAMEWORK_EFI_IFR_DATA_ARRAY.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5760 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-01 06:15:02 +00:00
lgao4 64bdb454f0 Fix build warning by replace CompareGuid by CompareMem
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5756 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-29 08:49:57 +00:00
qwang12 4406efb42b OptionMap->Guid may not align on UINT32 baundary.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5755 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-29 06:47:11 +00:00
qwang12 138f2f82d8 GetNextMonotonicCount may not be available when GenerateRandomGuid is called. Add a static variable as a seed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5752 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-29 01:53:37 +00:00
qwang12 21a54a4d0b Add .S file for X64 GCC tool-chain for Thunk16.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5751 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-28 15:08:59 +00:00
qwang12 b59923ae17 Add .S file for GCC tool-chain for EfiRuntimeLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5750 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-28 09:00:06 +00:00
qwang12 17b36c32d4 Add .S file for GCC tool-chain for PeiLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5749 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-28 08:44:32 +00:00
qwang12 f1694d2768 Add .S file for GCC tool-chain for EfiCommonLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5748 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-28 08:21:26 +00:00
qwang12 9a1ed79890 Add Cpu.S for X64 GCC tool-chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5739 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-27 13:49:54 +00:00
qwang12 7100c9d36f Add in Thunk16.S.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5732 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-26 10:22:08 +00:00
qwang12 7fd9ac0efb Add Fx.s
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5724 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-25 02:03:47 +00:00
qwang12 41d80e816a Add in SupportItpDebug.S.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5723 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-25 01:51:20 +00:00
qwang12 822a6944bc Add .S (for GCC) file for Pei/PeiLib/PeiLib_Edk2.inf.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5721 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-23 11:25:00 +00:00
qwang12 78d41186a5 Make EfiRuntimeLib pass GCC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5720 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-23 09:55:39 +00:00
qwang12 1e22d0b02c Fix a bug in UefiDefaultsToFwDefaults NULL should be returned if no Variable pack is found.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5719 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-23 09:37:32 +00:00
qwang12 4b79797eea 1) Cleanup for GCC and ICC tool-chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5718 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-23 09:31:51 +00:00
qwang12 8e35b68162 1) Make EfiCpuVersion.c pass ICC and GCC tool-chain
2) Add in CpuIA32Lib_Edk2.inf.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5717 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-23 08:38:20 +00:00
qwang12 a926396d18 1) add in CpuIA32Lib_Edk2.inf to allow CpuIa32 to be built under GCC tool-chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5716 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-23 07:36:54 +00:00
qwang12 4d145a2a3b Add in _Edk2.inf so that library can be build by GCC and ICC tool-chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5715 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-23 07:09:04 +00:00
qwang12 c1ea912c6c 1) add in EfiCommonLib_Edk2.inf which will allow EfiCommonLib to build understand GCC and ICC tool-chain.
2) Add in 3 .asm files for ICC tool-chain.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5714 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-23 06:48:07 +00:00
qwang12 b074cb3927 Use correct link list traverse functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5713 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-22 14:54:26 +00:00
qwang12 a3318eaf7a 1) Add in support to get only VarStoreId = 1 from Multiple VarStores.
2) Remove ThunkIfrSupportLib.h
3) Update some comments.
4) Add GetAttributesOfFirstFormSet to scan form package to read formset title, class info.
5) Clean up function related to package registration code.
6) Clean up RemovePackNotify

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5705 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-21 07:56:01 +00:00
qwang12 5993016597 1) Add GetAttributesOfFirstFormSet to scan form package to read formset title, class info.
2) Clean up function related to package registration code.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5702 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-21 02:33:00 +00:00
qwang12 d4775f2a4c 1) Add in fix to handle the case when a form is not related to a buffer storage.
2) Allocate Hii Handle from a bitfield array so Framework Hii Handle can be recycled.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5700 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-20 14:17:24 +00:00
qwang12 133a9dfb54 1) Add in code to sync Browser Data with the NvMapOverride that may be updated by Framework Callback.
2) Convert lang code to RFC3066 format in Framework HII's GetSring and NewString 
3) Make sure the default ThunkExtractConfig is able to save the data even if it is not present initially.
4) Enable Framework HII's HiiGetGlyph and HiiGlyphToBlt.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5689 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-19 10:44:50 +00:00
qwang12 0368663fd6 Bug fixes for FrameworkHiiToUefiHiiThunk;
1) Update variable name to better names.
2) Change List Entry in all data structure to "Link".
3) Update to use proper list manipulation functions in BaseLib.
4) Add in more comments and clean up HiiNewString.
5) Clean up for HiiNewPack, HiiRemovePack and the notify functions.
6) Create better name such as GetPackageCount and AssignFrameworkHiiHandle
7) Clean up the InitializeHiiDatabase entry point.
8) Remove the confusing data field in the HII_THUNK_ENTRY HiiDatabase.h.
9) Add in cleanup code for DestoryThunkContext
10) Add in code to handle the save of browser data after invoke callback 
11) Map the UEFI One Of Option code to Framework One Of Option code before calling Framework Callback.
12) Add in CreatePopUp support.
13) Add in SendForm support.
14) HiiGetPrimaryLanguages and HiiGetSecondaryLanguages should support language code in RFC639 format from Caller. Then, they should conver them to 3066 format before calling UEFI HII interfaces.
15) Make ResetStrings a NOP.
16) Remove the unnecessary dependency.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5659 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-18 05:56:23 +00:00
qwang12 0f77dfb622 Enhance the string formatting function to take "%p" to print pointer.
'p' - arugment is VOID *; printed as hex number

Example is :

  ASPrint (Buffer, 1024, "This is a %p\n", SystemTable);

  ASPrint (Buffer, 1024, "This is a %10p\n", SystemTable);


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5554 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-23 07:07:07 +00:00
qwang12 c69a09d928 Add in .S file for GCC tool-chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5542 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-22 01:55:31 +00:00
qwang12 34a6b78805 Inline ASM in .c file is specific to MS tool-chain. Other tool-chain (such as Intel compiler) may not support it. Add in .asm files to make these function to be built by Assembler so that they are avaliable too for other tool-chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5540 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-21 14:01:55 +00:00
qwang12 b962b6b54d Add in .S file for GCC tool-chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5537 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-21 10:03:20 +00:00
qwang12 a1cb16bd83 clean up for GCC tool-chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5536 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-21 09:57:43 +00:00
qwang12 0fb90682e7 Use ebp as frame buffer in DivU64x32. Fix a typo in GetPowerOfTwo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5532 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-21 05:57:04 +00:00
qwang12 478db76bbe Inline ASM in .c file is specific to MS tool-chain. Other tool-chain (such as Intel compiler) may not support it. Add in .asm files to make these function to be built by Assembler so that they are avaliable too for other tool-chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5529 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-21 01:49:04 +00:00
qwang12 22353b17c0 Fix a bug in Power10U64. Power10U64 should clean up the stack after calling MultU64x32. It also should load eax and edx with the initial value just in case it return directly when "Power" is zero.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5528 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-21 01:42:14 +00:00
vanjeff dee6b58df6 case UINTN to UINT32.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5457 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-14 02:26:07 +00:00
qhuang8 216cadbbd8 Add protocol several UEFI 2.1 protocol definitions so that some EDK 1.05 drivers can be built.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5439 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-09 10:24:16 +00:00
qhuang8 2419660827 Add change log since Edk r5418-5419 is somewhat not backward-compatible.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5420 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-08 07:21:46 +00:00
qhuang8 91b66c164a Some adjustment in ECP to make it compatible with EDK1.01(EDK1117) foundation in UEFI2.0+Framework0.9x build mode for silicon modules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5419 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-08 07:19:27 +00:00
qhuang8 d850121ecd Some adjustment in ECP to make it compatible with EDK1.01(EDK1117) foundation in UEFI2.0+Framework0.9x build mode for silicon modules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5418 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-08 07:08:54 +00:00
qhuang8 03284334ae Add protocol defintions for DriverConfiguration2, DriverDiagnostic2 & Unicode Collcation 2 definitions so that some EDK 1.05 drivers can be built.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5417 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-08 07:04:59 +00:00
qhuang8 4521252741 Remove unrecognized chars in comment in source file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5356 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-19 11:44:04 +00:00
qhuang8 ab496b4695 Remove unrecognized chars in comment in assembly file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5355 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-19 11:20:33 +00:00
qhuang8 fd0d281b3c Remove unrecognized chars in comment for all source C/h files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5354 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-19 11:15:44 +00:00
qwang12 d33ef4e7c6 1) Add in EBC build support.
2) Add FvInfoToFvHobThunk in the DSC file.
3) Remove EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/PeiLib.inf from [Components.Common] as it only support IA32, X64 and IPF for now.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5353 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-19 07:05:44 +00:00
qwang12 456f6922d3 Name the module based on the rule below
Thunk Module Name = (Produced)To(Consumed)Thunk

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5349 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-17 08:03:36 +00:00
qwang12 79c144086a Name the module based on the rule below
Thunk Module Name = (Produced)To(Consumed)Thunk

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5348 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-17 07:00:08 +00:00
qwang12 d00d0b12ac Rename the module based on the naming rule
Thunk Module Name = (Produced)To(Consumed)Thunk

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5347 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-17 06:56:36 +00:00
qwang12 b6b2bb74df add a comment about why gEfiPeiMemoryDiscoveredPpiGuid is used as dpx.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5346 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-17 06:15:06 +00:00
qwang12 b1a025efdb Add FvHobToFvInfoThunk.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5345 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-17 06:13:38 +00:00
qwang12 9161f07ce2 Remove unused include file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5344 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-17 06:12:19 +00:00
qwang12 07567c3c32 Add more comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5343 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-12 08:56:55 +00:00
qwang12 da3ce3d0ae remove reference to the obsolete EFI_LIGHT_ISA_IO_PROTOCOL. This protocol is introduced for size reduction. But later this method is obsoleted as EDK II use feature flags to conditional mask off some code. As EDK II core code does not produce this protocol so we remove all reference to this protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5340 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-11 05:26:24 +00:00
qwang12 f21c37708d install mReadOnlyVariableThunkPresent PPI to insure that only one ReadOnlyVariable thunk driver can be present in the platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5337 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-10 07:21:00 +00:00
qwang12 185be2e02b Change notification function to the correct protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5336 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-10 06:11:27 +00:00
qwang12 cd28997564 fix a typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5335 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-10 06:09:26 +00:00
qwang12 008a518953 change >> to RShiftU64 function call to avoid compiler to insert __aullshr intrinsic.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5332 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-05 06:31:24 +00:00
qwang12 137c54acda Install a Framework SetupBrowser protocol interface. But this interface will return EFI_UNSUPPORTED. This is to satisfy that some platform/chipset code may located this protocol but never invoke either of these two interfaces in the protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5331 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-05 06:19:12 +00:00
qwang12 2be3c94664 Update to doxygen comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5310 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-29 09:02:49 +00:00
qwang12 001d920c76 1) Add in FvFileLoaderToLoadFileThunk.
2) Update some doxygen comments.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5309 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-29 08:50:42 +00:00
qwang12 67ef3cad3b 1) add in DeviceIoToPciRootBridgeIoThunk
2) Change BaseMemoryLib instance to BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf so that we can verify the IPF build for Compatibility modules.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5308 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-29 07:12:06 +00:00
qwang12 6ea838c360 Layer AllocateBuffer and FreeBuffer on the PciRootBridgeIo too.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5307 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-29 06:22:28 +00:00
qwang12 fd4ae73375 add in DeviceIoToPciRootBridgeIoThunk.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5306 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-28 09:11:50 +00:00
jljusten b233cbe5cc edk2/EdkCompatibilityPkg/Foundation/Protocol/Performance/Performance.h:
Change type for PdbFileName to CHAR8 from UINT8 since it is a string.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5301 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-27 03:18:10 +00:00
jljusten b562e7f509 edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiIfrSupportLib/IfrOpCodeCreation.c
Match casting for LocalBuffer with the same type that it was declared with.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5300 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-27 03:15:43 +00:00
jljusten ff8dd84a08 edk2/EdkCompatibilityPkg/Foundation/Efi/Include/EfiTypes.h:
Merge from edk2/MdePkg/Include/*/ProcessorBind.h.
  Needed for better compatibility with GCC.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5299 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-27 02:56:24 +00:00
jljusten 10d315bc80 edk2/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib
Include/EdkIIGlueDxe.h
 Library/EdkDxeRuntimeDriverLib/Common/RuntimeLib.c
 Library/EdkDxeRuntimeDriverLib/Common/RuntimeService.c
  Fix include filenames for GCC/Linux.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5298 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-27 02:24:49 +00:00
jljusten 8ad319e5c1 edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/(Ia32|X64)/*.S:
Fix to support building with GCC and ECP's EdkIIGlueLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5294 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-26 21:59:52 +00:00
jljusten 297c148b7a edk2/EdkCompatibilityPkg/Foundation/Include/(Ia32|X64)/EfiBind.h:
Merge from MdePkg/Include/(Ia32|x64)/ProcessorBind.h
  for GCC support.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5293 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-26 21:55:35 +00:00
jljusten b96b676f11 edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/Handle.c:
Resolve warning on GCC compiler.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5290 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-26 06:16:59 +00:00
jljusten ee3f13d539 edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseMemoryLib/BaseMemoryLib.inf:
Match filename case for files under the X64 directory. (x64 => X64)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5289 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-26 06:12:49 +00:00
qhuang8 3149b37794 Use EDK library macro for EDK library function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5285 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-23 05:42:44 +00:00
qwang12 1668bd49c9 1) Add BufToHexString, HexStringToBuf and IsHexDigit to BaseLib.
2) Remove the duplicated functions implementation  from the modules that reference these APIs 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5284 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-23 05:31:39 +00:00
jljusten bfe03264cb edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiMemoryAllocationLib/MemoryAllocationLib.c:
Merge from edk2\MdePkg\Library\PeiMemoryAllocationLib\MemoryAllocationLib.c
  to achieve better support for additional compilers.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5280 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-22 23:46:47 +00:00
jljusten bd2d157b9d edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseMemoryLib/*:
Merge from edk2/MdePkg/Library/BaseMemoryLib and
  edk2/MdePkg/Library/BaseMemoryLibRepStr to achieve better
  support for additional compilers.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5279 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-22 23:42:13 +00:00
jljusten 3f8f7fa5ba edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/*:
Merge from edk2/MdePkg/Library/BaseLib to achieve better
  support for additional compilers.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5278 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-22 23:37:38 +00:00
jljusten e2955fba07 Merge from edk2/MdePkg/Library/BaseIoLibIntrinsic to achieve better
support for additional compilers.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5277 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-22 23:33:19 +00:00
jljusten 8e98644530 edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/ReportStatusCode.c:
Fix warning from Intel Compiler.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5276 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-22 23:29:56 +00:00
jljusten d04f2a1fb7 edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseMemoryLib/X64/CopyMem.asm:
Merge fix from r3913:
    "Fix bug in backward copy for x64"

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5275 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-22 23:27:44 +00:00
jljusten b9b478088b edk2/EdkCompatibilityPkg/Foundation/Include/Ia32/EfiBind.h:
Add Intel Compiler fixes similar to r5123
  edk2/EdkCompatibilityPkg/Foundation/Include/X64/EfiBind.h.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5274 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-22 23:24:08 +00:00
jljusten 221781879c edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Common/EdkIIGlueDefinitionChangesPeim.h:
Remove duplicate definition of EFI_PEI_CPU_IO_PPI.
  Previous definition was in 
  edk2\EdkCompatibilityPkg\Foundation\Framework\Include\PeiApi.h

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5273 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-22 23:20:30 +00:00
jljusten e68757dee8 edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/EdkIIGlueBase.h:
Similar to previous change in TianoBind.h in r5123
  for the Intel compiler.
  Include <EfiBind.h> instead of "EfiBind.h", or
  for some reason __STDC_VERSION__ is not defined.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5272 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-22 19:05:40 +00:00
qwang12 16bdc87336 Add compatibility modules into the DSC file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5264 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 07:58:18 +00:00
qwang12 766dca7fa0 Fix a bug and update comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5262 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 07:25:07 +00:00
qwang12 0004d1401e Update the comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5261 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 07:24:14 +00:00
qwang12 1e55f6a46b 1) Change Framework version of PeiServiceTable's PciCfg from PEI_PCI_CFG_PPI to ECP_PEI_PCI_CFG_PPI. This help to detect if user is calling PeiServiceTable->PciCfg->Modify in a PI platform. Modify between Framework spec and PI spec is not compatible.
2) Add ECP_PEI_PCI_CFG_PPI to EdkFrameworkPpiLib
3) Add PeiLibPciCfgModify which call PciCfg2. This function will used by modified Framework Module which will be working with a PI platform.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5260 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 07:21:30 +00:00
qwang12 cd66067cf7 Update package dependency.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5234 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-20 09:17:45 +00:00
qwang12 f73d6a720a Update package dependency.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5233 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-20 09:16:54 +00:00
qwang12 4e17db14a0 Update comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5232 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-20 09:16:08 +00:00
qwang12 c98d6f4728 1) Add in Doxygen comment.
2) Update package dependency list.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5231 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-20 09:15:21 +00:00
qwang12 cc5c33d779 1) Make Compatibility/Include the public include directory.
2) Add two PPI 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5229 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-20 09:12:25 +00:00
qwang12 14de5ad421 1) Make Compatibility/Include the public include directory.
2) Add two PPI into dec file

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5228 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-20 09:10:18 +00:00
qwang12 d79eed91e3 Update doxygen comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5227 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-20 07:52:50 +00:00
qwang12 a432c703fe Add UcToUc2Thunk
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5225 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-20 01:41:25 +00:00
qwang12 29ec49a58a 1) Fix a bug in UC2_PRIVATE_DATA_FROM_THIS
2) Fix a typo

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5224 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-20 01:40:17 +00:00
qwang12 03e6b4b213 Add in Uc2ToUcThunk module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5222 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-19 09:37:05 +00:00
qwang12 6c45955b04 Update the file header comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5220 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-19 02:42:39 +00:00
qwang12 c8eb679ca9 1) Update the file headers
2) Make sure ReadOnlyVariableToReadOnlyVariable2Thunk and ReadOnlyVariable2ToReadOnlyVariableThunk are not included in the platform at the same time.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5219 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-19 02:40:45 +00:00
qwang12 ec3d17dcef Update the file header comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5218 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-19 01:48:54 +00:00
qwang12 0d6945396d Update Comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5215 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-16 09:45:41 +00:00
qwang12 3e5b452743 1) Update comments.
2) Remove reference to ">>" as it cause the generated code to link with other libraries.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5214 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-16 09:45:09 +00:00
qwang12 d7152a15f5 Make the module GCC clean.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5213 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-16 09:43:38 +00:00
qwang12 bcf79fc866 1) Add Doxygen Comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5207 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-15 09:17:46 +00:00
qwang12 1a6cdbd9c5 1) Add Doxygen Comments
2) Add some ASSERTs to assist debug.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5206 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-15 09:14:36 +00:00
qwang12 57cbd269f0 Update MapUefiHiiHandles to return EFI_SUCCESS if there is no packages registered in UEFI HII database.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5202 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-14 09:19:06 +00:00
qwang12 b47694b968 1) Use 0xFFEE as the VarId the reason is as follows:
// VARSTORE ID of 0 for Buffer Storage Type Storage is reserved in UEFI IFR form. But VARSTORE ID
// 0 in Framework IFR is the default VarStore ID for storage without explicit declaration. So we have
// to reseved 0xFFEE in UEFI VARSTORE ID to represetn default storage id in Framework IFR.
// Framework VFR has to be ported or pre-processed to change the default VARSTORE to a VARSTORE
// with ID equal to 0xFFEE.

2) Update some comments

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5201 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-14 08:18:48 +00:00
lgao4 dc2e539a34 Assert() break point default is DEADLOOP().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5188 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-09 06:30:03 +00:00
qwang12 63dd6a961c 1) Fix a bug. Before this fix, a Module that calling UEFI HII Interface to get the String Information will fail to locate the Package List based on a Package GUID if a required String Pack is registered using Framework HII NewPack instance.
2) Correct a few other minor issues.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5185 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-08 08:57:58 +00:00
qwang12 6f33781141 Re-enable ExtractDataFromHiiHandle and FindHiiHandle. The Framework to HII Thunk layer has enable these two functions to be called by the module that written against Framework HII spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5176 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-07 09:02:59 +00:00
qwang12 ea58467bf7 Add in supports for platform Setup module which is programmed using Framework HII interface.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5175 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-07 08:49:04 +00:00
qwang12 c64feb92ef Fix a bug which cause the thunk code failed to handle creation of "One Of" and "Ordered List" UEFI opcode from Framework counterparts.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5156 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-30 15:51:00 +00:00
vanjeff 22f5582e62 fixed bug for special case.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5154 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-30 07:30:25 +00:00
qwang12 f274810c8d Add in code to support the deletion of opcode from a form.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5153 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-30 06:35:24 +00:00
qwang12 5391c4f160 Add support to map more Framework Opcode (such as OrderedList, OneOf, etc) to Uefi Opcode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5152 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-30 03:20:10 +00:00
qwang12 46b5ebc877 For UNI file, some String may not be defined for a language. This has been true for a lot of platform code. For this case, EFI_NOT_FOUND will be returned. To allow the old code to be run without porting, we don't assert on EFI_NOT_FOUND. The missing String will be declared if user select differnt languages for the platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5149 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-29 07:06:10 +00:00
jljusten 4cb43192bd Fix various warnings with the Intel C compiler.
EfiBind.h:
* Adding ignores for certain warnings with the Intel C compiler.
  (Partially merged from MdePkg.)

EfiPxe.h:
* Make sure PXE_NO_UINT64_SUPPORT is defined

Decompress.c:
* Removed 'unreachable' return statement.

EdkCompatibilityPkg/**: (all other files)
* Remove trailing comma from last value in enum.
* Include <EfiBind.h> instead of "EfiBind.h", or
  for some reason __STDC_VERSION__ is not defined.
* Introduce more explicit function call ordering by
  storing results in local variables before using
  in a calculation.
* Add some additional casting for BOOLEAN & UINT8
  following calculations which change the type to 'int'.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5123 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-24 16:21:53 +00:00
qwang12 59336178ac 1) Add in IfrParser so that the FrameworkHii->GetDefaultImage can scan UEFI IFR opcodes and get the default value embedded in the IFR.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5119 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-24 07:08:46 +00:00
qwang12 f62c116eba add in data type cast to ensure stringent compilers are happy.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5086 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-17 13:54:29 +00:00
qwang12 76a21f7ce8 Add in Macro named SUPPORT_DEPRECATED_IFRSUPPORTLIB_API to comment out the functions that will be not be supported by EdkCompatibilityPka's FrameworkHiiToUefiHiiThunk module. We choose not to support these function as they are not commonly used by modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5084 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-17 13:39:39 +00:00
qwang12 6d9a6cf062 Add the filed FormValue to Framework's EFI_HII_UPDATE_DATA. This change keeps the definition of EFI_HII_UPDATE_DATA to be the same between EdkCompatibilityPkg and EDK II's IntelFrameworkPkg. HII 0.92 has this definition the field.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5083 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-17 13:32:24 +00:00
qwang12 99a83b4c44 Add in Thunking function for Dynamic Code creation. Only support Text and Subtitle for now).
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5082 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-17 13:28:36 +00:00
lgao4 90d44b32f4 Add EFI_D_INFO and EFI_D_WARN to the default print level.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5080 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-17 09:56:05 +00:00
qwang12 3711f8f842 (((EFI_IFR_FORM_SET *) OpCodeData)->Guid) may not align properly on UINT32 boundary.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5072 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-16 10:31:46 +00:00
qwang12 0915f6dce4 Change to CopyMem as VarStoreOpCode->Guid may align on UINT32.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5070 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-16 09:10:23 +00:00
qwang12 ebbd27939f Add in some features for the thunk layer:
1) Handle Framework HII callback
2) Install default Config Access protocol for each IFR form package registered.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5069 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-16 07:36:51 +00:00
qwang12 ee3428bb58 Add in thunk support for HiiGetSecondaryLanguages and HiiGetPrimaryLanguages
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5064 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-14 06:57:09 +00:00
jljusten e1a09a0eaa Remove ambiguous auto-increment usage. (gcc warning)
(This code change is in sync with BaseTools TianoCompress code.)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5057 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-11 23:31:48 +00:00
jljusten 02d99367c7 Remove empty typedefs (gcc warning).
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5056 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-11 23:24:29 +00:00
jljusten 3e71187c5c Remove duplicate definition of TPM_CHOSENID_HASH.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5055 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-11 23:22:23 +00:00
jljusten 5f7d6886ad Remove duplicate definition of PEI_MASTER_BOOT_MODE_PPI.
This definition would not have belonged in this file in the first place.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5054 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-11 23:21:15 +00:00
jljusten d196f44fdc Remove duplicate definition of EFI_REPORT_STATUS_CODE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5053 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-11 23:18:07 +00:00
jljusten c69e4df4de Fix filename case: Autoscan => AutoScan
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5052 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-11 22:53:33 +00:00
jljusten 188de60294 Fix filename case: Autoscan => AutoScan
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5051 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-11 22:51:34 +00:00
jljusten d054c2124e Fix filename case: Autoscan => AutoScan
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5050 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-11 22:50:35 +00:00
jljusten b347a45368 Fix filename case: Autoscan => AutoScan
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5049 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-11 22:50:20 +00:00
jljusten af3d020122 Fix case: Autoscan => AutoScan
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5048 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-11 22:48:24 +00:00
jljusten bfc620ff6a edk2/trunk/edk2/EdkCompatibilityPkg/EdkCompatibilityPkg.dsc:
Remove EdkCompatibilityPkg/Sample/Library/Dxe/WinNt/WinNtLib.inf module.

  EdkCompatibilityPkg should not require on 'edksetup --nt32' to build.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5047 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-11 22:21:07 +00:00
jljusten 0dbeedde34 Fixed several include filename issues for gcc+unix.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5046 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-11 20:24:11 +00:00
jljusten db13e3c00b edk2/EdkCompatibilityPkg/Foundation/Efi/Include/EfiTypes.h:
UNALIGNED is already defined by including 'windows.h' in the
  EdkCompatibilityPkg/Sample/Library/Dxe/WinNt/WinNtLib.inf module.

  For X64/IPF, the definition (via windows.h) is not blank (as
  it is here).  Therefore, a 're-definition' warning is generated.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5045 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-11 18:08:38 +00:00
jljusten d729895f71 edk2/EdkCompatibilityPkg/EdkCompatibilityPkg.dsc:
Corrected mistake in r4995.  Should have used 'INTEL' rather than 'ICC'.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4996 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-05 00:08:21 +00:00
jljusten 0da6ca458a edk2/EdkCompatibilityPkg/EdkCompatibilityPkg.dsc:
Add macro definitions for ICC toolchain.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4995 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-04 23:39:06 +00:00
qwang12 4259256b48 Fix a type in the directory name. Compatiblity -> Compatibility.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4994 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-03 10:36:52 +00:00
qwang12 a8bf2e5a3c Fix a type in the directory name. Compatiblity -> Compatibility.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4993 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-03 10:09:36 +00:00
qwang12 14246993c8 Add in FrameworkHiiToUefiHiiThunk module.
For now, it support these Framework HII protocol interfaces, more will be added:
1) NewPack
2) RemovePack
3) NewString
4) GetString

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4991 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-03 09:59:39 +00:00
mdkinney a69a84d3cb Add compatibility modules for Firmware Volume, PCI CFG, and Read Only Variable
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4984 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-03 00:03:04 +00:00
jwang36 4965dd562e Removed one include path which doesn't exist
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4980 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-02 08:09:41 +00:00
qhuang8 621dd7652c Add the value definition of PCD_EDKII_GLUE_PciExpressBaseAddress to build PciExpressLib in GlueLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4970 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-29 05:04:17 +00:00
qhuang8 57d40fe2af GCC cleanup for all EDK I DXE libraries.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4969 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-29 04:46:03 +00:00
qhuang8 37eba21723 Remove forward declaration.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4968 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-29 04:44:55 +00:00
qhuang8 6a7c450c1e Skip the progma for GCC tool chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4967 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-29 04:44:43 +00:00
qhuang8 6425868fc8 Remove the invalid build option for IPF assembly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4966 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-28 12:28:06 +00:00
qhuang8 b4e547b691 Add newline at the end of file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4965 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-28 12:21:35 +00:00
qhuang8 7ccf38a33e Update Guid Value format.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4964 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-28 12:00:46 +00:00
qhuang8 4c5d09830b Add a work around Dummy.c file to avoid autogen error to GCC tool chain family.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4963 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-28 11:51:43 +00:00
qhuang8 7794baccd1 Update BuildOption to apply to GCC tool chain family.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4962 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-28 11:50:37 +00:00
qhuang8 dfbe72bd4a Add Change Log file for some non-backward compatible changes in ECP.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4961 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-27 05:14:27 +00:00
qhuang8 204529a3a0 Remove the default value 0xE0000000 of EDKII_GLUE_PciExpressBaseAddress.
It requires platform DSC file to specify it explicitly in their DSC file to avoid runtime issue.
Unlike the other default value of PCD in GlueLib, this value does not work for all all platforms. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4960 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-27 04:49:40 +00:00
qhuang8 d1d1603e20 Rename PeiServicesLocatePpi to PeiServicesLocatePpi.
(Do not use macro function to avoid macro expansion error.)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4959 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-27 04:45:38 +00:00
qhuang8 193f8db47b Rename BuildFvHob() & ScanGuid() in GlueLib to avoid naming collision in PeiLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4958 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-27 04:44:06 +00:00
qhuang8 74386eaab3 Add the missing Capsule.h for potential reference.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4957 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-27 04:41:06 +00:00
qhuang8 f22d031914 Add EfiDriverLib to the [libraries] for the reference of EfiStrLen(), EfiAsciiStrLen(). This will prevent unresolved extern when EDK I module is built with GlueLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4956 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-27 04:39:51 +00:00
qhuang8 12cb2d9625 Change the device type of MEDIA_FV_DP & MEDIA_FV_FILEPATH_DP to align with the definition in MdePkg, which is updated in r4632
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4955 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-27 04:34:57 +00:00