Commit Graph

796 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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 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
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
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
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
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