summaryrefslogtreecommitdiffstats
path: root/MdePkg
Commit message (Collapse)AuthorAgeFilesLines
* fixed typo. EFI_OUT_OF_MEMORY should be EFI_OUT_OF_RESOURCES.vanjeff2009-05-122-7/+7
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8299 6f19259b-4bc3-4df7-8a09-765794883524
* Fix the implementation of AsciiStrStr() and StrStr() in MdePkg. If the ↵rsun32009-05-121-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
* Minor update the function interface for three re-allocate pool APIs to check ↵qhuang82009-05-123-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
* Add conformance check for OldBuffer and size even if the memory allocation ↵qhuang82009-05-113-17/+25
| | | | | | fails. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8294 6f19259b-4bc3-4df7-8a09-765794883524
* Fix minor coding style issue for ScsiReadCapacity16Command() API in UefiScsiLib qhuang82009-05-112-18/+18
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8291 6f19259b-4bc3-4df7-8a09-765794883524
* In PrintXY() and AsciiPrintXY(), the number of chartacter returned is at ↵eric_tian2009-05-111-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
* add the extra comments into BasePeCoffRelocateImage, BasePeCoffLoadImage and ↵eric_tian2009-05-112-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
* Update GCC version of VAR_ARG () to be compatible with non GCC version of ↵mdkinney2009-05-101-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
* Clarify BuildCvHob() API in HobLib to state that this function will ASSERT() ↵mdkinney2009-05-094-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
* Update function header description of ScsiReadCapacity16Command() in the ↵mdkinney2009-05-092-56/+64
| | | | | | UEFI Scsi Library git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8277 6f19259b-4bc3-4df7-8a09-765794883524
* Clarify that FreePages(), FreeAlignedPages(), and FreePool() may perform n ↵mdkinney2009-05-093-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
* 1) Clarify file and function header comments for the PE/COFF Extra Action ↵mdkinney2009-05-093-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
* Clarify clipping behavior of PrintXY() and AsciiPrintXY().mdkinney2009-05-082-8/+12
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8271 6f19259b-4bc3-4df7-8a09-765794883524
* Clarify ASSERT() conditions for Reallocate Pool functions.mdkinney2009-05-082-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
* Clean up commentmdkinney2009-05-081-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8268 6f19259b-4bc3-4df7-8a09-765794883524
* Fix bugs in StrStr() and AsciiStrStr().rsun32009-05-081-19/+18
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8261 6f19259b-4bc3-4df7-8a09-765794883524
* The GCC compiler’s behavior is different than the Microsoft compilers for ↵eric_tian2009-05-081-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
* Synchronize PCD_Infrastructure 0.55 with source code.klu22009-05-062-17/+32
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8248 6f19259b-4bc3-4df7-8a09-765794883524
* Remove duplicated PcdDebugPrintErrorLevel definition on same FixedAtBuild ↵klu22009-05-061-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
* fix the wrong data length. According to spec, to get interface and ↵eric_tian2009-05-061-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
* Update BasePeCoff to Initialize the debug field to zero.lgao42009-05-061-3/+4
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8243 6f19259b-4bc3-4df7-8a09-765794883524
* fix the typoeric_tian2009-05-041-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8234 6f19259b-4bc3-4df7-8a09-765794883524
* Update function comments for AsmPrepareThunk16, AsmThunk16, ↵klu22009-05-042-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
* Add checking for ThunkAttribute to avoid ↵klu22009-05-041-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
* Review the comments to match Spec.gikidy2009-04-303-6/+4
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8225 6f19259b-4bc3-4df7-8a09-765794883524
* Fix the bug that EnablePaging64() should assert() for x64 platform.qhuang82009-04-304-127/+44
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8223 6f19259b-4bc3-4df7-8a09-765794883524
* Replace references to RFC 3066 with RFC 4646. gikidy2009-04-301-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8218 6f19259b-4bc3-4df7-8a09-765794883524
* Replace references to RFC 3066 with RFC 4646. gikidy2009-04-304-8/+8
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8211 6f19259b-4bc3-4df7-8a09-765794883524
* Update BasePeCoffLib comments to specify this library support scope.lgao42009-04-303-7/+9
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8210 6f19259b-4bc3-4df7-8a09-765794883524
* Update IPF version BasePeCoffLib only supports IFP and EBC PeImage, doesn't ↵lgao42009-04-301-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
* Fix the bug that SetMem.S of BaseMemoryLibOptDxe is incorrect.xli242009-04-301-11/+6
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8207 6f19259b-4bc3-4df7-8a09-765794883524
* Fix the bug in DxeRuntimePciExpressLib that behavior of ↵xli242009-04-301-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
* Add limitation clarification for usage of AsmPrepareThunk16(), AsmThunk16(), ↵klu22009-04-292-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
* Fix the bug that gEfiSalSystemTableGuid is missing in UefiPalLib.inf.xli242009-04-291-1/+3
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8199 6f19259b-4bc3-4df7-8a09-765794883524
* Fix the bug that InternalReallocatePool() ignores the input parameter ↵xli242009-04-291-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
* fixed ECC issues.vanjeff2009-04-281-5/+5
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8196 6f19259b-4bc3-4df7-8a09-765794883524
* update platformlangcodes and langcodes to adapt new language convert algorithm.eric_tian2009-04-271-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8183 6f19259b-4bc3-4df7-8a09-765794883524
* Correct minor comments.lgao42009-04-271-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8174 6f19259b-4bc3-4df7-8a09-765794883524
* Merge RuntimeLib and RuntimeServices.c.qhuang82009-04-244-696/+657
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8166 6f19259b-4bc3-4df7-8a09-765794883524
* Use GUIDed event for virtual address change eventqhuang82009-04-242-2/+7
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8165 6f19259b-4bc3-4df7-8a09-765794883524
* Add check for the validity of resource directory address.qhuang82009-04-231-32/+32
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8164 6f19259b-4bc3-4df7-8a09-765794883524
* Add checking for start address for PCI express Read/Write Bufferqhuang82009-04-231-1/+9
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8160 6f19259b-4bc3-4df7-8a09-765794883524
* updateeric_tian2009-04-231-21/+32
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8154 6f19259b-4bc3-4df7-8a09-765794883524
* update string function comment to clear the semantic meaning.eric_tian2009-04-231-18/+26
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8153 6f19259b-4bc3-4df7-8a09-765794883524
* Add HiiResourceData field to PeCoffLib library class. PeCoffLoaderLoadImage ↵qhuang82009-04-222-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
* Rename enum with a duplicate name of EVENT_LOG_TYPE_DATA.jljusten2009-04-211-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
* Coding style verified.gikidy2009-04-202-36/+36
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8133 6f19259b-4bc3-4df7-8a09-765794883524
* Remove some unrecognized unicode characters.qhuang82009-04-201-8/+8
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8132 6f19259b-4bc3-4df7-8a09-765794883524
* Enhanced industry standard definitions of SMBIOS Table.gikidy2009-04-201-239/+1534
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8131 6f19259b-4bc3-4df7-8a09-765794883524
* 1. use #define instead of enumerator type for Structure Type/IDvanjeff2009-04-202-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