Commit Graph

454 Commits

Author SHA1 Message Date
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
vanjeff 578673010e Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6033 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:30:09 +00:00
vanjeff af8ba869fe Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6032 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:29:39 +00:00
vanjeff caf69a0f3c Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6031 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:28:51 +00:00
vanjeff b57f380865 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6030 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:28:31 +00:00
vanjeff 0fe1be7955 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6029 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:25:28 +00:00
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