]> git.proxmox.com Git - mirror_edk2.git/log
mirror_edk2.git
13 years agoCode refinement.
xli24 [Tue, 13 Jul 2010 03:08:54 +0000 (03:08 +0000)]
Code refinement.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10647 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoChange type of PcdSrIovSupport/PcdAriSupport/PcdMrIovSupport from FeatureFlag to...
rsun3 [Tue, 13 Jul 2010 02:23:27 +0000 (02:23 +0000)]
Change type of PcdSrIovSupport/PcdAriSupport/PcdMrIovSupport from FeatureFlag to [FixAtBuild, PcdDynamics].

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10646 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoReturn from ProgramBar() after VF BARs are programmed.
rsun3 [Tue, 13 Jul 2010 02:13:55 +0000 (02:13 +0000)]
Return from ProgramBar() after VF BARs are programmed.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10645 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFix bugs in the PCI bus driver to support SR-IOV.
rsun3 [Tue, 13 Jul 2010 01:58:47 +0000 (01:58 +0000)]
Fix bugs in the PCI bus driver to support SR-IOV.
1. Expand the type of Offset in the _PCI_BAR structure from UINT8 to UINT16, because a VF BAR’s offset may be >= 0x100;
2. Enable ARI Capable Hierarchy for SR-IOV devices at earlier time because FirstVFOffset and VFStride of a SR-IOV device may change after its ARI Capable Hierarchy is set;
3. Change type of PcdSrIovSupport, PcdAriSupport, PcdMrIovSupport from FeatureFlag to [FixAtBuild, PcdDynamics], which allows SR-IOV/MR-IOV/ARI feature can be turn on/off dynamically, typically via a setup option.
4. Change PCI bus scan algorithm in PciScanBus() to prevent the case where some ARI extended functions may be skipped in the scan loop.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10644 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoremove duplicated code.
vanjeff [Mon, 12 Jul 2010 06:21:42 +0000 (06:21 +0000)]
remove duplicated code.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10643 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoRemoved the requirement to pass in at least one parameter to the script.
geekboy15a [Fri, 9 Jul 2010 19:42:03 +0000 (19:42 +0000)]
Removed the requirement to pass in at least one parameter to the script.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10642 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoPorted more of EdkCompatabilityPkg to ARM to support SCT port.
andrewfish [Fri, 9 Jul 2010 00:07:30 +0000 (00:07 +0000)]
Ported more of EdkCompatabilityPkg to ARM to support SCT port.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10641 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoRemove ASSERT and change to if ()
hhuan13 [Thu, 8 Jul 2010 05:29:10 +0000 (05:29 +0000)]
Remove ASSERT and change to if ()

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10640 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFix a bug by adding * for Ptr8
hhuan13 [Thu, 8 Jul 2010 05:17:47 +0000 (05:17 +0000)]
Fix a bug by adding * for Ptr8

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10639 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoAdd a tempate for a RealView FVB for the variable services.
andrewfish [Thu, 8 Jul 2010 00:39:11 +0000 (00:39 +0000)]
Add a tempate for a RealView FVB for the variable services.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10638 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoUpdate the previous fix to only shadow the function for supported processor architect...
andrewfish [Wed, 7 Jul 2010 23:27:08 +0000 (23:27 +0000)]
Update the previous fix to only shadow the function for supported processor architectrues. The old way required non supported processor architectures to opt out.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10637 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFix issue with ARM port. Image.c shadow code is not ANSI C and crashes on ARM. So...
andrewfish [Wed, 7 Jul 2010 23:10:14 +0000 (23:10 +0000)]
Fix issue with ARM port. Image.c shadow code is not ANSI C and crashes on ARM. So I did the same thing that is done on Itanium and skipped the shadow for ARM architecture in all cases.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10636 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFix a bug:
hhuan13 [Wed, 7 Jul 2010 05:55:41 +0000 (05:55 +0000)]
Fix a bug:
RFC 2132, Section 9.5 does not strictly state Bootfile name (option 67) is null
terminated string. So force to append null terminated character at the end of string.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10635 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoUpdate EdkShellBinPkg to integrate a patch in Shell SVN r41.
qhuang8 [Wed, 7 Jul 2010 02:30:13 +0000 (02:30 +0000)]
Update EdkShellBinPkg to integrate a patch in Shell SVN r41.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10634 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFix the issues that StatusCode can't work when PcdStatusCodeUseMemory is set to TRUE...
lgao4 [Mon, 5 Jul 2010 09:01:39 +0000 (09:01 +0000)]
Fix the issues that StatusCode can't work when PcdStatusCodeUseMemory is set to TRUE or PcdStatusCodeUseDataHub is set to TRUE.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10631 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFix the issues that StatusCode can't work when PcdStatusCodeUseMemory is set to TRUE.
lgao4 [Mon, 5 Jul 2010 08:59:57 +0000 (08:59 +0000)]
Fix the issues that StatusCode can't work when PcdStatusCodeUseMemory is set to TRUE.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10630 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoInitialize lists ArpService->PendingRequestTable/DeniedCacheTable/ResolvedCacheTable...
xdu2 [Mon, 5 Jul 2010 02:11:05 +0000 (02:11 +0000)]
Initialize lists ArpService->PendingRequestTable/DeniedCacheTable/ResolvedCacheTable before firing timer ArpService->PeriodicTimer. This remove the race condition in ArpCreateService(): it is possible for the timer event to trigger before the lists are initialized which will results in a hang in ArpTimerHandler().

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10629 6f19259b-4bc3-4df7-8a09-765794883524

