mirror_edk2.git
11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 years agoAdd three HiiLib APIs: HiiCreateTextOpCode, HiiCreateDateOpCode and HiiCreateTimeOpCode
lgao4 [Thu, 27 May 2010 02:54:25 +0000 (02:54 +0000)]
Add three HiiLib APIs: HiiCreateTextOpCode, HiiCreateDateOpCode and HiiCreateTimeOpCode

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

11 years agosynchronize interget type definition from MdePkg's processbinding.h to make build...
klu2 [Wed, 26 May 2010 05:29:33 +0000 (05:29 +0000)]
synchronize interget type definition from MdePkg's processbinding.h to make build pass under GCC44 tool chain

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

11 years agoLibrary interface should be declared as EFIAPI
klu2 [Tue, 25 May 2010 06:26:28 +0000 (06:26 +0000)]
Library interface should be declared as EFIAPI

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

11 years agoStatus code handler callback should be declared as EFIAPI
klu2 [Tue, 25 May 2010 06:17:51 +0000 (06:17 +0000)]
Status code handler callback should be declared as EFIAPI

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

11 years agoUse the ASSERT() for parameter checking as the 4th parameter of internal worker funct...
lgao4 [Mon, 24 May 2010 02:45:17 +0000 (02:45 +0000)]
Use the ASSERT() for parameter checking as the 4th parameter of internal worker function of MakeTable() must be <= 16.

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

11 years agoAdd the missing PalLib NULL instance.
lgao4 [Mon, 24 May 2010 01:35:52 +0000 (01:35 +0000)]
Add the missing PalLib NULL instance.

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

11 years agoAdd the missing PalLib NULL instance.
lgao4 [Sun, 23 May 2010 09:42:29 +0000 (09:42 +0000)]
Add the missing PalLib NULL instance.

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

11 years agoFixed the issue of that IP4driver can’t correctly reassemble the Out of Sequence...
qianouyang [Fri, 21 May 2010 09:39:26 +0000 (09:39 +0000)]
Fixed the issue of that IP4driver can’t correctly reassemble the Out of Sequence Fragments.

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

11 years agoFor BdsDxe module,
xli24 [Fri, 21 May 2010 07:40:24 +0000 (07:40 +0000)]
For BdsDxe module,
1. Fix the risk that local variable is pointed by global pointer, which may be used outside the variable scope.
2. Add more checking for pointers.

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

11 years agoClean up package/platform DSC files by the following steps:
lgao4 [Fri, 21 May 2010 02:49:52 +0000 (02:49 +0000)]
Clean up package/platform DSC files by the following steps:
  1. Remove PCDs those use the default values/types from the DEC file.
  2. Remove the unused library instances.
  3. Group common library instances in common [LibraryClasses] section as the default library instance for all modules.

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

11 years agoClean up package/platform DSC files by the following steps:
lgao4 [Fri, 21 May 2010 02:49:45 +0000 (02:49 +0000)]
Clean up package/platform DSC files by the following steps:
  1. Remove PCDs those use the default values/types from the DEC file.
  2. Remove the unused library instances.
  3. Group common library instances in common [LibraryClasses] section as the default library instance for all modules.

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

11 years agoClean up package/platform DSC files by the following steps:
lgao4 [Fri, 21 May 2010 02:49:42 +0000 (02:49 +0000)]
Clean up package/platform DSC files by the following steps:
  1. Remove PCDs those use the default values/types from the DEC file.
  2. Remove the unused library instances.
  3. Group common library instances in common [LibraryClasses] section as the default library instance for all modules.

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

11 years agoClean up package/platform DSC files by the following steps:
lgao4 [Fri, 21 May 2010 02:49:38 +0000 (02:49 +0000)]
Clean up package/platform DSC files by the following steps:
  1. Remove PCDs those use the default values/types from the DEC file.
  2. Remove the unused library instances.
  3. Group common library instances in common [LibraryClasses] section as the default library instance for all modules.

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