Commit Graph

2238 Commits

Author SHA1 Message Date
eric_tian 63fffe4e72 fix the issue when passing a L"" string to PrintXY.
1. According to the value of RowInfoArraySize to get the actual number of printed line.
2. If RowInfoArraySize equates 0, then it means nothing is printed.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8464 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-04 13:50:14 +00:00
vanjeff c8c44377af update comments per review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8463 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-04 09:22:50 +00:00
pkandel 630b41877e Reviewed the code comments in the Include/Protocol directory for typos, grammar issues, and language clarity.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8462 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-04 05:49:29 +00:00
qhuang8 2561f56540 1. Fix the bug that we should use rip relative addressing for x64 label to prevent GNU assembly generate incorrect code.
2. Sync the bug fix of MS assembly in r8455.
3. Correct the function prototype in comments.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8456 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-03 08:15:18 +00:00
qhuang8 1a76fbef84 Save label "@F" to 64-bit register (r10) instead of 32-bit register (eax) in case label @F is above 4G.
Use "far retq" to load CS and 64-bit rip instead.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8455 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-03 08:11:34 +00:00
eric_tian 134c1f33ed modify the implementation of GetInterface and GetConfiguration to force the high byte of output type parameters zero.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8447 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-03 01:57:56 +00:00
qhuang8 d48e8b0afa Use rip relative addressing for x64 label for Thunk16.S to prevent GCC assembly from generating 32-bit value with HIGHLOW fixup.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8444 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-02 23:40:06 +00:00
mdkinney 071a9a1f65 Correct parameter names for ASSERT() checks.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8414 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-31 17:19:40 +00:00
mdkinney 2075236eef This checkin addresses the compatibility issue of passing arguments of type VA_LIST between components. The type VA_LIST is mapped onto the compiler specific implementation of varargs. As a result, modules build with different compilers may not use the same VA_LIST structure. The solution to this issue is to define a new type called BASE_LIST that is a compiler independent method of passing varargs between modules.
Add BASE_LIST type to Base.h
Add BAS_ARG() macro to Base.h
Add 4 functions to PrintLib.h that use BASE_LIST.
Change ReportStatsuCodeExtractDebugInfo() from ReportStatusCodeLib.h to take a BASE_LIST argument instead of a VA_LIST argument
Add the 4 new functions to BasePrintLib implementation that use BASE_LIST
Update BaseReportStatusCodeLib implementation of ReportStatsuCodeExtractDebugInfo() to use a BASE_LIST argument instead of a VA_LIST argument



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8404 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-30 23:45:50 +00:00
qhuang8 a81c3daf0a Correct one minor instruction to clear the lower 4 bits of r11.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8391 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-26 12:04:46 +00:00
qhuang8 a148780114 Fix the bug in x64 thunk code that it cannot handle the case when GDT is loaded in above 4G table memory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8390 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-26 11:41:12 +00:00
eric_tian 57ee276f16 update comments on implementation
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8389 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-26 10:04:43 +00:00
eric_tian 392b3cf8b5 sync the StrToImage flag of UGA to consistent with GOP
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8388 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-26 10:01:46 +00:00
eric_tian d9e63d93d5 update the file description of PrintXY and AsciiPrintXY. and also refine the implementation to return the number of actual printed characters.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8372 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-21 10:02:33 +00:00
lgao4 3e0c79b57b Fix ScsiLib build break by << operator, which is replaced by LShiftU64 of BaseLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8363 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-21 03:26:42 +00:00
xli24 7b2cc5499f Remove __APPLE__ usage in ProcessorBind.h files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8362 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-21 02:24:02 +00:00
mdkinney 1e966f6375 Remove redundant #include statements
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8357 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 22:06:20 +00:00
mdkinney be18ced7ff Remove redundant #include
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8356 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 20:20:14 +00:00
mdkinney 17f9a8d429 Update #ifndef to match the name of the include file.
Remove extra #include


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8355 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 20:07:36 +00:00
mdkinney 7a90d95a76 Remove extra #include that is not required for this include file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8351 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 18:55:01 +00:00
xli24 f4efc39f34 Define macro for .global/.globl in assembly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8348 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 10:40:29 +00:00
xli24 132f41f0a9 Replace .globl with ASM_GLOBAL
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8346 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 10:22:09 +00:00
xli24 d5172f911d 1. Remove .extern from GCC assembly.
2. Define macro for .global/.globl in GCC assembly.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8344 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 09:42:59 +00:00
rsun3 6b3ecf5cc2 Add back logic to encode LUN in CDB for compatibility with SCSI-2 spec, although LUN encoding in CDB is changed to be reserved in SCSI-3 spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8334 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19 09:07:38 +00:00
xli24 5dc4fd7856 Fix the unaligned issue of PCI read/write buffer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8333 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19 07:09:45 +00:00
rsun3 676e2a32f9 Fix bugs in the UEFI SCSI Library.
1. LUN number should not be encoded in CDB.
2. Left shift the PageControl field by 6 bits in ScsiModeSense10Command().

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8331 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19 05:42:37 +00:00
xli24 99ade971a1 Add BaseLib for BaseCpuLib.inf.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8327 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19 02:15:40 +00:00
lgao4 d7dfd027aa 1. Clean up MdePkg internal header files
The header files in MdePkg/Include/Ia32, X64, Ipf, Ebc, Pi, Uefi directories are the internal header files, which should not be directly included by the modules.

This patch cleans these internal header files to remove the uncessary ProcessorBind.h file.

2. Clean up MdePkg public header files to remove the uncessary internal header files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8324 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-18 09:13:49 +00:00
eric_tian d3c0cbcecc cleanup the .S file to wrap all public symbols with ASM_PFX() macro,which is used to generate underscore prior to public symbol or not within various GCC distribution versions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8316 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-15 03:21:08 +00:00
xli24 44c0fd78ef Update CpuSleep() for IPF.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8315 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-15 02:51:38 +00:00
xli24 59ceeabe50 1. Add address check for "RegisterForRuntime" APIs of PciLib, PciCf8Lib, PciExpressLib, and PciSegmentLib.
2. Update ASSERT condition for PciCf8Lib, and PciSegmentLib class.