13 years ago1. update to use 1 EFI Variable per NIC (instead of converge all NIC configuration...
xdu2 [Mon, 5 Jul 2010 02:03:20 +0000 (02:03 +0000)]
1. update to use 1 EFI Variable per NIC (instead of converge all NIC configuration into one EFI Variable), this remove the limitation that max NIC configuration will depend on PcdMaxVariableSize.
2. remove unnecessary Unload function EfiIp4ConfigUnload (use default Unload function NetLibDefaultUnload instead), remove global array for NIC handle tracking since it’s driver model driver.
3. add Ip4Config Variable reclaim to HiiConfigAccess.RouteConfig() to remove variable for NIC which has been removed from the system.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10628 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoUpdate OVMF BDS Library to call GenericBdsLib function to save gEfiMemoryTypeInformation
mdkinney [Sun, 4 Jul 2010 19:57:45 +0000 (19:57 +0000)]
Update OVMF BDS Library to call GenericBdsLib function to save gEfiMemoryTypeInformation

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10627 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoUpdate logic in Suuported() for PCI-ISA Bridges with Positive Decode to avoid false...
mdkinney [Fri, 2 Jul 2010 23:20:11 +0000 (23:20 +0000)]
Update logic in Suuported() for PCI-ISA Bridges with Positive Decode to avoid false positives on bridges of class PCI_CLASS_BRIDGE_OTHER.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10626 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFix path in script
andrewfish [Fri, 2 Jul 2010 14:47:58 +0000 (14:47 +0000)]
Fix path in script

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10624 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoUse same scheme as *.asm file.
andrewfish [Fri, 2 Jul 2010 13:28:04 +0000 (13:28 +0000)]
Use same scheme as *.asm file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10623 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoMake SEC ModuleEntryPoint build with Xcode. Just need another level of indirection
andrewfish [Fri, 2 Jul 2010 13:24:16 +0000 (13:24 +0000)]
Make SEC ModuleEntryPoint build with Xcode. Just need another level of indirection

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10622 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoRemove ArmEbPkg and replace with ArmRealViewEbPkg. Ported ArmRealViewEbPkg to have...
andrewfish [Fri, 2 Jul 2010 12:00:00 +0000 (12:00 +0000)]
Remove ArmEbPkg and replace with ArmRealViewEbPkg. Ported ArmRealViewEbPkg to have a PEI phase, and added place holder CPU PEIM to ArmPkg. This ArmRealViewEbPkg now boots from SEC, PEI, DXE, BDS, to EBL in the ARM RealView system emulator that comes with RealView Pro.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10621 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoReport correct MediaPresentSupported value from Nt32 SNP mode data.
xdu2 [Fri, 2 Jul 2010 03:27:51 +0000 (03:27 +0000)]
Report correct MediaPresentSupported value from Nt32 SNP mode data.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10620 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFix a bug that mtftp4 driver reply 2 ACK in answer to incoming No.65535 block data...
hhuan13 [Thu, 1 Jul 2010 09:08:33 +0000 (09:08 +0000)]
Fix a bug that mtftp4 driver reply 2 ACK in answer to incoming No.65535 block data. That issue incurs incorrect network transfer.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10619 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoUse ASSERT to check the expression.
lgao4 [Thu, 1 Jul 2010 03:21:55 +0000 (03:21 +0000)]
Use ASSERT to check the expression.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10618 6f19259b-4bc3-4df7-8a09-765794883524

13 years ago1. fixed one bug to construct config request string header used child handle instead...
vanjeff [Thu, 1 Jul 2010 01:30:23 +0000 (01:30 +0000)]
1. fixed one bug to construct config request string header used child handle instead of NIC controller handle.
2. fixed one bug to calculate buffer size.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10617 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoAdd routing header type to NetLib.
tye1 [Wed, 30 Jun 2010 02:34:07 +0000 (02:34 +0000)]
Add routing header type to NetLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10616 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoMinor grammatical work--mostly adding periods. Items with ONLY period added did...
myronporter [Wed, 30 Jun 2010 00:13:25 +0000 (00:13 +0000)]
Minor grammatical work--mostly adding periods.  Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated.  Sending  separately a list of files missing Doxygen @param and @return information. (PENDING)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10615 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFix FFS file type for binary modules of type UEFI_DRIVER
mdkinney [Tue, 29 Jun 2010 18:34:32 +0000 (18:34 +0000)]
Fix FFS file type for binary modules of type UEFI_DRIVER

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10614 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoroll back last check-in.
vanjeff [Tue, 29 Jun 2010 09:29:39 +0000 (09:29 +0000)]
roll back last check-in.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10613 6f19259b-4bc3-4df7-8a09-765794883524

13 years agogit-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10612 6f19259b...
vanjeff [Tue, 29 Jun 2010 09:14:31 +0000 (09:14 +0000)]
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10612 6f19259b-4bc3-4df7-8a09-765794883524

13 years ago1) Call ProcessNotifyList() to process all Dispatch Notifications after the Memory...
mdkinney [Tue, 29 Jun 2010 06:08:14 +0000 (06:08 +0000)]
1) Call ProcessNotifyList() to process all Dispatch Notifications after the Memory Discovered PPI is installed.
2) Add ProcessLibraryConstructorList() call when OldCoreData != NULL and OldCoreData->ShadowedPeiCore == NULL.
3) Make sure no lib functions are used prior to the ProcessLibraryConstructorList() call.
4) Clean up comments

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10611 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoRemove extra references to binary INFs from DSC file
mdkinney [Tue, 29 Jun 2010 04:55:13 +0000 (04:55 +0000)]
Remove extra references to binary INFs from DSC file
Add build rules for BINARY INFs to the FDF files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10610 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFixed a bug in Mtftp4: to allow the block number to roll over to accept transfers...
hhuan13 [Tue, 29 Jun 2010 01:26:28 +0000 (01:26 +0000)]
Fixed a bug in Mtftp4: to allow the block number to roll over to accept transfers of unlimited size.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10609 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoRemove unnecessary volatile for local Index variable.
lgao4 [Mon, 28 Jun 2010 10:26:41 +0000 (10:26 +0000)]
Remove unnecessary volatile for local Index variable.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10608 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoSync EDKII BaseTools to BaseTools project r1988
qhuang8 [Mon, 28 Jun 2010 09:33:10 +0000 (09:33 +0000)]
Sync EDKII BaseTools to BaseTools project r1988

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10607 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoUpdate BASE PCI Library that uses CF8/CFC access mechanism for PCI configuration...
mdkinney [Fri, 25 Jun 2010 22:27:59 +0000 (22:27 +0000)]
Update BASE PCI Library that uses CF8/CFC access mechanism for PCI configuration cycles to be safe for use from interrupt context and from modules of type DXE_SMM_DRIVER.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10606 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoSimplify DSC/FDF files for OVMF
mdkinney [Fri, 25 Jun 2010 22:23:22 +0000 (22:23 +0000)]
Simplify DSC/FDF files for OVMF
Remove duplicate FFS file GUID that would cause incremental builds to fail.
Final output file is OVMF.FD and that is what should be used as bios.bin when running QEMU.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10605 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoMinor grammatical work--mostly adding periods. Items with ONLY period added did...
myronporter [Fri, 25 Jun 2010 21:56:02 +0000 (21:56 +0000)]
Minor grammatical work--mostly adding periods.  Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated.  Sending  separately a list of files missing Doxygen @param and @return information. (PENDING)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10604 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoUpdate BASE_NAME to match the file names of the shell binaries so the INF files can...
mdkinney [Fri, 25 Jun 2010 18:01:52 +0000 (18:01 +0000)]
Update BASE_NAME to match the file names of the shell binaries so the INF files can be used from a DSC/FDF file to include the binary of the shell in a platform.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10603 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoUpdate filename case of X64 binary to match the IA32 and IPF binary filenames.
mdkinney [Fri, 25 Jun 2010 18:01:28 +0000 (18:01 +0000)]
Update filename case of X64 binary to match the IA32 and IPF binary filenames.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10602 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoAdd binary of the shell back with proper case in filename.
mdkinney [Fri, 25 Jun 2010 18:00:37 +0000 (18:00 +0000)]
Add binary of the shell back with proper case in filename.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10601 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoRemove shell binary with incorrect case in filename.
mdkinney [Fri, 25 Jun 2010 17:59:49 +0000 (17:59 +0000)]
Remove shell binary with incorrect case in filename.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10600 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoUpdate BASE_NAME to match the file names of the shell binaries so the INF files can...
mdkinney [Fri, 25 Jun 2010 17:53:08 +0000 (17:53 +0000)]
Update BASE_NAME to match the file names of the shell binaries so the INF files can be used from a DSC/FDF file to include the binary of the shell in a platform.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10599 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFix minor spec compliance issue: "EFI_DEVICE_PATH_CREATE_NODE" should be "EFI_DEVICE_...
qhuang8 [Fri, 25 Jun 2010 03:38:18 +0000 (03:38 +0000)]
Fix minor spec compliance issue: "EFI_DEVICE_PATH_CREATE_NODE" should be "EFI_DEVICE_PATH_UTILS_CREATE_NODE" according to UEFI spec.

