Commit Graph

175 Commits

Author SHA1 Message Date
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