3. According to MDE Lib Spec, add check for reserved bit field 63..48 for PCI segment address.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8311 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-14 03:13:31 +00:00
vanjeff e1f1fb1658 fixed typo. EFI_OUT_OF_MEMORY should be EFI_OUT_OF_RESOURCES.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8299 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-12 05:39:31 +00:00
rsun3 faeb3214d4 Fix the implementation of AsciiStrStr() and StrStr() in MdePkg. If the 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-12 03:33:34 +00:00
qhuang8 5630456909 Minor update the function interface for three re-allocate pool APIs to check 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-12 02:29:22 +00:00
qhuang8 446b94b0a1 Add conformance check for OldBuffer and size even if the memory allocation fails.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8294 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-11 08:23:26 +00:00
qhuang8 f158ee678c Fix minor coding style issue for ScsiReadCapacity16Command() API in UefiScsiLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8291 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-11 07:22:49 +00:00
eric_tian e74738b1c3 In PrintXY() and AsciiPrintXY(), the number of chartacter returned is at 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-11 06:58:28 +00:00
eric_tian 8d579453d3 add the extra comments into BasePeCoffRelocateImage, BasePeCoffLoadImage and 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-11 01:32:17 +00:00
mdkinney 6ed623e403 Update GCC version of VAR_ARG () to be compatible with non GCC version of 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-10 19:44:21 +00:00
mdkinney c85cea8046 Clarify BuildCvHob() API in HobLib to state that this function will ASSERT() 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-09 01:47:49 +00:00
mdkinney 5e11e7c691 Update function header description of ScsiReadCapacity16Command() in the UEFI Scsi Library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8277 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-09 01:31:20 +00:00
mdkinney 6e10b70a62 Clarify that FreePages(), FreeAlignedPages(), and FreePool() may perform n 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-09 01:13:40 +00:00
mdkinney 727fb9b1d3 1) Clarify file and function header comments for the PE/COFF Extra Action 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-09 00:45:25 +00:00
mdkinney b9c8d8bd15 Clarify clipping behavior of PrintXY() and AsciiPrintXY().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8271 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-08 23:48:32 +00:00
mdkinney 6babbe1f8c Clarify ASSERT() conditions for Reallocate Pool functions.
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-08 22:09:40 +00:00
mdkinney 0dcec41170 Clean up comment
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8268 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-08 22:07:42 +00:00
rsun3 62e71e2fbe Fix bugs in StrStr() and AsciiStrStr().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8261 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-08 05:22:17 +00:00
eric_tian 130a2eecc4 The GCC compiler’s behavior is different than the Microsoft compilers for 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-08 02:27:46 +00:00
klu2 750709525f Synchronize PCD_Infrastructure 0.55 with source code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8248 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-06 06:18:16 +00:00
klu2 1f2efb0542 Remove duplicated PcdDebugPrintErrorLevel definition on same FixedAtBuild 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-06 04:28:59 +00:00
eric_tian c255449e63 fix the wrong data length. According to spec, to get interface and 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-06 04:26:30 +00:00
lgao4 1a82ed3d0a Update BasePeCoff to Initialize the debug field to zero.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8243 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-06 03:17:45 +00:00
eric_tian b4e3c5a4b6 fix the typo
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8234 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-04 07:24:05 +00:00
klu2 8243b089ab Update function comments for AsmPrepareThunk16, AsmThunk16, 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-04 03:33:53 +00:00
klu2 d1be17ab87 Add checking for ThunkAttribute to avoid 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-05-04 03:00:08 +00:00
gikidy 11ca63ec36 Review the comments to match Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8225 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30 09:26:15 +00:00
qhuang8 744e71a3bf Fix the bug that EnablePaging64() should assert() for x64 platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8223 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30 07:17:52 +00:00
gikidy f445a1366c Replace references to RFC 3066 with RFC 4646.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8218 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30 06:48:16 +00:00
gikidy 7eb05636e7 Replace references to RFC 3066 with RFC 4646.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8211 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30 05:30:35 +00:00
lgao4 981b0f90d1 Update BasePeCoffLib comments to specify this library support scope.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8210 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30 05:18:43 +00:00
lgao4 821b090646 Update IPF version BasePeCoffLib only supports IFP and EBC PeImage, doesn't 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-30 03:29:49 +00:00
xli24 8672ccb305 Fix the bug that SetMem.S of BaseMemoryLibOptDxe is incorrect.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8207 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30 02:59:35 +00:00
xli24 687add7035 Fix the bug in DxeRuntimePciExpressLib that behavior of 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-30 02:32:49 +00:00
klu2 52fa075c38 Add limitation clarification for usage of AsmPrepareThunk16(), AsmThunk16(), 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-29 06:23:35 +00:00
xli24 4eb3ee5fe6 Fix the bug that gEfiSalSystemTableGuid is missing in UefiPalLib.inf.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8199 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-29 03:01:50 +00:00
xli24 d9f0ad2765 Fix the bug that InternalReallocatePool() ignores the input parameter 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-29 02:52:37 +00:00
vanjeff b4ab47ec81 fixed ECC issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8196 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-28 06:20:55 +00:00
eric_tian ec2e30d523 update platformlangcodes and langcodes to adapt new language convert algorithm.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8183 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-27 06:58:11 +00:00
lgao4 1cea34d4a8 Correct minor comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8174 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-27 03:19:16 +00:00
qhuang8 363bb1b56e Merge RuntimeLib and RuntimeServices.c.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8166 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-24 02:09:46 +00:00
qhuang8 7c188740a6 Use GUIDed event for virtual address change event
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8165 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-24 02:07:33 +00:00
qhuang8 50cd68dfb5 Add check for the validity of resource directory address.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8164 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-23 12:14:55 +00:00
qhuang8 d908a2d6d2 Add checking for start address for PCI express Read/Write Buffer
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8160 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-23 08:08:48 +00:00
eric_tian 50c247fd8f update
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8154 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-23 03:25:46 +00:00
eric_tian 53e9661036 update string function comment to clear the semantic meaning.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8153 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-23 03:11:45 +00:00
qhuang8 b4500f6efe Add HiiResourceData field to PeCoffLib library class. PeCoffLoaderLoadImage () 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-22 02:04:16 +00:00
jljusten 55deb97841 Rename enum with a duplicate name of EVENT_LOG_TYPE_DATA.
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-21 00:34:24 +00:00
gikidy 6800ac833d Coding style verified.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8133 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-20 07:15:14 +00:00
qhuang8 1f9f8414d1 Remove some unrecognized unicode characters.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8132 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-20 07:01:56 +00:00
gikidy 98cb9ae8e4 Enhanced industry standard definitions of SMBIOS Table.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8131 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-20 06:40:49 +00:00
vanjeff 1c455d59d2 1. use #define instead of enumerator type for Structure Type/ID
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
2009-04-20 05:03:50 +00:00
qhuang8 0fe43214e3 Save segment registers on stack in case the thunk code assembly calls CF9 soft reset and the x64 registers get cleared.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8123 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17 07:38:57 +00:00
vanjeff 0cb4d53d77 rremove EFI_IMAGE_SUBSYSTEM_EFI_EFI_ROM. No spec to defined and no one use it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8098 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-16 03:40:39 +00:00
lgao4 c2ace45e06 Add UEFI2.1d HiiPlatformSetupFormset Guid
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8097 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-16 02:57:28 +00:00
qhuang8 51969ecb37 Fix several minor coding style issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8092 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-15 14:31:45 +00:00
qhuang8 aeb90c4a15 Add extra definition to MdePkg\Include\IndustrialStandard\Image.h: EFI_IMAGE_RESOURCE_* to handle HII resource in image
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8091 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-15 14:19:10 +00:00
qhuang8 278bd31c88 Add UEFI 2.1d Hii Package list GUID definition to MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8090 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-15 14:18:30 +00:00
vanjeff 11171f0300 add security check
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8088 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-15 04:04:47 +00:00
vanjeff 81dac93063 1. add ata identify data definition for ATA-5
2. add more clear comments for some ATA definitions.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8073 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-13 08:00:44 +00:00
jljusten 6d3ea23f11 Fix various 'EFIAPI' inconsistencies found while building MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8062 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-10 20:58:18 +00:00
jljusten 6149e6bb4f Allow EFIAPI to be defined on the compiler command line.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8061 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-10 20:58:10 +00:00
jljusten c9268416b9 Fix some build issues encountered with ELFGCC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8060 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-10 20:58:07 +00:00
gikidy 298530bcaa Useless definition removed and typo corrected.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8045 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-09 07:54:37 +00:00
eric_tian dfbe9de95f add assertion condition to satisfy the requirement in MdePkg library spec 0.61p
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8033 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-07 09:14:33 +00:00
gikidy deb7f094d4 MEDIA_RELATIVE_OFFSET_RANGE_DEVICE_PATH process added.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8024 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-03 08:17:25 +00:00
lgao4 db2ef756ba Add CreatePopUp API into UefiLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8016 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-02 09:29:34 +00:00
gikidy 28d3e14ffb Fix some typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8008 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-02 05:34:26 +00:00
gikidy efb86b3ad5 Add flag for device directly connect to the HBA.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8002 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-02 01:39:05 +00:00
jji4 ccb491c862 Read-Capacity16 command added for SCSI drivers
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7999 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-01 08:24:58 +00:00
gikidy 312bc8f873 New data field added follow UEFI Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7998 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-01 08:14:55 +00:00
jji4 0acd60156c Synchronized with UEFI Spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7972 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-27 07:14:00 +00:00
qhuang8 eaad1319d5 Retire RFC_3066_ENTRY_SIZE definition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7965 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-27 03:24:33 +00:00
jji4 a0d58c2124 Synchronized with UEFI Spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7959 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-26 09:30:21 +00:00
jji4 764f4d534b Synchronized with UEFI Spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7958 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-26 09:29:43 +00:00
qhuang8 35db118601 Fix minor formatting issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7939 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-24 14:31:16 +00:00
qhuang8 6d28c49754 Add GetVariabe(), GetEfiGlobalVariable() and GetBestLanguage() to UefiLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7936 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-24 14:18:13 +00:00
jji4 e8e519eb79 ISO_639_2_ENTRY_SIZE has been moved to be local.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7900 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-17 07:22:31 +00:00
vanjeff 33b30a1e4a remove some internal definitions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7881 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-15 13:23:13 +00:00
qhuang8 2c0bbf4392 Fix typos in GCC assembly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7866 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-12 05:29:11 +00:00
qhuang8 808f4a6aed Remove wrong comments in function header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7855 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 14:35:41 +00:00
qhuang8 ff565d71e1 Remove incorrect assertion. According to spec, it should not assert and should return 0.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7853 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 13:58:52 +00:00
lgao4 351d6e7fcc Correct ASSERT to more cases.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7847 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 07:54:41 +00:00
vanjeff 9dca4c66c2 comments update.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7840 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 03:05:14 +00:00
lgao4 247d3676c7 Correct comments for new null instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7832 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-06 09:15:17 +00:00
qhuang8 48f3634eca Rename library instance name from "PeCoffExtraActionLibNull" to "BasePeCoffExtraActionLibNull"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7823 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 15:29:02 +00:00
qhuang8 fd44403047 Add empty line
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7813 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 13:56:10 +00:00
qhuang8 27b2d249d5 Remove PeRemove PeiPeCoffLoader.h and gPeiPeCoffLoaderGuid, and Add PeCoffExtraActionLib class and instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7811 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 09:18:28 +00:00
qhuang8 e886512b5b Add BaseReportStatusCodeLibNull to MdePkg.dsc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7780 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-03 14:09:52 +00:00
qhuang8 2af44cf003 Add #include <Uefi/UefiBaseType.h> for the reference of "EFI_GUID" in the library class
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7779 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-03 14:09:02 +00:00
qhuang8 da0c760e76 Add BaseReportStatusCodeLibNull instance to MdePkg. This library provides empty functions in ReportStatusCodeLib class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7778 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-03 14:06:52 +00:00
qhuang8 4ab52fefd8 Re-organize the PCDs section to reduce the duplication of PCD help text and default value: every PCD token space and token pair has only one entry in DEC file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7766 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 07:38:17 +00:00
xli24 3222ffc044 Fix incorrect function headers for IoLib APIs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7762 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 06:31:55 +00:00
xli24 f5305d5a99 Refine PCI Segment Library to avoid possible intrinsic function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7752 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 05:51:01 +00:00
xli24 053b13f296 Fix the error that part of instructions of AsmWriteIva() is not included into the function body.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7751 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 03:54:47 +00:00
vanjeff a51a9ea364 remove PCI_MAX_SEGMENT from Industry Standard file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7750 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 03:19:37 +00:00
qhuang8 8408411af4 Fix typo in API prototype
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7664 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-25 02:59:42 +00:00
klu2 a357faa327 Fix build broken.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7651 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 13:07:54 +00:00
qhuang8 a9b896f453 Remove the work-around in DevicePathLib to judge the end of device path node type.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7644 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 09:15:47 +00:00
qhuang8 39f35bb558 Fix typo in last check in
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7624 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 01:21:16 +00:00
lgao4 7731944275 Add the missing PI capsule architecture protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7605 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 14:41:41 +00:00
qhuang8 bc4eb4078e Update to fix several ECC warning
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7600 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 07:04:55 +00:00
qhuang8 440ceebd78 Clean up to remove unreferenced data structure
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7599 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 07:04:13 +00:00
klu2 5cfbd05587 1, Use #if defined() to judge the switching macro such as compiler macro.
Original, some code directly judge the value of these macros, but linux ICC compiler will report error as "zero used for undefined preprocessing identifier". So it is better judge whether these macros are defined before accessing their value.
2, Use #if defined() style to replace #ifdef style.
It is good to keep consistent style for this case.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7596 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 05:51:02 +00:00
xli24 fbfa4a1da7 Minor update on capitalization for ECC check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7561 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 02:47:51 +00:00
gikidy 53250de706 Path\filename information added for Protocol/PPI/Guid section in DEC file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7540 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-18 09:00:17 +00:00
qhuang8 e8f3f94ea9 Revert some code that was checked in by mistake
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7539 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-18 05:45:44 +00:00
qhuang8 367573d3d8 Remove extra blank for array
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7538 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-18 05:25:37 +00:00
mdkinney 13f0a970d2 Make type EFI_SAL_STATUS be type INTN instead of type UINTN to match SAL Specification description.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7527 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-15 19:27:10 +00:00
mdkinney 262ffea8ec Update macros to make sure all RETURN_STATUS constants are defined to be of type RETURN_STATUS.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7526 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-14 02:14:37 +00:00
jji4 c00bdbb14a Comments synchronized with library class
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7525 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-13 09:05:43 +00:00
jji4 b677694d2e Comments checked with spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7524 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-13 09:03:56 +00:00
jji4 8f0dd97eab Spec checked
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7521 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-13 06:28:15 +00:00
mdkinney 2e121e9aaa Add #defines for commonly used Base Address and Sizes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7497 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-10 19:31:53 +00:00
lgao4 1e42ac79f2 Add MdePkgTokenSpace Guid header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7495 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-10 14:31:57 +00:00
lgao4 9e5acfd583 Change style 0 == Index to Index == 0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7493 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-10 13:17:51 +00:00
xli24 dcbb35eb6c Add comments in DSC files to explain the function and design of components section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7490 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-10 08:58:47 +00:00
qhuang8 f8d8f5473e Remove the workaround in DxeHobLib.inf that it over-specify UefiBootServicesTableLib to generate the correct sequence for library constructor for DuetPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7485 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-09 10:05:54 +00:00
jji4 f0a8eeb2c5 Comments synchronized
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7480 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-09 03:28:44 +00:00
lgao4 1f25dacf8b Clean IpfMacro.i to remove unused Macro.
Sync ReportDebugCodeLib function description to new MdeLib spec.
Update PlatformDriverOverride protocol function description according to UEFI spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7478 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-09 02:08:57 +00:00
mdkinney 9bb407c643 Fix IN OUT specifiers
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7474 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 18:34:23 +00:00
qhuang8 1bfc7438ab Fix ICC build break
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7473 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 09:34:51 +00:00
qhuang8 5fc5555520 Fix ICC build break
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7472 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 09:31:40 +00:00
qhuang8 56c0008b78 Add change log for the non-backward compatibility change in EDK_7467
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7468 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 08:32:12 +00:00
qhuang8 6544297832 Retired macro value TIME_OUT in UefiUsbLib and introduce a new PCD entry PcdUsbTransferTimeoutValue for it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7467 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 08:30:34 +00:00
qhuang8 2f5c655aae De-unicode to pass VS2005 build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7466 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 07:56:53 +00:00
jji4 47c6e0f758 Comments checked with spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7464 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 07:26:53 +00:00
jji4 63ba999ccb Comments checked with spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7463 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 07:12:56 +00:00
jgong5 f737cfb953 code scrub for UefiPxeBcDxe.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7452 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 05:07:34 +00:00
qhuang8 18e81d77cf Fix typos in comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7447 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 03:57:01 +00:00
mdkinney 3dc728fb14 Convert macros in the DevicePathLib to functions.
Addresses coding convention issues in the DevicePathLib
Should not cause any compatibility issues with any existing modules.
Adds ASSERT() checks for NULL device path nodes passed into these functions.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7445 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 01:46:55 +00:00
mdkinney 57dd2382b7 Add comment to explain use of the types "int" and "unsigned int" in the implementation of the BasePrintLib which does not follow the source code conventions used for the rest of the EDK II project.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7444 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-05 21:58:48 +00:00
mdkinney 4ab0dff338 1) Remove UEFI specific defines from IndustryStandard/PeImage.h
2) Add UEFI specific defines to Uefi/UefiBaseType.h
3) Update Base PE/COFF related libs to only use defines from IndustryStandard/PeImage.h


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7438 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-05 19:30:05 +00:00
lgao4 1862ebcfff Add Ppi/Guid/Protocol header file path into the comments for user reference.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7437 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-05 09:25:41 +00:00
qhuang8 7c90509158 Minor adjust the logic in BasePrintLib and fix several typos
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7432 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-04 10:59:54 +00:00
jji4 57a31578d3 use the GUIDed versions of events listed in all of our module/lib implementations: EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE and EVT_SIGNAL_EXIT_BOOT_SERVICES
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7418 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 08:50:03 +00:00
qhuang8 841c077074 Fix minor coding style issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7388 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-02 01:56:42 +00:00
qwang12 fc153004ff The PCD library function will do ASSERT if CallBackFunction is NULL according to Mde Library Specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7386 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-01 10:05:38 +00:00
lgao4 29666911f7 Add check when use *Pointer as Sd->mRight[*Pointer] to avoid out of Array bound.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7382 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-01 04:48:29 +00:00
mdkinney 65330ad394 Fix typos
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7379 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-30 01:25:06 +00:00
mdkinney bbc3c2d526 Split out Synchronization Library from Base Library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7378 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-30 00:47:57 +00:00
mdkinney 720d3c5fb3 Split out Synchronization Library from Base Library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7377 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-30 00:45:13 +00:00
lgao4 0ba7fffd25 Add check when use Index as Array [Index] to avoid out of Array bound.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7366 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-24 03:39:02 +00:00
qhuang8 75a3814159 Add ASSERT in case SalSystemTable is NULL.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7360 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-23 09:09:43 +00:00
lgao4 02313d1e79 Remove volatile for local Index, and Use Memory library functions to fix the reference to compiler intrinsic functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7359 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-23 08:44:26 +00:00
klu2 6a3f4ef96d DuplicateDevicePath() function use wrong comment same as AppendDevicePath() function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7352 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-23 07:18:19 +00:00
qhuang8 6cf3743ceb Fix typos in Pcd token number
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7351 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-23 05:09:12 +00:00
lgao4 9872985bb1 Add check when use Index as Array [Index] to avoid out of Array bound.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7348 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-22 15:40:06 +00:00
klu2 bc7e600329 DuplicateDevicePath() function use wrong comment same as AppendDevicePath() function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7345 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-22 08:21:30 +00:00
vanjeff 7efb1d8996 adjust code to remove Klocwork issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7322 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 03:17:15 +00:00
qhuang8 d64ac71565 Add ASSERT in case SalSystemTable is NULL.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7306 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-19 08:29:55 +00:00
qhuang8 a2bc29c4b1 Fix a bug that length might be a negative value for worker function BasePrintLibFillBuffer(). In view of this, it is better to reuse for loop to fill the buffer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7300 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-19 05:18:23 +00:00
jgong5 be973ff7f3 added newline after brief summary
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7289 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-16 00:01:10 +00:00
qhuang8 bcccf0b071 Apply BaseMemoryLib to replace the for loop.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7278 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-14 14:11:28 +00:00
vanjeff 03d77031fe 1. add gEfiDebugPortVariableGuid and gEfiDebugPortDevicePathGuid in MdePkg.dec, even though they are the same value with gEfiDebugPortProtocolGuid.
2. Meta data clean up.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7271 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-14 09:37:44 +00:00
jji4 0bb0f0c95d INF extension reviewed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7270 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-14 07:58:44 +00:00
vanjeff ad951a3714 To pass ICC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7268 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-14 07:45:27 +00:00
vanjeff 1553d07363 fixed assumption 32bit Local Apic timer counter.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7266 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-14 03:05:45 +00:00
klu2 4e6a198ccc Add UefiBootServicesTableLib library class reference in HobLib, because if no, the autogen code will generate wrong order for calling library constructor.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7263 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-13 09:51:50 +00:00
klu2 46231010bd Roll back ASSERT which is break DUET boot.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7252 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-13 06:17:52 +00:00
xli24 63d7211ebc Fix the bug that EntryPoint of DisablePaging64() is corrupted.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7250 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-13 04:20:22 +00:00
jji4 0f46efecd5 INF extension reviewed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7235 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 07:48:37 +00:00
gikidy 34b0820ec6 INF file verified, and Coding Style reviewed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7232 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 07:23:31 +00:00
jji4 9b488a3992 INF extension reviewed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7223 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 04:03:39 +00:00
jji4 fce9f9bba0 INF extension reviewed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7217 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-08 09:16:45 +00:00
vanjeff a72edceb9a minimum update function header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7212 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-08 08:28:31 +00:00
vanjeff 0a6c0fd563 Update function header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7210 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-08 08:20:28 +00:00
jji4 1727a8c649 INF extension reviewed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7209 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-08 08:07:55 +00:00
jji4 340ffb0920 Memory overflow verified
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7204 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-07 09:49:12 +00:00
gikidy d6039b1d6e Fix memory overflow.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7203 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-07 09:45:18 +00:00
lgao4 9833a9bb6c Add check for Zero Relocation section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7197 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-07 02:02:39 +00:00
qhuang8 884c8bc047 Temporarily remove the assertions and we may find some error handling way to address potential dereference to NULL pointer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7173 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-04 03:38:23 +00:00
gikidy 03bd58dc4b Add some ASSERT()s to avoid NULL reference.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7162 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-31 07:24:49 +00:00
qhuang8 373ade0eb6 Update copyright for files modified in this year
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7148 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-29 14:07:07 +00:00
vanjeff 73e4adbe68 fixed potential NULL pointer reference issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7146 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-29 07:10:16 +00:00
jgong5 0c323d071d code scrub ArpDxe
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7113 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-24 05:26:57 +00:00
vanjeff bcb85cda9d updated some comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7106 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-24 00:11:16 +00:00
jgong5 402fa70fc9 Scrubbed some code for Ip4ConfigDxe.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7100 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-23 08:23:43 +00:00
qhuang8 407310479c detab
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7089 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-22 12:50:45 +00:00
qhuang8 46d0f8abcd Update to use Dos format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7088 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-22 12:48:25 +00:00
qhuang8 6446db6e74 Update to use Dos format for all .s files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7087 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-22 12:47:53 +00:00
lgao4 9de780dcd6 Update IoLib to add MemoryFence for x86 Mmio function.
Correct IoLibGCC function comments.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7082 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-19 05:08:03 +00:00
qhuang8 4e16d2cd28 Add AccessMsrDb.s for MSFT tool chain. It uses raw data to represent instructions "mov msr[]=" and "mov =msr[]", which is only supported by INTEL & GCC tool chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7069 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-17 09:58:39 +00:00
gikidy 6e55477da3 Fix some typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7068 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-17 09:37:01 +00:00
qhuang8 8cc267ebbc Append change log for the retirement of several macros in UefiBaseType.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7058 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-16 15:41:51 +00:00
qhuang8 f1366d639f Retired the following macros defined in MdePkg/Include/Uefi/UefiBaseType.h:
EFI_SIGNATURE_16, EFI_SIGNATURE_32, EFI_SIGNATURE_64, EFI_FIELD_OFFSET, EFI_MAX_BIT & EFI_MAX_ADDRESS

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7057 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-16 15:40:29 +00:00
qhuang8 0763673064 Clean up to update the reference of the these macros:
EFI_SIGNATURE_16 -> SIGNATURE_16
  EFI_SIGNATURE_32 -> SIGNATURE_32
  EFI_SIGNATURE_64 -> SIGNATURE_64
  EFI_FIELD_OFFSET -> OFFSET_OF
  EFI_MAX_BIT      -> MAX_BIT
  EFI_MAX_ADDRESS  -> MAX_ADDRESS