As it is unlikely for any user code to directly use this definition, this update should not cause any build break issue.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10598 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoMinor grammatical work--mostly adding periods. Items with ONLY period added did...
myronporter [Thu, 24 Jun 2010 20:11:34 +0000 (20:11 +0000)]
Minor grammatical work--mostly adding periods.  Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated.  Sending  separately a list of files missing Doxygen @param and @return information. (PENDING)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10597 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoMinor grammatical work--mostly adding periods. Items with ONLY period added did...
myronporter [Thu, 24 Jun 2010 00:20:35 +0000 (00:20 +0000)]
Minor grammatical work--mostly adding periods.  Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated.  Sending  separately a list of files missing Doxygen @param and @return information. (PENDING)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10596 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoAdd back the removed pair of "#ifndef VA_START" and "#endif" in recent check-in to...
rsun3 [Wed, 23 Jun 2010 06:55:56 +0000 (06:55 +0000)]
Add back the removed pair of "#ifndef VA_START" and "#endif" in recent check-in to avoid macro redefinition.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10595 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoMinor grammatical work--mostly adding periods. Items with ONLY period added did...
myronporter [Tue, 22 Jun 2010 23:56:19 +0000 (23:56 +0000)]
Minor grammatical work--mostly adding periods.  Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated.  Sending  separately a list of files missing Doxygen @param and @return information. (PENDING)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10594 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoMinor grammatical work--mostly adding periods. Items with ONLY period added did...
MyronPorter [Tue, 22 Jun 2010 22:59:38 +0000 (22:59 +0000)]
Minor grammatical work--mostly adding periods.  Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated.  Sending  separately a list of files missing Doxygen @param and @return information. (PENDING)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10593 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoPcAtChipsetPkg PciHostBridgeDxe: Fix build warning with GCC
jljusten [Sat, 19 Jun 2010 06:08:07 +0000 (06:08 +0000)]
PcAtChipsetPkg PciHostBridgeDxe: Fix build warning with GCC

