summaryrefslogtreecommitdiff
path: root/MdePkg/Library
AgeCommit message (Collapse)Author
2007-12-11Update PcdLib instances:qhuang8
1. Remove the [depex] section for both PeiPcdLib and DxePcdLib 2. Remove the constructor of DxePcdLib. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4383 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-05Fix the constructor typo. The new type should follow PI spec.qhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4363 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-05Fix the constructor typo. The new type should follow PI spec.qhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4358 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-30Fix timeout logic in AcquireSpinLock(). It could fail if the end time ↵mdkinney
computed was larger than the roll over value of the performance counter. The timeout logic now accumulates the total time elapsed to determine if the timeout has been exceeded. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4345 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-27Add FUNCTION_ENTRY_POINT macromdkinney
Update DxeDebugLibSerialPort to have a module type of BASE git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4328 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-22Clean up: update "EFI" to "UEFI" if applicable.qhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4317 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-18Fix up the comment for several functions and make sure the IN and OUT ↵qwang12
modifier of the function parameter is correct. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4301 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-08Fix the wrong memory type for BSP stack hob. EfiConventionalMemoryType will ↵qhuang8
be reclaimed by DxeCore. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4287 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-081) Fix bugs in BaseMemoryLibOptXXX instances in MdePkg.yshang1
2) Add BaseMemoryLibOptXXX in MdePkg.dsc. 3) Clean up the MdeModulePkg.dsc. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4286 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-02edk2/MdePkg/MdePkg/Library/UefiScsiLib/UefiScsiLib.c:jljusten
edk2/MdePkg/MdePkg/Library/DxeSmbusLib/InternalSmbusLib.h: Fixed include filenames (case) for case-sensitive filesystems. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4264 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-30MdePkg/Library/BaseLib/ChkStkGcc.c:jljusten
MdePkg/Library/BaseLib/BaseLib.inf: Added stub (nil) implementation of __chkstk for which calls are generated by newer versions of gcc. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4237 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-30MdePkg/Library/BaseMemoryLibRepStr/x64/*.S:jljusten
Added assembly files for gnu toolchain. Uses '.intel_syntax' which requires binutils >= 2.10. MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf: Include .S files for BaseMemoryLibRepStr module. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4236 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-26Add one judge whether TeImage or PeImage has reloc section when relocate ↵lgao4
TeImage or PeImage into memory. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4224 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-19Update ExtractGuidedSectionLib instance to cover the same handler is ↵lgao4
registered multi times, the later will override the pre setting. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4183 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-18Make GuidedSection library instance to follow the value of ↵lgao4
GuidedSectionExtraction protocol/PPI defined in PI spec. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4165 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-18The BaseAddress and Length should be align PAGE according to PI ↵klu2
specification for EFI_MEMORY_ALLOCATION_HOB git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4162 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-16add in include for header file to get value for MACRO ↵qwang12
THUNK_ATTRIBUTE_DISABLE_A20_MASK_KBD_CTRL git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4128 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-15Remove library instance of PeiServicesTablePointerLibMm7klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4113 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-121. Update internal EfiPrint protocol to contain all print interfaces ↵lgao4
provided by PrintLib class of MdePkg. 2. Update SetupBrowserDxe driver to produce new EfiPrint protocol. 3. Update EdkDxePrintLib instance to implement all interfaces defined in PrintLib class based on new EfiPrint protocol. 4. Update Nt32Pkg platform.dsc to use EdkDxePrintLib instance for UEFI_APPLICATION modules. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4109 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-12Fix ICC build error lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4108 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-12Updating for pass building: Remove the "#include <ItaniumFamilyCpuPeim.h>" ↵zliu3
for this PalCallLib.c because it is moved from ItaniumFamilyCpuPkg to MdePkg git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4103 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-11moved the PeiPalCallLib from ItaniumFamilyCpuPkg to MdePkgvprabhal
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4102 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-11these files have moved to cpulibvprabhal
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4098 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-11Add BasePalCallLibNull instance in MdePkg. It is useful when building IPF ↵yshang1
components in open source packages. Use meaningful arguments defined in PalLib.h when invoking PalCall(). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4094 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-11Remove PeiDxeExtractGuidedSectionLib instance, which is replaced by ↵lgao4
PeiExtractGuidedSectionLib and DxeExtractGuidedSectionLib instance. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4088 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-10Changed to pass the build with Visual Studio 2005jwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4074 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-100) Change the PEI core behavior to not install FV HOB for each FV INFO PPI ↵qwang12
installed. This allows more freedom to platform developer to choose to expose which FV to PEI core or DXE core. 1) Split MdePkg/Include/Library/PiLib.h to DxePiLib.h and PeiPiLib.h. These two library classes are for DXE phase and PEI phase. 2) Update the API names in DxePiLib and PeiPiLib to be longer ones to be more meaningfull and to avoid name collisions. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4067 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-10Remove assemble file for different arch, klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4065 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-09Add SetPeiServicesTablePointer() interface implement in ↵jlin16
PeiServicesTablePointerLibKr7 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4060 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-09PI Enabling: the address of PeiServices Pointer should be klu2
1) Set to preceding of IDT table in PeiCore's entry 2) Migrate to preceding of new memory IDT table when memory is discovery git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4059 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-09Correct ExtractGuidedSectionLib library instance for PEIM and DXE lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4058 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-08Added the "#include <Library/PalCallLib.h>" to pass build (the tracker is #592)zliu3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4043 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-06Add BaseMemoryLib optimized for DXEmdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4036 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-06Add BaseMemoryLib optimized for PEImdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4035 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-06Make header consistent with other files.mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4034 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-06Restore original algorithm and add commentsmdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4033 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-06Return buffer in raxmdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4032 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-06Sync with other libsmdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4031 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-05moved CpuSleep and CpuFlushTlb to the CpuLib to use PalCall in those ↵vprabhal
functions, it is creating circular dependency if those functions are in BaseLib and the PalCallStatic is replaced with PalCall git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4023 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-05removed the use of PalCallStatic and changed to PalCallvprabhal
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4022 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-05removed the use of PalCallStatic and changed to PalCallvprabhal
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4021 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-05created a CpuLib for CpuSleep and CpuFlushTlb from BaseLib to remove ↵vprabhal
circular dependency on PalCallLib. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4020 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-30Add two ExtractGuidedSectionLib instance separately for Pei and Dxe module. ↵lgao4
Because Pei module may run in flash, they don't support to write global variable. We have to use GuidHob to store these global variables. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4009 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-30Work around fix to bypass to register GUID on S3 resume.qhuang8
DxeIpl does not shadow itself on S3 resume. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3995 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29Remove CustomDecompressLib, which has replaced by ExtractGuidedSection ↵lgao4
library class. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3983 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-291. Add ExtractGuidedSectionLib library to replace customdecompress library.lgao4
2. Add PeiDxeExtractGuidedSectionLib library instance and one PCD PcdMaximumGuidedExtractHandler in MdePkg. 3. Update DxeIpl and DxeMain to consume new library. 4. Update BaseUefiTianoCustomDecompressLib to register TianoDecomress extractguidedsection handler. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3980 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-281. Replace PeCoffLoader library by PeCoff lib for PeiCore, DxeIpl and DxeMain. lgao4
2. Add three PeCoff library instances for NT32 PeImage load. 3. Update PeCoffGetEntryPointLib to support TeImage. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3965 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-28Fix a bug of ScsiWrite10Command() UefiScsiLib. After the SCSI WRITE command ↵xli24
is executed, the output DataLength parameter should be EFI_SCSI_IO_SCSI_REQUEST_PACKET.OutTransferLength, instead of EFI_SCSI_IO_SCSI_REQUEST_PACKET.InTransferLength. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3961 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-27Add SEC as a supported Module Type for all libraries that are also ↵mdkinney
compatible with the PEI_CORE git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3954 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-25Make the module pass CYGWIN GCC buildqwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3920 6f19259b-4bc3-4df7-8a09-765794883524