These macros are not defined in UEFI spec. It makes more sense to use the equivalent macros in Base.h to avoid alias.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7055 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-16 15:33:49 +00:00
gikidy 727501bb17 Fix Some typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7041 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-16 07:01:01 +00:00
qhuang8 80619162e3 Fix typos.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7035 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-15 15:52:14 +00:00
qhuang8 59e0bb0cbd 1. Simplify the implementation of AsmReadApplicationRegister() & AsmReadControlRegister() for IPF architecture.
2. Add AsmReadMsr() & AsmWriteMsr() for IPF architecture
3. update AsmCpuMisc.s to only support GCC tool chain to avoid symbol collision.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7034 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-15 15:51:43 +00:00
ywu21 6a9eeabb65 correct a operation mistake
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7025 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-15 05:20:48 +00:00
jji4 34860f7a06 Code have been checked with spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7024 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-15 03:22:57 +00:00
ywu21 ed15fbe226 fix one bug in (EFIAPI *EFI_HII_ACCESS_FORM_CALLBACK)(), it is not aligned with spec
the paramter should be 
  IN  EFI_BROWSER_ACTION                     *Action
instead of 
  IN  EFI_BROWSER_ACTION                      Action

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7022 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-15 01:58:19 +00:00
lgao4 f6d2bcc6fa Update EntryPoint library header
Remove UefiTcgPlatform.h from Uefi Directory to IndustryStandard
Change EFI_OPTIONAL_POINTER to EFI_OPTIONAL_PTR aligned to UEFI spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7014 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-12 08:51:16 +00:00
jji4 4cb616daee IN OUT modifiers corrected
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7011 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-12 06:39:33 +00:00
gikidy 77f863ee03 Fix some typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7007 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-12 05:54:07 +00:00
jji4 fdf108f4c6 No need of PcdLib in this module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7006 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-12 05:42:26 +00:00
klu2 fd16305082 Do *not* use #elif but use seperate #define to make sure all structure can exist in doxygen document.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7005 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-12 05:21:42 +00:00
klu2 5384e3d45b Add incompatible change notes for device path.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7000 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-11 10:29:17 +00:00
vanjeff 89df7f9df7 fixed one typo
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6996 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-11 08:35:30 +00:00
lgao4 de2314f85c Apply ReallocatePool API in DxeExtractGuidedSectionLib when the allocated resource is used out. And remove PCD.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6994 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-11 07:36:58 +00:00
gikidy 4b8157f93c Modified PeiServicesTablePointerLib.h to match the Spec, and sync the c files with it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6991 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-11 06:29:24 +00:00
gikidy 4ef55dfc76 Synchronize MdePkg/Library *.h files with c files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6985 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-11 05:23:13 +00:00
gikidy efb2311707 Synchronize MdePkg h files to Library/Base* c files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6984 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-11 04:45:23 +00:00
gikidy 2fc60b7038 Synchronize BaseLib h files to c files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6983 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-11 02:59:41 +00:00
vanjeff 6f4aad3b34 fixed one bug when declaring IA32_IDT_GATE_DESCRIPTOR.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6978 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 09:29:06 +00:00
lgao4 9916492210 Update the incompatible change into ChangeLog
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6977 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 08:37:12 +00:00
lgao4 1bf793701b Add comments for enumeration, structure data members those are referred by UefiService, Runtime Service, Dxe Service and Pei Service.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6974 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 08:22:03 +00:00
gikidy 2281e7a9c3 Synchronize the h files with c files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6967 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 06:13:43 +00:00
jji4 4c395b6d95 Library classes updated in INF
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6966 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 05:41:22 +00:00
vanjeff 190f29c01b added comment for some structure
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6965 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 05:07:52 +00:00
klu2 070a76b193 Synchronize interface function comment from declaration in library class header file to implementation in library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6957 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 03:28:54 +00:00
klu2 518db1d9e0 Synchronize interface function comment from declaration in library class header file to implementation in library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6952 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 03:14:49 +00:00
klu2 f38fdc7498 Synchronize interface function comment from declaration in library class header file to implementation in library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6951 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 03:10:07 +00:00
klu2 0c3437e043 Synchronize interface function comment from declaration in library class header file to implementation in library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6949 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 03:04:00 +00:00
klu2 80f0c0c44f Synchronize function comments from library class to library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6938 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 01:39:34 +00:00
lgao4 27a57d4735 Move common smbus structure from Smbus PPI to Industry Standard Smbus.h shared between Smbus PPI and Protocol
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6937 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-09 14:35:34 +00:00
lgao4 992f22b99a Add the detailed descriptions for the structure data member in these protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6935 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-09 14:04:41 +00:00
lgao4 d0a915a5ad Add EFI_NETWORK_INTERFACE_TYPE definition
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6934 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-09 09:33:47 +00:00
vanjeff 3609613ee9 remove unnecessary detailed description for InvalidateInstructionCache(), since no more additional information than the brief description.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6933 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-09 08:59:48 +00:00
lgao4 2a53dabf62 Correct minor comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6932 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-09 08:22:53 +00:00
gikidy 2fe241a290 Synchronize comment of BaseLib.h and it's implementation to match the Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6929 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-09 07:02:26 +00:00
vanjeff 1833218d93 1. added functions header for MACROS in PCI22.h.
2. move IS_PCI_GFX to modules, since it not defined in PCI spec.
3. added comments for some structure in ElTorito.h.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6928 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-09 06:40:02 +00:00
lgao4 9319d2c206 Add comments for most of enum data type.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6924 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-08 14:48:27 +00:00
klu2 db5d3dbd76 Fix a typo
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6923 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-08 12:13:16 +00:00
eric_tian 555b51bc9a change library class name to PciSegmentLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6920 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-08 08:22:04 +00:00
vanjeff cc078d72a6 added comments for some structures and apply for doxgen format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6919 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-08 07:40:58 +00:00
klu2 f7e994abcc Fix a type for undeclared word
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6918 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-08 07:38:56 +00:00
vanjeff bf7ea00943 added comments for some structures and apply for doxgen format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6917 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-08 06:59:18 +00:00
jji4 cc8dade5eb Comments have been checked with spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6915 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-08 04:41:56 +00:00
lgao4 25cfda03f6 Remove undefined comments for status PCD.
Add comments for DebugImageInfoTable, FileInfo, FileSystemInfo and FileSystemVolumeLabelInfo Guid structure.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6914 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-08 03:24:04 +00:00
jji4 bd9162da95 PCD default value has been changed according to the spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6913 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-08 02:00:15 +00:00
lgao4 527079789c correct 0X to 0x
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6912 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-08 01:44:52 +00:00
lgao4 c3d4e543f0 Correct the unknown character and update ChangeLog.txt
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6911 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-08 01:42:01 +00:00
mdkinney daa6553a39 Use BIT8-1 insetad of UINT8_MAX
Fix a typo in a comment


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6910 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-07 23:59:51 +00:00
mdkinney f4ec40abd6 Add more detailed comments for many of the Base Types
Remove all declarations of UINT8_MAX.  Use BIT8-1 instead.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6909 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-07 23:10:08 +00:00
mdkinney 2a3f6a21d3 1) Add descriptions for the enum values or struc members for the following types:
EFI_ALLOCATION_TYPE
  EFI_MEKORY_DESCRITOR
  EFI_TIMER_DEALY
  EFI_RESET_TYPE
  EFI_INTERFACE_TYPE
  EFI_OPEN_PROTOCOL_INFORMATION_ENTRY
  EFI_LOCATE_SEARCH_TYPE
  EFI_CAPSULE_BLOCK_DESCRIPTOR
  EFI_CAPSULE_HEADER