Add default case to switch blocks to remove GCC compiler warning.
The default case code path should never be taken.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10592 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoUpdate PcAtChipsetPkg PciRootBridgeIo to consume IoLib&PciLib.
rsun3 [Fri, 18 Jun 2010 09:21:47 +0000 (09:21 +0000)]
Update PcAtChipsetPkg PciRootBridgeIo to consume IoLib&PciLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10591 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoRemove some unnecessary clear screen from console drivers.
li-elvin [Fri, 18 Jun 2010 09:19:29 +0000 (09:19 +0000)]
Remove some unnecessary clear screen from console drivers.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10590 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoAdd a missing parameter description in the function header for CoreFindFreePagesI().
rsun3 [Thu, 17 Jun 2010 07:18:53 +0000 (07:18 +0000)]
Add a missing parameter description in the function header for CoreFindFreePagesI().

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10589 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFix the bug that definition of EFI_DISPATCH_OPROM_TABLE does not follow Framework...
xli24 [Thu, 17 Jun 2010 05:51:31 +0000 (05:51 +0000)]
Fix the bug that definition of EFI_DISPATCH_OPROM_TABLE does not follow Framework CSM Spec v0.97.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10588 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoEdkCompatibilityPkg: Fix EFIAPI usage inconsistencies
jljusten [Tue, 15 Jun 2010 02:46:49 +0000 (02:46 +0000)]
EdkCompatibilityPkg: Fix EFIAPI usage inconsistencies

