summaryrefslogtreecommitdiff
path: root/MdePkg
AgeCommit message (Collapse)AuthorFilesLines
2009-05-12fixed typo. EFI_OUT_OF_MEMORY should be EFI_OUT_OF_RESOURCES.vanjeff2-7/+7
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8299 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-12Fix the implementation of AsciiStrStr() and StrStr() in MdePkg. If the ↵rsun31-2/+2
length of SearchString is zero, then String is returned. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8297 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-12Minor update the function interface for three re-allocate pool APIs to check ↵qhuang83-30/+22
the conformance of OldBuffer only when the memory allocation succeeds. In this way the assert condition is covered by CopyMem () API in BaseMemoryLib. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8296 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-11Add conformance check for OldBuffer and size even if the memory allocation ↵qhuang83-17/+25
fails. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8294 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-11Fix minor coding style issue for ScsiReadCapacity16Command() API in UefiScsiLib qhuang82-18/+18
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8291 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-11In PrintXY() and AsciiPrintXY(), the number of chartacter returned is at ↵eric_tian1-2/+1
most PcdUefiLibMaxPrintBufferSize, and will return the number of characters actually displayed on the screen not includng partial characters that may be clipped by the right edge of the display. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8289 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-11add the extra comments into BasePeCoffRelocateImage, BasePeCoffLoadImage and ↵eric_tian2-0/+24
BasePeCoffRelocateImageForRuntime to help user to know the usage model of these APIs. The comments mainly used to clarify it's caller's responsibility to to perform cache maintenance operations git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8283 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-10Update GCC version of VAR_ARG () to be compatible with non GCC version of ↵mdkinney1-3/+3
VAR_ARG () so it handles TYPE parameters that are smaller than UINTN properly when GCC builtins are used for vararg parsing. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8282 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-09Clarify BuildCvHob() API in HobLib to state that this function will ASSERT() ↵mdkinney4-0/+4
if the platform does not support Capsule Volume HOBs. This allows PI implementations to ASSERT() and Framework implementations to provide a full implementation of this API. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8278 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-09Update function header description of ScsiReadCapacity16Command() in the ↵mdkinney2-56/+64
UEFI Scsi Library git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8277 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-09Clarify that FreePages(), FreeAlignedPages(), and FreePool() may perform n ↵mdkinney3-9/+20
actions if those operations are not possible. For example, the PEI Phase does not provide any services to free allocated pages or allocated pool memory. Update comments in PeiMemoryAllocationLib and UefiMemoryAllocationLib to match updates to MemoryAllocationLib.h. Add ASSERT() statements in PeiMemoryAllocationLib for the FreePages() and FreeAlignedPages() if Pages is 0. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8275 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-091) Clarify file and function header comments for the PE/COFF Extra Action ↵mdkinney3-35/+31
library class 2) Update the file and function header comments in the BasePeCoffExtraActionLibNull 3) Add ASSERT() statements to APIs in BasePeCoffExtraActionLibNull is ImageContext is NULL. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8272 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-08Clarify clipping behavior of PrintXY() and AsciiPrintXY().mdkinney2-8/+12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8271 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-08Clarify ASSERT() conditions for Reallocate Pool functions.mdkinney2-17/+17
Fix bug in Reallocate Pool functions in PEI Memory Allocation Lib. The wrong memory type was being allocated. This syncs the PEI Memory Allocation Lib with the fix that was previously made to the UEFI Memory Allocation Lib. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8269 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-08Clean up commentmdkinney1-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8268 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-08Fix bugs in StrStr() and AsciiStrStr().rsun31-19/+18
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8261 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-08The GCC compiler’s behavior is different than the Microsoft compilers for ↵eric_tian1-0/+15
statically linked vararg functions. The GCC compilers do provide __builtin_ functions for accessing varargs. we should use these intrinsic functions with GCC git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8260 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-06Synchronize PCD_Infrastructure 0.55 with source code.klu22-17/+32
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8248 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-06Remove duplicated PcdDebugPrintErrorLevel definition on same FixedAtBuild ↵klu21-3/+0
PCD type with different default value. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8247 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-06fix the wrong data length. According to spec, to get interface and ↵eric_tian1-2/+2
configuration descriptors, should pass 1 as data length. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8246 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-06Update BasePeCoff to Initialize the debug field to zero.lgao41-3/+4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8243 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-04fix the typoeric_tian1-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8234 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-04Update function comments for AsmPrepareThunk16, AsmThunk16, ↵klu22-12/+12
AsmPrepareAndThunk16 interface. These interfaces could be used in either physical mode or virtual modes with paging enabled where virtual to physical mappings for ThunkContext.RealModeBuffer is mapped to 1:1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8231 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-04Add checking for ThunkAttribute to avoid ↵klu21-1/+3
THUNK_ATTRIBUTE_DISABLE_A20_MASK_KBD_CTRL and THUNK_ATTRIBUTE_DISABLE_A20_MASK_INT_15 are set at same time. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8230 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30Review the comments to match Spec.gikidy3-6/+4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8225 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30Fix the bug that EnablePaging64() should assert() for x64 platform.qhuang84-127/+44
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8223 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30Replace references to RFC 3066 with RFC 4646. gikidy1-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8218 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30Replace references to RFC 3066 with RFC 4646. gikidy4-8/+8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8211 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30Update BasePeCoffLib comments to specify this library support scope.lgao43-7/+9
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8210 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30Update IPF version BasePeCoffLib only supports IFP and EBC PeImage, doesn't ↵lgao41-2/+1
support IA32 and X64 PeImage git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8208 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30Fix the bug that SetMem.S of BaseMemoryLibOptDxe is incorrect.xli241-11/+6
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8207 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30Fix the bug in DxeRuntimePciExpressLib that behavior of ↵xli241-3/+3
GetPciExpressAddress() in virtual mode is not correct. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8206 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-29Add limitation clarification for usage of AsmPrepareThunk16(), AsmThunk16(), ↵klu22-1/+19
AsmPrepareAndThunk16() interfaces that they are could only be used in physical mode but can not be used in virtual mode with paging. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8202 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-29Fix the bug that gEfiSalSystemTableGuid is missing in UefiPalLib.inf.xli241-1/+3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8199 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-29Fix the bug that InternalReallocatePool() ignores the input parameter ↵xli241-2/+2
PoolType, and does always allocates memory of type EfiBootServicesData. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8198 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-28fixed ECC issues.vanjeff1-5/+5
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8196 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-27update platformlangcodes and langcodes to adapt new language convert algorithm.eric_tian1-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8183 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-27Correct minor comments.lgao41-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8174 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-24Merge RuntimeLib and RuntimeServices.c.qhuang84-696/+657
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8166 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-24Use GUIDed event for virtual address change eventqhuang82-2/+7
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8165 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-23Add check for the validity of resource directory address.qhuang81-32/+32
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8164 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-23Add checking for start address for PCI express Read/Write Bufferqhuang81-1/+9
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8160 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-23updateeric_tian1-21/+32
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8154 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-23update string function comment to clear the semantic meaning.eric_tian1-18/+26
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8153 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-22Add HiiResourceData field to PeCoffLib library class. PeCoffLoaderLoadImage ↵qhuang82-12/+91
() will set this field to HII resource data if it detects the existence in PE image. otherwise, it set that field to 0. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8141 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-21Rename enum with a duplicate name of EVENT_LOG_TYPE_DATA.jljusten1-1/+1
The new name used for the second enum is EVENT_LOG_VARIABLE_DATA. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8138 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-20Coding style verified.gikidy2-36/+36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8133 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-20Remove some unrecognized unicode characters.qhuang81-8/+8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8132 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-20Enhanced industry standard definitions of SMBIOS Table.gikidy1-239/+1534
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8131 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-201. use #define instead of enumerator type for Structure Type/IDvanjeff2-12/+10
2. Changed ID into Id to follow spec. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8129 6f19259b-4bc3-4df7-8a09-765794883524