2) Rearrange some content to eliminate the need for the forward declaration of EFI_SYSTEM_TABLE
3) Update signature declarations to use EFI_SIGNATURE_64().
4) Move macro NEXT_MEMORY_DESCRITOR() from this file to the UEFI Library.  It is not part of the UEFI Specification.
5) Fix hot key related type names to match the UEFI Specification


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6908 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-07 23:08:08 +00:00
mdkinney 6617fcc2e8 Add descriptions of EFI_PHYSICAL_ADDRESS and EFI_VIRTUAL_ADDRESS
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6907 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-07 23:01:34 +00:00
mdkinney 97c4afffcb Add descriptions for each of the width values in the enumeration
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6906 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-07 23:00:13 +00:00
mdkinney f1409bb2ea Make sure the #define for a subtype and the device path node for a subtype each have their own comment block.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6905 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-07 22:59:27 +00:00
mdkinney d1c810fcb5 Update SAL_PROC declaration to following coding standard. There should be no spaces between ')' and '(' for function typedefs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6904 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-07 22:57:13 +00:00
mdkinney b7ca87839d Add full description of the Format string to the file header of the Print Library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6903 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-07 22:56:33 +00:00
mdkinney 9bfdfa522d Move NEXT_MEMORY_DESCRIPTOR() from UefiSpec.h to UEFI Library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6902 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-07 22:55:55 +00:00
mdkinney c0edac24d5 Remove unused declarations from the UEFI Runtime Library for:
extern const EFI_EVENT_NOTIFY _gDriverExitBootServicesEvent[];
  extern const EFI_EVENT_NOTIFY _gDriverSetVirtualAddressMapEvent[];



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6901 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-07 22:55:17 +00:00
mdkinney a5c1c592c4 Update PE_COFF_LOADER_READ_FILE declaration to following coding standard. There should be no spaces between ')' and '(' for function typedefs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6900 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-07 22:53:34 +00:00
mdkinney d75f9fc227 Add macro comments for SWITCH_STACK_ENTRY_POINT
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6899 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-07 22:52:30 +00:00
ywu21 2a2df9bec9 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6890 6f19259b-4bc3-4df7-8a09-765794883524 2008-12-06 03:54:53 +00:00
mdkinney 22ce9dc5b9 Change _CR() to BASE_CR() to follow naming convention
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6886 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-06 01:19:56 +00:00
mdkinney 9a1d00cbb5 Update FUNCTION_ENTRY_POINT() to be compatible with a wider variety of input parameters.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6883 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-05 23:23:59 +00:00
mdkinney d63084d2ea Roll back change to Terminal Type PCD
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6881 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-05 22:08:22 +00:00
gikidy 62991af27f Make comments match the Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6876 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-05 09:50:02 +00:00
jji4 2297186d22 Comments have been checked with spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6873 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-05 09:25:16 +00:00
jji4 0c95b03bcd Code has been reviewed with spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6870 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-05 08:58:10 +00:00
jji4 5720947029 Comments have been checked with spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6868 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-05 08:21:57 +00:00
jji4 98db57b0ae Function name corrected
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6866 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-05 07:44:12 +00:00
gikidy 4d24730c55 Modified the #defines for BIT32..BIT63 to match the Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6865 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-05 07:43:51 +00:00
jji4 710436a7c0 PCD entries have been reviewed with spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6863 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-05 07:26:45 +00:00
gikidy d11195a3ea Update the comment for RegisterForRunimeAccess() functions to match the Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6862 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-05 07:07:50 +00:00
gikidy 6cf18cdd9b Synchronized Macro definition of GET_GUID_HOB_DATA_SIZE, GET_GUID_HOB_DATA, END_OF_HOB_LIST, GET_NEXT_HOB, GET_HOB_LENGTH, GET_HOB_TYPE with Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6861 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-05 06:35:33 +00:00
gikidy cc4aa4644e Synchronized Macro definition of GET_GUID_HOB_DATA_SIZE, GET_GUID_HOB_DATA, END_OF_HOB_LIST, GET_NEXT_HOB, GET_HOB_LENGTH, GET_HOB_TYPE with Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6860 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-05 06:33:55 +00:00
ywu21 6b005af911 add [in] [out] in comment
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6859 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-05 05:50:37 +00:00
qwang12 08105cf70f add in EDK_6857: Non-Compatible: qwang12.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6858 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-05 05:38:39 +00:00
qwang12 3ffdf7c5e2 Rename PcdDefaultTerminalType to PcdUartDefaultTerminalType based on Mde Library spec 0.61m-4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6857 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-05 05:35:16 +00:00
ywu21 0a015b7d06 update (EFIAPI *EFI_IMAGE_ENTRY_POINT) comment
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6855 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-05 04:37:01 +00:00
qhuang8 030cd1a2e9 Update the text to use "x64" instead of "X64" in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6854 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-05 03:23:13 +00:00
gikidy 3963c4bf44 Add comments for the MACRO follow the Spec, and change some definition not match the Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6852 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-05 02:28:51 +00:00
lgao4 7ca066f99b Remove todo comment in BaseLib.h
Update DxeServicesLib return status align to MdeLib spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6849 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 14:00:52 +00:00
lgao4 e349ab9abb Correct typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6843 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 08:37:06 +00:00
lgao4 14996c9669 Correct Minor Comments in M3 to M4 review.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6842 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 08:35:07 +00:00
jji4 9ccbe812c5 Function comments have been checked with spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6840 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 07:15:13 +00:00
gikidy cc39b88baa Change function IpfFlushCacheRange() to AsmFlushCacheRange() follow the Mde_Lib_Spec 0.61k
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6834 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 06:52:09 +00:00
gikidy 0465a73e02 Follow the Mde_Lib_Spec to fix the function PeCoffLoaderUnloadImage() IN/OUT issue about definition and implementation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6825 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 02:03:14 +00:00
qhuang8 b52f6a1ad8 Add CONST modifier for "Buffer" parameter in LibPcdSetPtr()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6823 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03 15:38:24 +00:00
qhuang8 5a31161acd Fix typo in function prototype.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6808 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03 05:30:10 +00:00
qhuang8 be5f161485 Add AsmEnableCache() and AsmDisableCache() as the IA32 & x64 specific BaseLib API.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6807 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03 02:19:49 +00:00
vanjeff 8ad4884016 remove DEFIO_PCI_ADDRESS from MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6805 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-02 08:57:46 +00:00
vanjeff 9cf53f0060 adjust codes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6804 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-02 08:19:15 +00:00
vanjeff 427987f5bc 1. add some comments for structures
2. refined doxgen format comments.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6803 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-02 08:15:14 +00:00
vanjeff 1fc0ee170c remove duplicated #pragma pack().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6802 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-02 08:14:09 +00:00
klu2 7e6a7a6378 Fix doxygen comment for structure definitions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6800 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-02 05:52:37 +00:00
klu2 aa4df54773 Split architecture judgement then doxygen can merge them into one document.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6799 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 19:09:01 +00:00
qhuang8 c8cc44c4b2 Remove several over-specific issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6796 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 14:40:23 +00:00
qhuang8 ff7630cc70 De-Unicode in MdePkg source files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6795 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 14:13:51 +00:00
qhuang8 cd2ed84a47 De-Unicode in MdePkg source files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6794 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 14:06:25 +00:00
qhuang8 2d8a3c1354 Update the API of UsbGetInterface() & UsbGetConfiguration () to follow MdeLib spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6792 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 13:51:41 +00:00
qhuang8 16f476fbb8 Remove ProcessLibraryDestructorList() from the library class of DxeCoreEntryPointLib. This API is not in MdeLib spec and DxeCore does not use it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6791 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 13:50:11 +00:00
qhuang8 0057fda613 Refine MdePkg library instances: Remove unnecessary EFIAPI modifier for library worker functions, fix some typos, etc
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6790 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 13:46:34 +00:00
xli24 b17f9e9526 Update PalCallLib to PalLib in BasePalLibNull.inf.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6789 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 07:39:11 +00:00
klu2 891193ee4f Fix the issue that wrong doxygen header comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6788 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 07:34:29 +00:00
lgao4 ac7e320cb8 Remove NibbleToHexChar() function from BaseLib
Move IsHexDigit, BufToHexString, HexStringToBuf from BaseLib to MdeModulePkg IfrSupportLib. The reason is:
1) IsHexDigit function provides the logic to check Hex Digit and convert it to Decimal value, which is required by IScsi LUN and HII user input. But this logic is not provided by any functions in MdeLib. So, it can't be deleted. It is moved to IfrSupportLib.
2) BufToHexString function converts a array of buffers to hex string. If the buffer length is less than sizeof (UINT64), it can be directly replaced by UnicodeValueToString(). But HII modules may use BufToHexString to convert the buffers whose length > sizeof (UINT64). For example:
.\MdeModulePkg\Universal\HiiDatabaseDxe\ConfigRouting.c line 201, 1148
.\Universal\SetupBrowserDxe\Setup.c line line 1457, 1503
Like this case, it is not easy to use UnicodeValueToString to replace BufToHexString. So, BufToHexString is still kept. Because such usages are in HII modules, this function is moved to IfrSupportLib. 
3) HexStringToBuf is moved to IfrSupportLib. The reason is similar to BufToHexString.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6782 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 02:32:12 +00:00
zliu3 b058028b67 Fix to pass the Richford tip ICC build, this check-in is need for the previous check-in version r6765 (Fix the parameter typo, it should confirm to UEFI spec.)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6775 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-29 04:01:15 +00:00
qhuang8 34ffd1bbb5 Refine the comments in PciSegmentLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6773 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-28 06:14:55 +00:00
jji4 d5979dc030 Function headers in .h and .c files synchronized with spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6770 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-28 02:18:02 +00:00
qhuang8 657073df4f Add several missing assertions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6766 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 13:31:05 +00:00
qhuang8 008dfe313e Fix the parameter typo, it should confirm to UEFI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6765 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 13:22:23 +00:00
qhuang8 286f1bd2a9 Remove GetCurrentLanguage () from UefiLib in MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6759 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 07:44:08 +00:00
qhuang8 aad6137d5c 1. Removal PalCallStatic API
2. Two two new ReadApplicationRegister.c(), ReadControlRegister.c() API together with its related definitions in BaseLib.h
3. Remove prototype of AsmSwitchStackAndBackingStore() in public BaseLib.h, it is supposed to be a worker function for AsmSwitchStack()

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6757 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 06:48:03 +00:00
qhuang8 8f446d021f Add the AND of all architectural protocols for UEFI drivers. Build tool will optimize for size if the UEFI drivers only depends on these architecture protocol. Otherwise the final dependency will be AND APs AND extra dependency inherited from [depex] sections of library instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6756 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 06:44:33 +00:00
qhuang8 5673300427 Fix constructor/destructor issue for DXE_RUNTIM_DRIVER library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6741 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 00:42:04 +00:00
gikidy 9638ba6d3f Synchronize function comment in h file
with  c file instance of  this functions in MdePkg.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6732 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 06:57:44 +00:00
jji4 122e219151 Function headers in .h and .c files synchronized with spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6731 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 06:38:05 +00:00
qhuang8 fc0c5b3a99 Add SEC as supported module types to follow MdeLib spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6730 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 04:52:59 +00:00
qhuang8 3d73239a43 Remove the EBC architecture support.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6729 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 04:40:50 +00:00
jji4 718715141a Function headers in .h and .c files synchronized with spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6728 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 04:36:05 +00:00
gikidy 3e5c323866 Synchronize function comment in
MdePkg\Library\CpuLib.h, DebugLib.h,DevicePathLib.h, DxeServicesLib.h, DxeServicesTableLib.h, ExtractGuidedSectionLib.h, HobLib.h
with the c file instance of  this functions in MdePkg.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6727 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 03:26:37 +00:00
qhuang8 003c1db883 Remove checking for overflow in several Multiple functions in BaseLib, for it is not feasible to check in C code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6726 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 01:41:49 +00:00
jji4 66770ccb0d Function headers in .h and .c files synchronized with spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6723 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25 08:38:41 +00:00
jji4 cf8ae2f6fe Function headers in .h and .c files synchronized with spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6722 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25 07:38:54 +00:00
gikidy eb1c78dbb9 Synchronize function comment in MdePkg\Library\BaseMemoryLib.h,CacheMaintenanceLib.h with the c file instance of this functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6721 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25 07:25:14 +00:00
vanjeff 13e4e1b76a remove vendor specific fields to improve CDROM read performance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6720 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25 07:00:27 +00:00
lgao4 65da001c9e Add PI_SPECIFICATION_VERSION = 0x00010000 for the following library instances, because they depend on the new definitions in PI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6719 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25 04:53:13 +00:00
gikidy 9aa049d971 Synchronize function comment in MdePkg\Library\BaseLib.h with the instance of this functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6718 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25 03:19:49 +00:00
qhuang8 04fdba5412 Fix minor issues in GCC assembly. The operand is 64bit and "q" prefix should be applied.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6717 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25 02:49:23 +00:00
lgao4 dc8577f275 Clean up the unused EDK_RELEASE_VERSION, PI_SPECIFICATION_VERSION and EFI_SPECIFICATION_VERSION from all the MdePkg INF files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6716 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25 02:36:57 +00:00
qhuang8 43fe5cdc70 Fix ICC warnings
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6714 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25 00:45:35 +00:00
qhuang8 e73bf9f394 Use ".486" for the instruction of "wbinvd"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6713 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25 00:05:41 +00:00
jji4 6089ba6250 Function headers checked with spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6710 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 09:15:55 +00:00
mdkinney 93b5b853fa Add runtime safe PCI Express Library instance
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6709 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 08:36:02 +00:00
mdkinney 3e3ae63457 Add runtime registration function to all PCI Libs
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6708 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 08:34:06 +00:00
mdkinney 0a559bb9b2 Add reallocation functions to the UEFI Memory Allocation Library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6707 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 08:32:29 +00:00
mdkinney 3b6a71fcd4 Add reallocate functions to the PEI Memory Allocation Library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6706 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 08:31:51 +00:00
mdkinney 9f4f2f0e15 Add EnableCache() and DisableCache() implementations for IA32 and X64 to the BaseLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6705 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 08:30:58 +00:00
mdkinney 298f0688f7 Add DxeRuntimePciExpressLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6704 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 08:29:41 +00:00
mdkinney f926e538ce Add runtime registration functions to the 4 PCI Library classes
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6703 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 08:29:02 +00:00
mdkinney ab95d5f223 Fix typos in the Memory Allocation Library comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6702 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 08:28:18 +00:00
gikidy badcbfb238 synchronize the files with the MDE_Library_Spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6701 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 07:54:01 +00:00
klu2 aef389d314 Remove GraphicLib library class from MdePkg.dec file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6700 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 07:21:36 +00:00
jji4 c3363c9235 Code scrub with spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6699 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 07:18:15 +00:00
klu2 98ea597bfb Should use uppercase character for return value's comment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6698 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 07:10:51 +00:00
xli24 9504e2cdd3 Rename DxePciLibPciRootBridgeIo to UefiPciLibPciRootBridgeIo.
Rename DxePciSegmentLibPciRootBridgeIo to UefiPciSegmentLibPciRootBridgeIo.
Update MODULE_TYPE and BASE_NAME accordingly.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6697 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 06:49:15 +00:00
xli24 6f6ae61dc6 RenameRename DxePciLibPciRootBridgeIo to UefiPciLibPciRootBridgeIo.
Rename DxePciSegmentLibPciRootBridgeIo to UefiPciSegmentLibPciRootBridgeIo.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6696 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 06:47:15 +00:00
vanjeff a2461f6bc7 1. refine the comments
2. use BITx

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6695 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 06:42:33 +00:00
klu2 3745e1a61e Synchronize comments with .h and .c file. Even format differences will lead doxygen think they are different comment and generate two copy comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6694 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 06:42:12 +00:00
xli24 e43e4b3e8c Refine new library instances according to review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6692 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 05:55:41 +00:00
vanjeff 519f076a47 1.retried graphics library class from MdePkg
2.retried graphics library instance from MdeModulePkg
3.Move EnableQuietBoot(), DisableQuietBoot() and LockKeyboards() into GenericBdsLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6691 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 05:49:59 +00:00
xli24 978baf50be Update supported module type of PeiPalLib according to the latest MDE library spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6690 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 03:05:43 +00:00
vanjeff 2358368cb2 remove definition not defined by UEFI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6681 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-23 13:41:15 +00:00
qwang12 4e43ee512f Remove absolute URL in comment as they may become stale.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6680 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-23 04:06:56 +00:00
mdkinney c23904319f Add ReallocatePool(), ReallocateRuntimePool(), and ReallocateReservedPool() to BaseMemoryLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6679 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-22 00:54:04 +00:00
qwang12 2f3204125d Add detailed comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6674 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 15:50:41 +00:00
jji4 91fd9c9b83 Code and comments have been checked with spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6669 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 09:31:31 +00:00
gikidy 64735d2414 synchronize the MdePkg/Include/Library/PcdLib.h and the MDE_Library_Spec.Add the commit for Macro in the PcdLib.h reference to the Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6664 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 07:07:12 +00:00
jji4 e934a7413b Function comments have been checked with spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6663 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 07:03:12 +00:00
jji4 e38fc27384 Code and comments have been checked with spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6661 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 06:56:02 +00:00
gikidy 8789c5e05f synchronize the MdePkg/Include/Library/MemoryAllocationLib.h,PalLib.h the MDE_Library_Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6660 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 06:34:54 +00:00
lgao4 0365b95135 detab
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6656 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 03:18:22 +00:00
jji4 8404146cfa Function comments have been checked with spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6655 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 03:07:28 +00:00
lgao4 73fa61fc78 Update DeviceIo protocol based on EFI 1.1 updated spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6654 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 03:00:06 +00:00
jji4 58125b7a64 Function headers and comments have been checked with spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6653 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 02:57:57 +00:00
jji4 6d6a1098d9 Function headers and comments have been checked with spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6651 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 02:03:33 +00:00
jji4 1d37ab9fb9 Code and comments have been checked with spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6650 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-20 08:55:42 +00:00
vanjeff 404c79588e retried GetGraphicsBitMapFromFV()and GetGraphicsBitMapFromFVEx(), instead using GetSectionFromAnyFv() in DxeServiceLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6649 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-20 07:19:01 +00:00
gikidy 5ac79a78c4 synchronize the MdePkg/Include/Library/IoLib.h and the MDE_Library_Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6648 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-20 06:28:39 +00:00
jji4 22d9510d9a Code have been checked with spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6646 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-20 05:19:15 +00:00
gikidy f9eb929db4 Synchronize the MdePkg\Include\Library\HobLib.h,
DxeServicesTableLib.h with the MDE_Library_Spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6644 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-20 04:55:02 +00:00
vanjeff b31547205f 1.Removed PrintXY from Graphics Library.
2.Added PrintXY and AsciiPrintXY in Uefi Library
3.Moved PcdUgaConsumeSupport from MdeModulePkg to MdePkg.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6642 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-20 03:08:28 +00:00
qhuang8 6f890d5b40 Detab
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6639 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 15:22:53 +00:00
qhuang8 ee6c452c81 Detab
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6638 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 15:14:25 +00:00
lgao4 f1004231ee Update comments for Protocol definitions to match UEFI spec. And add the missing comments for the data structure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6636 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 14:24:27 +00:00
lgao4 74fec7085b Update comments for Protocol definitions to match UEFI spec.
And add the missing comments for the data structure.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6635 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 14:23:54 +00:00
jji4 86c4360b5c Comments have been synchronized with spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6630 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 10:01:14 +00:00
gikidy d80b2f71fc Synchronize the MdePkg\Include\Library\BaseMemoryLib.h,
CacheMaintenance.h,CpuLib.h,DebugLib.h,DevicePathLib.h with the MDE_Library_Spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6629 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 10:00:35 +00:00
jji4 6a0e332d93 Comments have been synchronized with spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6628 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 09:26:01 +00:00
qwang12 adde977ad4 Fix two doxygen comment bugs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6627 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 08:57:18 +00:00
jji4 6d728ea86e Comments have been synchronized with spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6626 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 08:52:23 +00:00
jji4 d0218f26a8 clean up several unicode characters.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6625 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 08:34:41 +00:00
qwang12 285010e7dc Update doxygen comment for VarArg list parameter. "..."'s description is added.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6623 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 03:29:46 +00:00
jcarsey 19c4f0ec65 fixing Doxygen comment block
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6616 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 17:18:20 +00:00
jji4 f1db45f81a Code Scrub: Code has been checked with MDE spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6606 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 11:33:48 +00:00
jji4 940a892b9a Code Scrub: Corrected some retvals according to the spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6574 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 06:57:25 +00:00
vanjeff 223883198e refine the comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6571 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 06:01:24 +00:00
qhuang8 563353b71f Fix GCC build break.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6569 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 03:32:46 +00:00
qhuang8 d9304888c5 Add changing log for the removal of timer events macros in UefiScsiLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6566 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-17 14:28:54 +00:00
qhuang8 c1f1e9ac84 Remove 4 obsolete macros in UefiScsiLib and we have equivalent macros to the UEFI Lib for managing Timer Events
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6565 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-17 14:24:01 +00:00
qhuang8 52ca0d9816 Add 3 macros to manager Timer events.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6563 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-17 14:21:43 +00:00
qhuang8 8dd2a792d6 Add a workaround to judge the end-of-device path type:
We used to have type EFI_END_ENTIRE_DEVICE_PATH (0xff) to tag the end of entire device path.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6562 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-17 12:46:35 +00:00
jji4 d5954c618f Code Scrub:
The code of MdePkg\Library\UefiScsiLib\ and MdePkg\Library\UefiUsbLib has been checked and modified according to MDE_Library_Spec_0.61h-4.doc.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6561 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-17 11:24:14 +00:00
gikidy 17f695ed2b synchronize the MdePkg/Include/Library/BaseLib.h and the MDE_Library_Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6560 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-17 09:42:02 +00:00
vanjeff 9510db651c update comments and refine code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6559 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-17 08:13:37 +00:00
lgao4 b75a165ded Update function header align to Mde Lib spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6557 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-17 04:39:25 +00:00
jgong5 faac3f0cfe updated interface comments per UEFI Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6547 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-14 09:15:28 +00:00
xli24 08a458be1d Files of PeiPalLib uses the wrong license information in the file header. Update them.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6546 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-14 07:58:59 +00:00
jji4 297e1c35c8 Synchronization of MDE Library Spec., Mde.dec, and corresponding head files in MdePkg\Include\Library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6545 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-14 03:46:24 +00:00
jji4 50a64e5b0b Synchronization of MDE Library Spec., Mde.dec, and corresponding head files in MdePkg\Include\Library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6544 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-14 03:45:34 +00:00
qhuang8 b33bc017f8 Add change log as the brief summary of previous non-backward compatible changes to MdePkg and other packages.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6537 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 11:23:43 +00:00
qhuang8 7612bfec25 Update library instances naming.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6519 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 09:09:03 +00:00
qhuang8 ca2a999d4e Remove UefiHiiLib & UefiIfrSupportLib. They have been moved to MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6518 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 09:07:30 +00:00
qhuang8 d68a10d021 Update for the library class renaming: UsbLib -> UefiUsbLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6516 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 09:05:12 +00:00
qhuang8 172ea7c7ca Update for the library class renaming: ScsiLib -> UefiScsiLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6515 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 09:04:51 +00:00
qhuang8 4d52c1f33c Use PalLib instead of PalCallLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6514 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 09:03:20 +00:00
qhuang8 dc49f4ed7d Use PalLib instead of PalCallLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6513 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 09:02:55 +00:00
qhuang8 fa73b3be91 Use PalLib instead of PalCallLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6512 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 09:02:32 +00:00
qhuang8 ff1f2270f2 Retired PeiPiLib, all its API has been merged to PeiServicesLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6511 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 09:01:48 +00:00
qhuang8 729675ae63 Add PeiServicesInstallFvInfoPpi(). It is formerly PiLibInstallFvInfoPpi() in PeiPiLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6510 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 08:59:25 +00:00
qhuang8 eb9dd4d058 Rename DxePiLib to DxeServicesLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6509 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 08:54:56 +00:00
qhuang8 9f8741247e Remove BasePalCallLibNull
It is replaced by BasePalLibNull

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6508 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 08:53:45 +00:00
qhuang8 4c24c4eeb4 Add BasePalLibNull
It originates from BasePalCallLibNull

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6507 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 08:52:29 +00:00
qhuang8 5a92a63603 Use PalLib instead of PalCallLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6506 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 08:44:34 +00:00
qhuang8 eae739d438 Update [LibraryClasses] section for the updated library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6504 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 08:42:27 +00:00
qhuang8 6ee94442ff Remove FvbServiceLib, HiiLib & IfrSupportLib.
They have been moved to MdeModulePkg.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6503 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 08:41:46 +00:00
qhuang8 2f474bebf6 Rename ScsiLib to UefiScsiLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6500 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 08:37:19 +00:00
qhuang8 5f439bb0aa Rename UsbLib to UefiUsbLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6499 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 08:36:51 +00:00
qhuang8 f26f70add8 1. Merge the API of PiLibInstallFvInfoPpi() to PeiServicesLib and rename it to PeiServicesInstallFvInfoPpi().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6498 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 08:36:10 +00:00
qhuang8 b03a856f64 Rename PalCallLib to PalLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6497 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 08:34:34 +00:00
qhuang8 fdbee2e42b Rename DxePiLib to DxeServicesLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6496 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 08:33:28 +00:00
lgao4 484c77852e Update minor comments for Smbus, PcdLib, PeiServicesLib library instance. And change UefiRuntimeLib instance type to UEFI_DRIVER according to MdeLib spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6495 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 08:30:16 +00:00
jgong5 30c99a724c Updated protocol function header per UEFI Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6485 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 06:26:27 +00:00
xli24 75c123cc9a Use correct signature to fix the bug that Tiger platform cannot boot to OS.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6474 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-12 09:33:02 +00:00
klu2 5754266570 Remove unnecessary header file including for library class in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6467 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-12 06:09:02 +00:00
jgong5 83497f5d1f fixed comments to follow UEFI Spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6466 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-12 02:27:50 +00:00
qhuang8 766f4bc137 Revert all the #pramga(1) related patches to r6434, we need to review all the updates carefully.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6461 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-11 22:21:08 +00:00
klu2 e5dab01618 1, Move device path utility macros from protocol's header file to DevicePathLib library classes
2, Remove Unpack type

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6455 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-11 15:39:02 +00:00
xli24 1a3eaf06d5 Add following library instances to MDE package:
1. DxePciLibPciRootBridgeIo
2. DxePciSegmentLibPciRootBridgeIo
3. PeiPciLibPciCfg2
4. PeiPciSegmentLibPciCfg2
5. UefiPalLib
6. UefiSalLib 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6451 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-11 08:33:02 +00:00
vanjeff c76a83cc63 add #pragma pack(1) for some structures.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6449 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-11 06:22:39 +00:00
qwang12 3ae59f5547 Rename EfiScsiStallSeconds to EFI_SCSI_STALL_SECONDS to follow the naming convention for MACRO.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6443 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-10 12:56:32 +00:00
vanjeff 4f1afaacb2 add #pragma pack(1) for some structures.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6439 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-10 09:11:32 +00:00
vanjeff 54569f0f8f remove un-necessary #pragma pack(1) and clean up doxgen format.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6437 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-10 05:28:57 +00:00
vanjeff 55c11cc892 remove un-necessary #pragma pack(1) and clean up doxgen format.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6435 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-10 02:48:42 +00:00
eric_tian 2563c29363 +++++ mdkinney 11/5/2008 11:08:13 PM
The library class DxeSmmDriverEntryPoint is no longer required.  It is identical to UefiDriverEntryPoint, so that library class should be used.  We can still have a different library instance for UEFI and DXE SMM drivers, but they can share the same lib class defintion.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6432 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-07 10:00:54 +00:00
vanjeff a7cc3d261c add function header for SIGNATURE_XX, according to MDE Spec, 0.61e-7
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6428 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-07 09:05:44 +00:00
qhuang8 85cd6cd717 Add gEfiDriverConfigurationProtocolGuid GUID C Name in INF.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6423 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-07 06:30:22 +00:00
qhuang8 3a6779fa22 Update the implementation of EfiLibInstallAllDriverBinding2().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6419 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-07 06:23:56 +00:00
qhuang8 def220c4e5 Add extra DriverConfiguration2 protocol parameter for EfiLibInstallAllDriverbinding2() API in UefiLib class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6418 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-07 06:23:27 +00:00
qhuang8 f5b2c45bf3 Add IA32, x64 & EBC version of EfiConvertFunctionPointer()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6416 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-06 13:56:29 +00:00
qhuang8 20742255f1 Add new API in UefiRuntimeLib to convert function pointer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6415 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-06 13:55:41 +00:00
qhuang8 c759eb45e2 At bit mask for PEI/DXE dispatch
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6414 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-06 11:44:39 +00:00
qhuang8 f2f3113fd5 Minor comments update to remove long line (column num > 120)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6413 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-06 08:31:19 +00:00
qhuang8 9636e0321a Remove gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultTimeout. This Pcd was for framework BDS modules, which scattered in platform modules. Now we have new UEFI BDS in MdeModulePkg with the equivalent PCD “gEfiMdeModulePkgTokenSpaceGuid.PcdPlatformBootTimeOutDefault”
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6409 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-06 01:34:40 +00:00
eric_tian 7d5cac7f41 Vertical check - Every PCD entries in DEC file need to have comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6407 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-05 17:00:53 +00:00
qwang12 1b37333d61 Add two EFI Modifier.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6388 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-05 04:58:29 +00:00
qwang12 9185c388a9 Sync in bug fix from EDK I:
1) issue with setup browser and IFR refresh opcode
2) [HII]HIIConfigRoutingExportConfig generate error format of <MultiConfigAltResp>
3) [HII] ConfigRouting->ExtractConfig() will cause overflow
4) [Hii Database] EFI_HII_DATABASE_NOTIFY should be invoked when a string package is created internally when a new String Token is created
5) [PT]HIIConfigAccessProtocolTest fail on NT32uefi
6) Incorrect HII package types in EDK

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6377 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-04 14:22:22 +00:00
qwang12 ba954c772d PcdPciExpressBaseAddress is also defined as Dynamic type PCD.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6376 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-04 14:18:31 +00:00
qwang12 3e4495f9b8 remove DEBUG_DEPEX as it does not pass design review yet.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6375 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-04 14:17:07 +00:00
qwang12 fc652b8648 Update doxygen comment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6374 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-04 14:16:02 +00:00
qwang12 282b7ec619 Update function prototype modifier.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6373 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-04 14:15:18 +00:00
vanjeff 53bbea41b8 add more comments, adjust size from 255 to 254.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6372 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-04 08:12:49 +00:00
qwang12 3e1e8492a7 Add in a new debug mask bit EFI_D_DEPEX. It is used to enable the debug message related to Dependency evaluation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6362 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-03 10:58:14 +00:00
qhuang8 a1fc19db9f Use #include "XXX.h" for module internal header files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6361 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-03 09:25:29 +00:00
qhuang8 b1ff428c96 Update to use DOS format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6360 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-03 09:25:10 +00:00
vanjeff db835e01d3 add some comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6359 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-03 02:03:43 +00:00
vanjeff 37640ed353 clean up Atapi.h to follow ATA-ATAPI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6358 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-03 01:42:53 +00:00
qwang12 86026b9dff Fix a typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6356 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 08:19:34 +00:00
qwang12 410835874a Add in the OPTIONAL modifier.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6355 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 08:07:11 +00:00
qwang12 e4508cd832 Fix a prototype bug.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6354 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 07:59:47 +00:00
qwang12 c1b1d7a022 Fix a prototype bug.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6353 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 07:58:50 +00:00
qwang12 63766b6de4 Fix the doxygen comment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6351 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 07:23:13 +00:00
qwang12 33de5999a7 Fix the doxygen comment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6350 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 07:22:44 +00:00
qhuang8 f7763aa493 De-Unicode
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6348 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 05:53:03 +00:00
qhuang8 242942b20f De-Unicode
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6347 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 04:59:35 +00:00
qhuang8 5d51e4639b De-Unicode
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6346 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 04:59:08 +00:00
qhuang8 6c40137733 Use #include "XXX.h" for module internal header files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6332 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 04:33:37 +00:00
qhuang8 b687d19184 Use #include <XXX.h> for public include files.
Remove commented code.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6331 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 04:33:14 +00:00
qhuang8 47fc17d8a9 Use #include "XXX.h" for module internal header files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6330 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 04:32:02 +00:00
qhuang8 a0f1b047fa Use #include <XXX.h> for public include files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6329 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 04:27:34 +00:00
qhuang8 c8e2c759e7 Update to use DOS format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6328 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 04:26:08 +00:00
qhuang8 488ee64192 Update to use DOS format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6327 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 04:25:23 +00:00
qhuang8 de22b69836 Update to use DOS format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6326 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 04:25:09 +00:00
qhuang8 a3538497a3 Update to use DOS format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6325 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 04:23:58 +00:00
qhuang8 a6ae3de442 Update to use DOS format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6324 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 04:23:40 +00:00
qhuang8 98c39c6b10 Update to use DOS format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6323 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 04:23:14 +00:00
qhuang8 7270fe8720 Update to use DOS format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6322 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 04:22:58 +00:00
qhuang8 e82e1acc55 Update to use DOS format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6320 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 03:44:07 +00:00
qhuang8 32ed92de95 Update to use DOS format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6319 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 03:42:31 +00:00
qhuang8 4754c98b06 Update to use DOS format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6318 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 03:39:53 +00:00
qhuang8 95f484c920 Update to use DOS format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6317 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 03:38:21 +00:00
qwang12 c59f6dcebe add info for removal of SafeFreePool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6309 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30 09:17:01 +00:00
qwang12 bb1d8ee669 Remove SafeFreePool from MemoryAllocationLib as this API's name is misleading. Its implementation only check if a pointer is NULL. If a garbage pointer is passed in, the gBS->FreePool will still ASSERT in debug build and return error code.
It is recommended that module writer should keep track how a pointer is allocated and free it after use.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6305 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30 07:31:31 +00:00
qwang12 34abfd7cf8 Rename the global variable to avoid possible symbol conflict.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6304 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30 07:02:14 +00:00
qwang12 58228071ab Rename the global variable to avoid possible symbol conflict.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6303 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30 06:59:04 +00:00
jji4 fe467413d2 Patch to remove STATIC modifier. This is on longer recommended by EFI Framework coding style. All duplicated symbols has been renamed accordingly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6295 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30 05:58:52 +00:00
klu2 5da37ddae3 Adjust assembler's comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6288 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30 01:23:36 +00:00
xli24 a7e883d867 Move FvbServiceLib, GraphicsLib, and DxePalLib from MDE package due to package dependency issue, and update all DSC files accordingly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6286 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-29 09:36:06 +00:00
vanjeff 3ea27e1a8b ATA_REQUEST_SENSE_ERROR is not defined in ATA spec and no one use it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6285 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-29 07:27:15 +00:00
klu2 ebc5f59da4 Remove duplicate module in MdePkg DSC file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6282 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-29 03:22:41 +00:00
eric_tian e34ecc8a1e Remove unnessary UEFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION in INF file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6281 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-29 03:17:21 +00:00
xli24 2faf4da5f7 Refine comments of X64 assembly files of MDE BaseLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6277 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 14:23:36 +00:00
xli24 0047820e1b Refine version info in MDE file header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6275 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 13:04:40 +00:00
vanjeff 57246fe073 sync comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6274 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 09:51:44 +00:00
xli24 85ea851e6a Refine file header for INF files of MDE library instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6273 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 09:45:52 +00:00
eric_tian 0308e20dc6 1. build.py's changes : include XXXEntryPointLib.h into the corresponding autogen.c files of various modules to avoid the inconsistence between the interface definition of library class and the implementation of autogen.c
2. code base changes : modify some interface definitions to follow the lastest Mde Library Spec.
3. PeiCore changes : remove the return value of PeiCore() which is meaningless as PeiCore will never reach the end of procedure.replace it with VOID.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6271 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 09:07:50 +00:00
vanjeff ad6d2a4ae6 adjust file list order in dsc file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6268 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 07:45:15 +00:00
vanjeff 078bee4ebf clean up EBC in inf files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6267 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 07:17:17 +00:00
klu2 9a833c8121 Add missing protocol header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6265 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 06:27:08 +00:00
qhuang8 1875720816 Add back gEfiFormBrowser2ProtocolGuid & gEfiFormBrowser2ProtocolGuid as they were actually used by LocateFormBrowser2Protocols() in this library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6264 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 06:16:15 +00:00
qhuang8 9d96b05505 Fix EFI_IMAGE_NT_SIGNATURE (PE00). (Its value should be 0x00004550.)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6263 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 05:42:41 +00:00
xli24 55256f511d Update supported module type of MDE library instances according to MDE library spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6261 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 05:27:08 +00:00
klu2 464cf9884f Remove over specify protocol/ppi/guid
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6260 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 03:42:12 +00:00
vanjeff bb40027d7c move Ia32DivS64x64Remainder.c to Ia32/DivS64x64Remainder.c.
remove #ifdef _MS_EXTENTION_, since those files has been assigned to MS compiler in INF file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6259 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 03:19:37 +00:00
vanjeff aa5f2556fb Copied remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6258 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 03:16:59 +00:00
vanjeff bf314e671b update files header
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6257 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 02:51:12 +00:00
qwang12 01f6d467de Move global variable to the top of C file for consistent coding style.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6256 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 00:59:17 +00:00
vanjeff 13c310654c added EFI_SIGNATURE_XX in Base.h, and updated the industry header files to use them.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6252 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 06:59:25 +00:00
vanjeff 3052ec6b91 re-defined CDROM_VOLUME_DESCRIPTOR to be a union including Boot Record Volume Descriptor and Primary Volume Description.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6250 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 03:34:58 +00:00
mdkinney c17f446756 Rename Print() to VPrintXY() to eliminate symbol collision with the Print function in the UefiLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6248 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 02:33:17 +00:00
mdkinney dc31771382 Add X64 Gate Descriptor
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6247 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 02:20:02 +00:00
vanjeff bc14bdb317 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6240 6f19259b-4bc3-4df7-8a09-765794883524 2008-10-27 01:52:32 +00:00
qwang12 a979fca9e0 Uefi.h include is required as this module need the EFI_CONFIGURATION_TABLE type definition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6238 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-26 10:07:39 +00:00
qwang12 2616448e98 Coding style fix.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6237 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-26 10:06:58 +00:00
qwang12 589782135e Coding style fix.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6236 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-26 10:06:24 +00:00
qwang12 6053411eaa Coding style fix.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6235 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-26 10:05:44 +00:00
qwang12 751635bb0b Coding style fix.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6234 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-26 10:05:24 +00:00
qwang12 2278f5f3ac Coding style fix.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6233 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-26 10:05:12 +00:00
qwang12 1fd83dd2da Include DevicePath.h as this file need EFI_DEVICE_PATH_PROTOCOL's definition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6232 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-26 09:49:35 +00:00
qwang12 18e6a25f7b Remove the unnecessary include file: Uefi.h. Module should include this file base on the specification it comply with.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6230 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-26 06:59:27 +00:00
xli24 9a022931a6 Modify DSC file according to update of MDE library instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6226 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-25 16:18:49 +00:00
xli24 677472aae4 1. Rename following library instances according to MDE Library Spec:
1) SerialPortLibNull => BaseSerialPortLibNull
2) DxeMemoryLib => UefiMemoryLib
3) DxeMemoryAllocationLib => UefiMemoryAllocationLib
4) CpuLib => BaseCpuLib
5) HiiLib => UefiHiiLib
6) IfrSupportLib => UefiIfrSupportLib
7) PeiPalCallLib => PeiPalLib