These inconsistencies cause a build error for GCC 4.4 X64.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10587 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoECP MpServicesOnFrameworkMpServicesThunk: Fix build with GCC
jljusten [Tue, 15 Jun 2010 02:46:22 +0000 (02:46 +0000)]
ECP MpServicesOnFrameworkMpServicesThunk: Fix build with GCC

Add definitions for IdtrProfile (IA32) and IdtrLocation (X64) into
GCC assembly code files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10586 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoEdkCompatibilityPkg VA_LIST: Fix build issue with GCC 4.4
jljusten [Tue, 15 Jun 2010 02:46:03 +0000 (02:46 +0000)]
EdkCompatibilityPkg VA_LIST: Fix build issue with GCC 4.4

Merge from MdePkg/Include/Base.h to fix build issues with GCC 4.4.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10585 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoEdkCompatibilityPkg IA32 EfiBind.h: Do not include stdint.h
jljusten [Tue, 15 Jun 2010 02:45:51 +0000 (02:45 +0000)]
EdkCompatibilityPkg IA32 EfiBind.h: Do not include stdint.h

Merge from MdePkg/Include/Ia32/ProcessorBind.h.  Do not include
stdint.h.  Instead define the basic types ourselves.

This fixes a build issue with GCC on X64 Linux.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10584 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoSync FrameworkUefiLib with the MdePkg UefiLib
mdkinney [Mon, 14 Jun 2010 23:32:07 +0000 (23:32 +0000)]
Sync FrameworkUefiLib with the MdePkg UefiLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10583 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoUpdate NT32 to produce the gEfiMemoryTypeInformation HOB
mdkinney [Mon, 14 Jun 2010 23:29:06 +0000 (23:29 +0000)]
Update NT32 to produce the gEfiMemoryTypeInformation HOB

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10582 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoUpdate NT32 BDS Library to call GenericBdsLib function to save gEfiMemoryTypeInformation
mdkinney [Mon, 14 Jun 2010 23:28:21 +0000 (23:28 +0000)]
Update NT32 BDS Library to call GenericBdsLib function to save gEfiMemoryTypeInformation

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10581 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoAllow gEfiMemoryTypeInformation bins to shrink if boot mode is BOOT_WITH_DEFAULT_SETT...
mdkinney [Mon, 14 Jun 2010 23:23:58 +0000 (23:23 +0000)]
Allow gEfiMemoryTypeInformation bins to shrink if boot mode is BOOT_WITH_DEFAULT_SETTINGS or the gEfiMemoryTypeInformation variable does not exist.
Update BdsSetMemoryTypeInformationVariable() to use DEBUG() prints to show the Previous, Current, and Next sizes of each memory bin type.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10580 6f19259b-4bc3-4df7-8a09-765794883524

