Commit Graph

6069 Commits

Author SHA1 Message Date
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
vanjeff b5a1d1d94a retried graphics library class from MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6693 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 06:03:18 +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
jljusten d52be0e242 Use the Controller handle to open the protocol, rather than the
NULL handle which was stored in Private->Handle.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6689 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 00:37:12 +00:00
jljusten 6f716497de Resolve a bug where the initial ReadEdidData 'for' loop would loop
infinitely, since the Index variable was declared as UINT8, and
'EDID_BLOCK_SIZE * 2' is 256. 

In the EFI_SUCCESS return path of CirrusLogic5430VideoModeSetup, check
that 'EdidOverrideDataBlock' has been allocated before attempting to
free this memory.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6688 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 00:30:53 +00:00
jljusten d9b834afbf Move call to CoreDisplayDiscoveredNotDispatched to be before the
ASSERT_EFI_ERROR (CoreAllEfiServicesAvailable ());
statement, since this ASSERT can force the system to hang.  Since
drivers not loading may be the reason that not all EFI services are
available, it is helpful to display the non-dispatched driver list
before using the ASSERT.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6687 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 00:19:49 +00:00
jljusten 9490351076 Add useful DEBUG message for determining the when drivers are
being loaded and dispatched.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6686 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 00:14:27 +00:00
jljusten 7c04a67908 Resolved several warnings generated by GCC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6685 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-23 23:57:13 +00:00
jljusten 8e53d24672 Resolved several warnings generated by GCC.
In PcatPciRootBridge.c -> GetPciExpressBaseAddressForRootBridge,
fixed a hang condition if the PCI Express Base Address HOB is
not present.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6684 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-23 23:55:02 +00:00
jljusten d4f59c13fb Fix warning generated by GCC compiler.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6683 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-23 23:49:37 +00:00
jljusten 69da1e7c48 Fix warning generated by GCC. This warning could have been resolved
with additional parenthesis, but I think the logic was previously
incorrect.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6682 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-23 23:47:14 +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
mdkinney c46484952a Update to use ReallocatePool() from BaseMemoryLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6678 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-22 00:52:53 +00:00
mdkinney d777486198 Update to use ReallocatePool() from BaseMemoryLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6677 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-22 00:52:31 +00:00
mdkinney 7b3381a232 Clean up
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6676 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-22 00:51:51 +00:00
jljusten 6ff04b8e40 Use VFRPP tool for VFR pre-processing.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6675 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 19:09:26 +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
qwang12 35d59af39e 1) StrGather (Build.exe) in compatible mode add a Framework Package Header to replace the original “ArrayLength” generated in the output.
2) VfrCompiler in compatible mode add a Framework Package Header to replace the original “ArrayLength” generated in the output.
3) HII Thunk module nows support Narrow Font registered using Framework New Pack HII interface.
4) Fix a bug in IfrLibCreatePopUp2 by updating the prototype. The previous way of using VA_START to get the address of parameter in the argument list and expecting the parameters that follows will be found using VA_ARG macro is wrong. 


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6673 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 15:08:07 +00:00
qwang12 70d72ba978 1) StrGather (Build.exe) in compatible mode add a Framework Package Header to replace the original “ArrayLength” generated in the output.
2) VfrCompiler in compatible mode add a Framework Package Header to replace the original “ArrayLength” generated in the output.
3) HII Thunk module nows support Narrow Font registered using Framework New Pack HII interface.
4) Fix a bug in IfrLibCreatePopUp2 by updating the prototype. The previous way of using VA_START to get the address of parameter in the argument list and expecting the parameters that follows will be found using VA_ARG macro is wrong. 


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6672 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 15:07:50 +00:00
qwang12 1459f3cd48 1) StrGather (Build.exe) in compatible mode add a Framework Package Header to replace the original “ArrayLength” generated in the output.
2) VfrCompiler in compatible mode add a Framework Package Header to replace the original “ArrayLength” generated in the output.
3) HII Thunk module nows support Narrow Font registered using Framework New Pack HII interface.
4) Fix a bug in IfrLibCreatePopUp2 by updating the prototype. The previous way of using VA_START to get the address of parameter in the argument list and expecting the parameters that follows will be found using VA_ARG macro is wrong. 


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6671 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 15:07:14 +00:00
vanjeff b643f69c98 using the exact device path DEBUGPORT_DEVICE_PATH.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6670 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 09:48: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 31771abd0b synchronize the file with the MDE_Library_Spec and fixed some typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6668 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 09:27:14 +00:00
vanjeff 204ba917ba code scrub.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6667 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 08:32:38 +00:00
lgao4 cd3c4fcdfd 1. Enhance GenFv WriteFvMap function to print basic debug information (entrypoint, baseaddress, .text, .data section base address) when no map can be referred.
2. Enhance GenFv tool to create the non PI file system firmware volume.

3. Update VfrComile 
 1) Set the first framework var store name to “Setup”
 2) Support DEFAULT and MANUFACTURING for framework CheckBox flags value

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6666 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 07:23:17 +00:00
vanjeff 2d285faad8 Code scrub for DebugPortDxe.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6665 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 07:13:33 +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
qwang12 f4113e1fdb 1) Remove the variable initalization in declaration.
2) Change all gBS->FreePool to use the MdePkg/BaseLib's FreePool.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6662 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 06:59:58 +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 05f89b17b8 1. Add Max Try Times check to clear Ps2Kbd status register. If exceed the max try times, the device may be error.
2. To follow PI spec, PciCfg PPI doesn't require ASSERT for the unalign PCI IO access.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6659 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 05:55:40 +00:00
jwang36 d4a20ec9dc Changed the way to compare the content of AutoGen with the file to be generated from it. This is to solve the re-generation issue of AutoGen files because of the newline format is different between the internal representation and the file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6658 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 04:38:01 +00:00