summaryrefslogtreecommitdiff
path: root/MdePkg/Library
AgeCommit message (Collapse)AuthorFilesLines
2006-06-231) Add in support to traverse taken spaceqwang123-54/+228
2) Remove unused import in DynamicTokenValue.java. 3) Support Byte Stream input for Pointer type Dynamic PCD entry in FPD file. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@616 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-22In before, FixedPcdGetxx macro was defined as global variable, it is wrong. ↵klu23-8/+8
It should be defined as value directly, and module developer can use it to define length of array. 1) Change macro FixedPcdGetxx to value macro. 2) Change some wrong macro usage in library. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@598 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-221. UINTN & INTN issue for EBC architecture:qhuang869-987/+986
The MAX_BIT of EBC will no longer be fixed to bit 63. It is defined as (1ULL << (sizeof (INTN) * 8 - 1)). Make EdkModulePkg & MdePkg EBC compiler clean: treat all EFI_STATUS error code as variable. 2. PrintLib Complete all missing ASSERT()s. Fix “\n” & “%\n” issue thanks to the clarification of MWG 0.56d. Adjust StatusString array to support EBC build. 3. BaseMemoryLib Adjust ASSERT () & function header of ComparaMem, SetMemXX, ScanMemXX to synchronize with MWG 0.56d. 4.SmbusLib Change Pec bit to bit 22 SmBusAddress to synchronize MWG 0.56d. Add ASSERT()s to check if length is illegal for SmBusBlockWrite() & SmBusProcessBlock() since it is 6 bit now. 5. PerformanceLib Rename “EdkDxePerformanceLib” & “EdkPeiPerformanceLib” to “DxePerformanceLib” & “PeiPerformanceLib” respectively. Synchronize the function header of GetPerformanceMeasurement() with MWG 0.56d. 6. BasePeCoffLoaderLib. Make PeCoffLoaderLoadImage () Assert() if ImageContext is NULL> Make PeCoffLoaderLoadImage () return RETURN_INVALID_PARAMETER if the ImageAddress in ImageContext is 0. Adjust some coding style. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@593 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-20Removebbahnsen4-564/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@578 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-20Use capital S for GCC assembly. This enables pre-processing for PCD support.bbahnsen130-0/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@576 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-201. Fixed bug for WriteUnaligned24() in Unaligned.c of BaseLibvanjeff12-214/+228
2. Added assert() for AsmFxRestore() in x86LowLevel.c of BaseLib 3. Added assert() for LongJump() in LongJump.c of BaseLib 4. Changed parameter type of Value from "IN" to "IN OUT" for InterLockedComparedExchanged32/64/pointer() functions to sync with MWG-0.55a 5. Changed functions header of all BitField functions of BaseLib, BaseIoLibIntrinsic, BasePciCf8Lib, BasePciExpressLib, BasePciLibCf8, BasePciLibPciExpressLib DxeIoLibCpuIo, PeiIoLibCpuIo etc, to follow MWG-0.55a. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@565 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-19 1. PostCodeLib.qhuang84-250/+0
Rename BasePostCodeLib80 to BasePostCodeLibPort80. Fix typos in macro POST_CODE() and POST_CODE_WITH_DESCRIPTION() 2. DebugLib Change the parameter type of LineNumber of DebugAssert() from “INTN” to “UINTN” to follow MWG. Add type cast “(EFI_GUID *)” in macro ASSERT_PROTCOL_ALREADY_INSTALLED () to follow MWG. 3. BasePeCoffLib/ Add library function header for all the interfaces in MWG. Add missing ASSERT()s. 4. PciLib Add ASSERT()s in PciRead/WriteBuffer() to check cross PCI function access. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@558 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-19 1. PostCodeLib.qhuang814-82/+371
Rename BasePostCodeLib80 to BasePostCodeLibPort80. Fix typos in macro POST_CODE() and POST_CODE_WITH_DESCRIPTION() 2. DebugLib Change the parameter type of LineNumber of DebugAssert() from “INTN” to “UINTN” to follow MWG. Add type cast “(EFI_GUID *)” in macro ASSERT_PROTCOL_ALREADY_INSTALLED () to follow MWG. 3. BasePeCoffLib/ Add library function header for all the interfaces in MWG. Add missing ASSERT()s. 4. PciLib Add ASSERT()s in PciRead/WriteBuffer() to check cross PCI function access. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@557 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-16Rool Back this modification to enable gcc Build.lgao42-1/+5
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@544 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-16Updated CpuFlushCacheLine() to return the address flushed.bxing2-2/+3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@535 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-15Thunk16.asm's can use constants defined in BaseLib.h now.bxing3-11/+3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@525 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-15git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@520 ↵yshang16-6/+24
6f19259b-4bc3-4df7-8a09-765794883524
2006-06-14Fix an assembler warning.bbahnsen1-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@514 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-13Prepend underscores to procedure identifiers.bbahnsen10-19/+20
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@501 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-13Sync SetMem64 with MASM version.bbahnsen1-7/+8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@500 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-13 BaseMemoryLib (BaseMemoryLibRepStr):qhuang818-146/+108
Fix a logic error in SetMem64 (); The correct stride should be 8 instead of 4. BasePrintLib: Fix Printf(“%\n”) passer error. Fix BufferSize = 0, 1 issue Fix some missing ASSERT ()s Move MAXIMUM_VALUE_CHARACTERS from PrintLibInternal.h to PrintLib.h ReportStatusCodeLib: Add CONST modifier to some interfaces Modify DebugLib: Replace some Unicode in comments. PeiServicesTablePointerLib Add ASSERT()s PciLib: Remove unnecessary ASSERT()s in PciRead/WriteBuffer() git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@496 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-12Fixes for gcc assembly.bbahnsen2-39/+105
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@485 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-12Transfer old <PCDs> in MSA to <PcdCoded>:klu214-140/+84
1) Add <PcdCoded> definition for library module SA in transition schema. 2) Add <PcdCoded> in all MSA instead of original <PCDs> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@484 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-101) Sync PcdPpi guid with PCD arch spec.qwang121-1/+1
2) Correct macro PatchPcdSetPtr git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@469 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-101. Updated PalCallStatic.s in BaseCacheMaintenanceLibbxing8-125/+107
2. Updated PalCallStatic.s in BaseTimerLibLocalApic git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@467 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-10Fixed mistyping in Ia32/LongJump.asm and X64/LongJump.asmbxing2-4/+4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@466 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-101. Added AsmCpuidEx() to BaseLibbxing4-3/+120
2. Added DecimalToBcd8() and BcdToDecimal8() to String.c git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@465 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-101. Updated SetJump() and LongJump() for IPFbxing16-423/+483
2. Added assertion for SetJump() for all architectures 3. Added CpuSleep() for IPF git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@464 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-08 1. Rename PeiCoreLib to PeiServicesLib and rename all the interfaces from ↵qhuang84-497/+0
PeiCoreXXX() to PeiServicesXXX(). 2. Remove PostCode interfaces from ReportStatusCodeLib git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@442 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-08 1. Rename PeiCoreLib to PeiServicesLib and rename all the interfaces from ↵qhuang814-383/+502
PeiCoreXXX() to PeiServicesXXX(). 2. Remove PostCode interfaces from ReportStatusCodeLib git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@441 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-07BaseMemoryLib:qhuang835-60/+824
Correct wrong ASSERT()s on SetMem16(), SetMem32(), SetMem64() HobLib: Add Missing ASSERT()s for BuildGuidHobData() since CopyMem() now allow zero source buffer with length > 0. BasePrintLib Add ASSERT()s to check NULL buffer and NULL format. PostCodeLib Add 3 instances of PostCodeLib and introduce new Pcd for post code property mask. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@438 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-07Sync Pcd Service Driver, PEIM and library with MDE Spec 0.55a.qwang123-99/+99
1) change all PCD_TOKEN_NUMBER to UINTN 2) change all SKU_ID to UINTN git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@437 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-04UefiLib:qhuang87-45/+188
Add two new interfaces of EfiCreateEventLegacyBootEx & EfiCreateEventReadyToBootEx Fix a bug in EfiCreateEventLegacyBoot & EfiCreateEventReadyToBoot. (#51) PciLib: Add missing ASSERT()s in PciReadBuffer() & PciWriteBuffer() (#70) IoLib Add ASSERT()s to check alignment. MemoryAllocationLib: For AllocateXXXCopyBuffer(). Add ASSERT()s for cases when allocations fails. BaseLib: Change the return type of InternalMathModU64x32 from UINT64 to UINT32 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@416 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-031) Add support for %p to print pointersmdkinney1-2/+6
2) Fix %d,%x,%X to pull values off the vararg stack using (int) and (unsigned int) types to resolve compatibility issues with X64 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@408 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-02Deleted x64\SwitchStack.c Ipf/SwitchStack.c.vanjeff8-11/+130
Added SwitchStack.c in Baselib\ Rename Ia32/SwitchStack.c to Ia32/InternalSwitchStack.c Changed _SwitchStack() into InternalSwitchStack() in SwitchStack.asm and SwitchStack.s Fixed one bug in LinkedList.c, that List length couldn't up to PcdMaximumLinkedListLength. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@394 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-02Removed file/foldervanjeff1-49/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@393 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-02Removed file/foldervanjeff1-58/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@392 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-02Removed file/foldervanjeff1-57/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@391 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-02Make sure the PCD dxe service driver can handle the case where no PEIM is ↵qwang123-4/+4
using any dynamic PCD entry and the PEI phase PCD database is empty. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@388 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-01Added function declarationvanjeff1-0/+9
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@362 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31Created as one wrappervanjeff2-0/+92
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@352 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31Created as one wrapper for SwitchStack.c to add assert()vanjeff1-0/+49
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@351 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31add function headervanjeff3-21/+458
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@350 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31Changed SwitchStack() to _SwitchStack()vanjeff1-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@349 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31Changed LongJump() to _LongJump()vanjeff1-3/+3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@348 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31Created as wrapper for SwitchStack() to add assert() vanjeff1-0/+49
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@347 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31Changed SwitchStack() to _SwitchStack()vanjeff1-3/+3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@346 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31Changed LongJump() to _LongJump()vanjeff1-3/+3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@345 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31change LongJump() to _LongJump()vanjeff2-6/+6
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@344 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31Move SetJumpLongJump.c and SwitchStack,c into ebc sub directory.vanjeff2-4/+14
Add LongJump.c as wrapper to add assert() git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@343 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31Fixed one bug of WriteUnaligned24()vanjeff1-1/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@342 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31Created as one wrapper for LongJump(), to added assert() functionvanjeff1-0/+49
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@341 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31Removed file/foldervanjeff1-52/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@340 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31Removed file/foldervanjeff1-40/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@339 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-301. Fixed incorrect ASSERT conditions in wrapper functions.bxing20-38/+36
2. Removed unnecessary SUB instructions in CompareMem.asm git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@318 6f19259b-4bc3-4df7-8a09-765794883524