13 years ago1) Improve how memory usage is tracked in DXE Core
mdkinney [Mon, 14 Jun 2010 23:21:26 +0000 (23:21 +0000)]
1) Improve how memory usage is tracked in DXE Core
2) Update GetMemoryMap() to merge adjacent memory descriptors with identical types and attributes.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10579 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoAdd a UNION definition (IP_IO_IP_PROTOOCL) for EFI_IP4/6_PROTOCOL and change IP_IO...
qianouyang [Sun, 13 Jun 2010 08:18:10 +0000 (08:18 +0000)]
Add a UNION definition (IP_IO_IP_PROTOOCL) for EFI_IP4/6_PROTOCOL and change IP_IO structure using this UNION to point the special IP Protocol.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10578 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoInitialize the local variable before refer to them.
lgao4 [Sat, 12 Jun 2010 03:14:26 +0000 (03:14 +0000)]
Initialize the local variable before refer to them.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10577 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoAdd ASSERT() conditions to UEFI Library Print() and AsciiPrint() functions if gST...
mdkinney [Fri, 11 Jun 2010 19:11:20 +0000 (19:11 +0000)]
Add ASSERT() conditions to UEFI Library Print() and AsciiPrint() functions if gST->ConOut is NULL.
Add ASSERT() conditions to UEFI Library ErrorPrint() and AsciiErrorPrint() functions if gST->StdErr is NULL.
Add ASSERT() conditions to UEFI Library PrintXY() and AsciiPrintXY() gST->ConsoleOutputHandle is NULL.
Update Print(), AsciiPrint(), ErrorPrint(), AsciiErrorPrint() to return 0 if the Simple Text Output Protocol OutputString() call returns an error.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10576 6f19259b-4bc3-4df7-8a09-765794883524

13 years ago1.Restore BSP IDT table to AP when AP wakeup.
vanjeff [Fri, 11 Jun 2010 08:24:01 +0000 (08:24 +0000)]
1.Restore BSP IDT table to AP when AP wakeup.
2.Restore Virtual wire mode on AP when AP wakeup.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10575 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoAdd more check to make sure code run safely.
lgao4 [Fri, 11 Jun 2010 07:47:06 +0000 (07:47 +0000)]
Add more check to make sure code run safely.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10574 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoSkip restoration of DRx registers to support in-circuit emualators or debuggers set...
rsun3 [Fri, 11 Jun 2010 03:22:15 +0000 (03:22 +0000)]
Skip restoration of DRx registers to support in-circuit emualators or debuggers set breakpoint in interrupt/exception context.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10573 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoMinor grammatical work--mostly adding periods. Sending separately a list of files...
myronporter [Fri, 11 Jun 2010 00:02:51 +0000 (00:02 +0000)]
Minor grammatical work--mostly adding periods.  Sending  separately a list of files missing Doxygen @param and @return information.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10572 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoremove --image-base option EfiLdr.inf, and use GenFw to do image base relocation
klu2 [Thu, 10 Jun 2010 08:54:18 +0000 (08:54 +0000)]
remove --image-base option EfiLdr.inf, and use GenFw to do image base relocation

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10571 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoUpdate Shell binaries to integrate recent updates in EDK shell project and integrate...
qhuang8 [Wed, 9 Jun 2010 02:07:34 +0000 (02:07 +0000)]
Update Shell binaries to integrate recent updates in EDK shell project and integrate one hot fix in hexedit.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10570 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFix the issue that if OEM SMBIOS data includes string, it will cause SmbiosFldMiscTyp...
li-elvin [Wed, 9 Jun 2010 02:04:12 +0000 (02:04 +0000)]
Fix the issue that if OEM SMBIOS data includes string, it will cause SmbiosFldMiscTypeOEM buffer overflow.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10569 6f19259b-4bc3-4df7-8a09-765794883524