2. Add library instances to MDE package
1) DxePalLib
2) FvbServiceLib
3) GraphicsLib


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6221 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-25 16:03:02 +00:00
xli24 7e43ed89b2 Refine code for ECC check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6217 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 08:18:36 +00:00
xli24 14f268ba2a Revert CpuId and CpuIdEx to r6213.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6216 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 07:39:52 +00:00
xli24 610204a84c Sync function prototype of CpuId and CpuIdEx with MDE library specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6215 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 07:05:21 +00:00
klu2 1fa524e97d Fix ECC issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6214 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 06:51:40 +00:00
vanjeff 44b013bd6e ECC Cleanup.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6213 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 06:06:42 +00:00
vanjeff 572b6b1acb rename filename to match the actual ones.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6212 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 05:51:07 +00:00
vanjeff 83c20be1a4 Renamed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6211 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 05:41:25 +00:00
vanjeff efe146fcb8 Renamed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6210 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 05:41:01 +00:00
vanjeff 719d0c91d8 Renamed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6209 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 05:40:31 +00:00
vanjeff 248a4d9787 Renamed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6208 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 05:39:59 +00:00
vanjeff 7612cbf0f8 ECC Clean up.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6207 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 05:37:02 +00:00
vanjeff 67e66cd55c ECC Clean up.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6206 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 04:30:32 +00:00
vanjeff 43025b293f ECC Clean up.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6205 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 02:55:01 +00:00
eric_tian 2f3d6fb515 synchronize asm and s file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6204 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 02:50:40 +00:00
eric_tian 2fb8d3e2df Fix .S assembler building issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6203 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 02:21:54 +00:00
klu2 4d9ff8bee4 Add .S source file to INF
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6202 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 01:57:37 +00:00
klu2 1dc58db39b Add S assembler file for BaseMemoryLibOptDxe driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6201 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 01:49:11 +00:00
klu2 bf131e739a Add linux assembler code for BaseMemoryLibOptPei library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6200 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 01:24:31 +00:00
vanjeff 1f76500ee9 Clean up PeImage.h according to code review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6199 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-23 07:47:13 +00:00
xli24 76d9959482 Update EBC sub-dir of BaseLib according to code review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6198 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-23 07:17:18 +00:00
vanjeff 000f6a288d clean up according to code review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6197 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-23 07:06:27 +00:00
xli24 c2049caa25 Update GCC assembly files for MdePkg/Library/BaseLib/X64
1. Fix bugs in assembly instructions
2. Change module names in comments from .asm to .S


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6196 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-23 07:02:59 +00:00
eric_tian 852f5d9673 unify the name convention of label in .S files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6195 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-23 06:46:29 +00:00
vanjeff 6981c77851 clean up AlertStandardFormatTable.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6194 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-23 06:37:39 +00:00
xli24 1f86b07d91 Update GCC assembly files for MdePkg/Library/BaseLib/Ia32
1. Fix bugs in assembly instructions
2. Change module names in comments from .asm to .S


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6193 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-23 06:20:02 +00:00
eric_tian 6b3a2ca003 wrap ASM_PFX macro to avoid generating symbols preceded by underscore in Linux Gcc or Mingw Gcc
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6192 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-23 05:28:43 +00:00
eric_tian a8f1dcd7b7 modify CopyMem.S to align with CopyMem.asm
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6191 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-23 05:17:35 +00:00
xli24 a7b6458434 Create Pal.h for industry standard in MDE Package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6190 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-23 03:38:25 +00:00
klu2 e87c057a53 Add description for NULL return value.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6189 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-22 15:32:13 +00:00
vanjeff 3ed785e9b6 apply for doxgen format comments.
move 2 structure around PXE Base Code Protocol from UefiPxe.h to PxeBaseCode.h.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6187 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-22 09:27:42 +00:00
eric_tian 4df876adfb add corresponding .S files for BaseMemoryLibXXX X64 arch. Note that we use ".intel_syntax noprefix" directive to simplify the .S implementation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6184 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-22 08:36:39 +00:00
vanjeff 710a5b3584 1.removed DivS64x64Remainder.c since it has been moved to upper directory.
2.removed blank lines from DivU64x32Remainder.c

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6183 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-22 08:14:35 +00:00
klu2 5ad97f352b Adjust doxygen comment style for structure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6181 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-21 18:58:59 +00:00
klu2 842a119dba fix no ascii char
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6180 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-21 18:39:04 +00:00
klu2 dc19304646 Adjust doxygen comment style for structure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6179 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-21 18:36:50 +00:00
klu2 11f2f87e5c Adjust doxygen comment style for structure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6178 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-21 18:35:06 +00:00
klu2 1544a668ad Adjust doxygen comment style for structure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6177 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-21 18:16:04 +00:00
klu2 84c11ea2ba Adjust doxygen comment style for structure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6176 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-21 18:07:48 +00:00
klu2 2d824143fe Add comment for device path protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6175 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-21 18:04:22 +00:00
klu2 d305754388 synchronize paramter string with comment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6174 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-21 17:53:08 +00:00
qhuang8 5d7ceba357 Fix typo to pass build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6171 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-21 13:33:38 +00:00
qwang12 8161369252 Update some comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6170 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-21 08:23:13 +00:00
vanjeff 98a33bf460 added pack(1) for EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR, since it will cross modules through protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6169 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-21 07:49:46 +00:00
qwang12 0827d304f6 Update comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6168 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-21 06:55:38 +00:00
eric_tian d531bfee01 CodeReview for MdePkg/BaseMemoryXXX libraries. Refine file description, function comments and move some redundant logic.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6167 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-21 06:52:21 +00:00
qwang12 a86fda431e 1) Update SetPeiServicesTablePointer's prototype add CONST modifier.
2) Move STRING_REF from MdePkg/Include/Uefi/UefiBaseType.h to IntelFramework/Include/Protocol/FrameworkHii.h.
3) Move RELOFST from MdePkg/Include/Uefi/UefiInternalFormRepresentation.h to IntelFramework/Include/Protocol/FrameworkHii.h.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6165 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-21 05:52:19 +00:00
vanjeff 19fd6450a3 Re-defined PCD_INVALID_TOKEN_NUMBER in header files of PCD Ppi&Protocol, since it will be added into PCD Spec. Removed PCD_INVALID_TOKEN_NUMBER from Pcd Library class, since it wasn't defined in MDE Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6164 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-21 05:05:48 +00:00
qwang12 822ce2260e Update comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6161 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-21 01:59:19 +00:00
qwang12 bdf0fc407c deleted an empty space.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6159 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-21 01:08:12 +00:00
xli24 dfc5aca1ac Move definition of EFI_SCSI_TARGET_MAX_BYTES from IndustryStandard in MDE Package to UefiScsiLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6158 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-20 15:34:16 +00:00
xli24 e0c047a04b Update MdePkg/Include/Uefi according to code review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6157 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-20 15:31:22 +00:00
xli24 4135253bde Update IndustryStandard according to code review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6155 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-20 15:16:32 +00:00
klu2 ee256e2c4d Fix ECC issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6154 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-20 14:27:06 +00:00
xli24 955c32f2f0 Change style of (CONSTANT == Var) to (Var == CONSTANT) for BaseLib/String.c.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6153 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-20 14:24:36 +00:00
klu2 dcda0d6c94 Fix ECC issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6152 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-20 14:22:39 +00:00
klu2 d27e363bc3 Fix ECC issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6151 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-20 14:22:22 +00:00
klu2 6c448d5b6f Fix ECC issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6150 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-20 14:15:55 +00:00
klu2 dd65208878 Fix ECC issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6149 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-20 14:12:50 +00:00
klu2 47501b697f Fix ECC issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6148 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-20 14:05:39 +00:00
klu2 faf46b4071 Fix ECC issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6147 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-20 14:01:43 +00:00
klu2 f81656f74d Fix ECC issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6146 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-20 14:00:00 +00:00
klu2 6f5988df3f Fix ECC issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6145 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-20 13:56:32 +00:00
klu2 f7748accf9 Fix ECC issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6144 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-20 13:55:26 +00:00
klu2 1cf0d9d647 Fix ECC issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6143 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-20 13:51:42 +00:00
eric_tian 4f57ff1853 Vertical check - DEC [LibraryClasses] section matches all the library classes header files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6141 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-20 10:24:18 +00:00