13 years agofix GCC X64 build broken
klu2 [Sat, 5 Jun 2010 11:06:17 +0000 (11:06 +0000)]
fix GCC X64 build broken

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10568 6f19259b-4bc3-4df7-8a09-765794883524

13 years agofix X64 build broken
klu2 [Sat, 5 Jun 2010 11:01:28 +0000 (11:01 +0000)]
fix X64 build broken

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10567 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoChange MaxBlock to HEX value to avoid GCC build failure.
li-elvin [Fri, 4 Jun 2010 05:27:03 +0000 (05:27 +0000)]
Change MaxBlock to HEX value to avoid GCC build failure.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10566 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoDo the following fix up in SetupBrowser driver:
lgao4 [Fri, 4 Jun 2010 01:29:03 +0000 (01:29 +0000)]
Do the following fix up in SetupBrowser driver:
  1)  Check whether ConfigAccess is NULL before use it.
  2)  Don't do call back for UI_ACTION_REFRESH_FORMSET action.
  3)  Release resource before leave SetupBrowser() function.
  4)  Use the unified check method (HiiHandle, FormsetGuid and FormId) to check FORM is open or close.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10565 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFix the issue that ASSERT() at line 1391 incorrectly asserts when order list variable...
xli24 [Thu, 3 Jun 2010 08:49:46 +0000 (08:49 +0000)]
Fix the issue that ASSERT() at line 1391 incorrectly asserts when order list variable is empty.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10564 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoConvert some C-style comments to Doxygen style for coding standard compliance.
darylm503 [Thu, 3 Jun 2010 02:15:55 +0000 (02:15 +0000)]
Convert some C-style comments to Doxygen style for coding standard compliance.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10563 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFixed tracker #203752, Dhcp4 assert issue.
hhuan13 [Wed, 2 Jun 2010 07:55:14 +0000 (07:55 +0000)]
Fixed tracker #203752, Dhcp4 assert issue.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10562 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoPer UEFI spec, FORM_OPEN/FORM_CLOSE Callback function should be called for each quest...
lgao4 [Wed, 2 Jun 2010 02:06:01 +0000 (02:06 +0000)]
Per UEFI spec, FORM_OPEN/FORM_CLOSE Callback function should be called for each question in the form when this form opens or closes.

Update all EDKII HII drivers to correctly handle FORM_OPEN and FORM_CLOSE call back.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10561 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoPer UEFI spec, FORM_OPEN/FORM_CLOSE Callback function should be called for each quest...
lgao4 [Wed, 2 Jun 2010 02:05:47 +0000 (02:05 +0000)]
Per UEFI spec, FORM_OPEN/FORM_CLOSE Callback function should be called for each question in the form when this form opens or closes.

Update SetupBrowser driver to call Callback function (FORM_OPEN/FORM_CLOSE) based on UEFI spec, and update all EDKII HII drivers to correctly handle FORM_OPEN and FORM_CLOSE call back.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10560 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFixed issue with InternalX86ReadIdtr referencing LDT read and not IDT read operation.
geekboy15a [Tue, 1 Jun 2010 22:46:53 +0000 (22:46 +0000)]
Fixed issue with InternalX86ReadIdtr referencing LDT read and not IDT read operation.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10559 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoUpdate EdkShellPkg.dsc read me to add a note to remind developers to update platform...
qhuang8 [Tue, 1 Jun 2010 00:56:57 +0000 (00:56 +0000)]
Update EdkShellPkg.dsc read me to add a note to remind developers to update platform FDF files when they want to debug shell package to replace binaries from EdkShellBinPkg

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10558 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoCorrect the svn repository link
klu2 [Mon, 31 May 2010 13:17:51 +0000 (13:17 +0000)]
Correct the svn repository link

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10557 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoAdd DMA Lib for generic ARM cache coherency model.
andrewfish [Sat, 29 May 2010 00:34:43 +0000 (00:34 +0000)]
Add DMA Lib for generic ARM cache coherency model.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10556 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoClean up OMAP DMA lib and split into generic DMA lib based on PCI_IO DMA abstractions...
andrewfish [Sat, 29 May 2010 00:21:30 +0000 (00:21 +0000)]
Clean up OMAP DMA lib and split into generic DMA lib based on PCI_IO DMA abstractions and  make OMAP DMA lib about channel programming only.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10555 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoNullDmaLib:DmaMap() function needs to return valid DeviceAddress.
andrewfish [Fri, 28 May 2010 22:50:59 +0000 (22:50 +0000)]
NullDmaLib:DmaMap() function needs to return valid DeviceAddress.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10554 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoMake the [BuildOption] match the others for GCC.
andrewfish [Fri, 28 May 2010 22:39:53 +0000 (22:39 +0000)]
Make the [BuildOption] match the others for GCC.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10553 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoSet the default compilers arch flags for these packages
andrewfish [Fri, 28 May 2010 22:37:55 +0000 (22:37 +0000)]
Set the default compilers arch flags for these packages

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10552 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoAdd a DMA lib that works like PCI_IO protocl. Add a NULL version that would work...
andrewfish [Fri, 28 May 2010 12:44:36 +0000 (12:44 +0000)]
Add a DMA lib that works like PCI_IO protocl. Add a NULL version that would work with Intel (DMA is coherent no matter what you do).

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10551 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoIf SCSI version support Read/Write (16) command, use both commands to access disk...
li-elvin [Fri, 28 May 2010 06:58:59 +0000 (06:58 +0000)]
If SCSI version support Read/Write (16) command, use both commands to access disk especially for above 2TB.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10550 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoAdd Read/Write (16) command to SCSI library.
li-elvin [Fri, 28 May 2010 06:57:15 +0000 (06:57 +0000)]
Add Read/Write (16) command to SCSI library.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10549 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoremove unnecessary EFI64_SHADOW_ALL_LEGACY_ROM in GenericBdsLib.
niruiyu [Fri, 28 May 2010 01:59:30 +0000 (01:59 +0000)]
remove unnecessary EFI64_SHADOW_ALL_LEGACY_ROM in GenericBdsLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10548 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFix line ending issue. Update DMA Map primatives to double buffer if buffer does...
andrewfish [Fri, 28 May 2010 00:31:53 +0000 (00:31 +0000)]
Fix line ending issue. Update DMA Map primatives to double buffer if buffer does not start on cache line boundary. If buffer is not a multiple of a cache line only whole cache lines will be allowed in the buffer. This is part of the MAP API.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10547 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoAdd a little more code for SD Card DMA, but make sure it is turned off until it...
andrewfish [Fri, 28 May 2010 00:29:31 +0000 (00:29 +0000)]
Add a little more code  for SD Card DMA, but make sure it is turned off until it is debugged.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10546 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoRemove references to a package that does not exist.
andrewfish [Thu, 27 May 2010 23:12:27 +0000 (23:12 +0000)]
Remove references to a package that does not exist.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10545 6f19259b-4bc3-4df7-8a09-765794883524