]> git.proxmox.com Git - mirror_edk2.git/log
mirror_edk2.git
13 years agominor format update
hhtian [Sat, 24 Jul 2010 11:41:06 +0000 (11:41 +0000)]
minor format update

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

13 years agoStarted working on EFI ABI to UNIX ABI assembly gasket
andrewfish [Sat, 24 Jul 2010 00:21:06 +0000 (00:21 +0000)]
Started working on EFI ABI to UNIX ABI assembly gasket

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

13 years agoChanged the X64 gasket so it would be possible to port it to deal with the Unix to...
andrewfish [Fri, 23 Jul 2010 22:20:00 +0000 (22:20 +0000)]
Changed the X64 gasket so it would be possible to port it to deal with the Unix to EFI ABI mangling. It still just does Unix ABI, and has some Xcode specific stuff to make source level debug a little easier, but it is a good first step.

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

13 years agoAdd an option to build the GccShell. './build.sh shell' or './build64.sh' will buid...
andrewfish [Fri, 23 Jul 2010 22:18:07 +0000 (22:18 +0000)]
Add an option to build the GccShell. './build.sh shell' or './build64.sh' will buid the shell.

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

13 years agoFix more InitializeDebugAgent API change bugs. GDB stub was not turned on in example...
andrewfish [Fri, 23 Jul 2010 15:25:32 +0000 (15:25 +0000)]
Fix more InitializeDebugAgent API change bugs. GDB stub was not turned on in example platforms.

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

13 years agoFix the build break in two open source packages caused by check in 10660.
andrewfish [Fri, 23 Jul 2010 02:37:28 +0000 (02:37 +0000)]
Fix the build break in two open source packages caused by check in 10660.

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

13 years agoPort UnixPkg to also support X64. Currently only supports Unix x86_64 ABI. In the...
andrewfish [Thu, 22 Jul 2010 21:21:38 +0000 (21:21 +0000)]
Port UnixPkg to also support X64. Currently only supports Unix x86_64 ABI. In the future we can make Sec support x86_64 ABI and the rest of the code support X64 EFI ABI. This will require  assembly gaskets to fix the calling convention differences. I currently have noop gaskets in place for x86_64 ABI. This has only been tested on OS X 10.6.

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

13 years agoAdd 64-bit versions of FLASH Base addressess as it is legal to have them >4G. For...
andrewfish [Thu, 22 Jul 2010 21:18:25 +0000 (21:18 +0000)]
Add 64-bit versions of FLASH Base addressess as it is legal to have them >4G. For backward compatability if the new 64-bit base addresses are zero use the old 32-bit base addressess.

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

13 years agoAdded to support X64 port (with SV5 ABI). May be able to remove after we port everyth...
andrewfish [Thu, 22 Jul 2010 19:22:34 +0000 (19:22 +0000)]
Added to support X64 port (with SV5 ABI). May be able to remove after we port everything, but Sec, to EFI X64 ABI.

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

13 years agoFix bug that cursor position will change when enter newly registered HII Form after...
xdu2 [Thu, 22 Jul 2010 09:46:41 +0000 (09:46 +0000)]
Fix bug that cursor position will change when enter newly registered HII Form after ConnectAll() in DeviceManager.
Root cause is that in old code, reinstall of HII handle for DeviceManager will cause inconsistent HII handle index for newly installed HII packages by ConnectAll(), thus cause inconsistent QuestionId. FormBrowser will record QuestionId of a Form ever visited, so the cursor position is changed.

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

13 years agoFix a bug in SmmBaseHelper driver that the JMP instruction which jumps to the origina...
rsun3 [Thu, 22 Jul 2010 06:29:29 +0000 (06:29 +0000)]
Fix a bug in SmmBaseHelper driver that the JMP instruction which jumps to the original page fault handler is incorrect.

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

13 years agoSync EDKII BaseTools to BaseTools project r1997
qhuang8 [Wed, 21 Jul 2010 02:46:15 +0000 (02:46 +0000)]
Sync EDKII BaseTools to BaseTools project r1997

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

13 years agoFix #pragma pack(4) issue with an #ifdef. The #pragma () is in the wrong place.
andrewfish [Tue, 20 Jul 2010 20:29:20 +0000 (20:29 +0000)]
Fix #pragma pack(4) issue with an #ifdef. The #pragma () is in the wrong place.

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

13 years agoRemove spec compliance comment. It follows PI1.2B spec now.
jyao1 [Tue, 20 Jul 2010 06:20:16 +0000 (06:20 +0000)]
Remove spec compliance comment. It follows PI1.2B spec now.

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

13 years agoAdd msvcr71.dll used by base tools win32 binaries in case the environment does not...
qhuang8 [Tue, 20 Jul 2010 06:08:47 +0000 (06:08 +0000)]
Add msvcr71.dll used by base tools win32 binaries in case the environment does not have this DLL file.

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

13 years agoPer UEFI Spec, LowestAlignedLba and LogicalBlocksPerPhysicalBlock must be 0 for logic...
niruiyu [Tue, 20 Jul 2010 03:11:58 +0000 (03:11 +0000)]
Per UEFI Spec, LowestAlignedLba and LogicalBlocksPerPhysicalBlock must be 0 for logical partitions.

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

13 years ago1. Update FFS_FIXED_CHECKSUM to 0xAA to match PI FV image generated by EDKII build...
lgao4 [Mon, 19 Jul 2010 05:33:56 +0000 (05:33 +0000)]
1.  Update FFS_FIXED_CHECKSUM to 0xAA to match PI FV image generated by EDKII build tool.
2.  Clean up EfiScriptLib by removing unused EfiDriverLib from its INF file.

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

13 years agoAdd some error checking.
xdu2 [Mon, 19 Jul 2010 05:21:27 +0000 (05:21 +0000)]
Add some error checking.

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

13 years ago1. Add init flag DEBUG_AGENT_INIT_DXE_AP.
vanjeff [Mon, 19 Jul 2010 02:26:09 +0000 (02:26 +0000)]
1. Add init flag DEBUG_AGENT_INIT_DXE_AP.
2. Add definition DEBUG_AGENT_CONTINUE.
3. Update the definition of InitializeDebugAgent() more comments.

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

13 years agoFix 64-bit bug in DxeIpl. You can't cast an & UINT64 to a UINT32 *, as the upper...
andrewfish [Sun, 18 Jul 2010 17:56:06 +0000 (17:56 +0000)]
Fix 64-bit bug in DxeIpl. You can't cast an & UINT64 to a UINT32 *, as the upper 32-bits do not get updated. In my case there was data on the stack for the upper 32-bits and it caused the size to be greater than 4GB.

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

13 years agoRemove IO and MMIO GCD add operations from this generic PCI Hot Bridge drivers.
mdkinney [Fri, 16 Jul 2010 19:06:24 +0000 (19:06 +0000)]
Remove IO and MMIO GCD add operations from this generic PCI Hot Bridge drivers.

A platform specific PEIm or DXE module is required to add the IO and MMIO resources to the GCD.

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

13 years agoUpdate OVMF Platform PEI to declare IO and MMIO resources.
mdkinney [Fri, 16 Jul 2010 19:04:41 +0000 (19:04 +0000)]
Update OVMF Platform PEI to declare IO and MMIO resources.
Update default memory type information to reduce EFI Memory Map fragmentation.

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

13 years agoFixes for the ARM port of SCTs
andrewfish [Fri, 16 Jul 2010 15:53:39 +0000 (15:53 +0000)]
Fixes for the ARM port of SCTs

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

13 years agoEnhance to follow UEFI2.3 spec - the EFI_ACPI_TABLE_PROTOCOL will ensure that the...
jyao1 [Fri, 16 Jul 2010 04:31:02 +0000 (04:31 +0000)]
Enhance to follow UEFI2.3 spec - the EFI_ACPI_TABLE_PROTOCOL will ensure that the checksum field is correct for both the RSDT/XSDT table and the table being installed through the AcpiTableBuffer parameter.

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

13 years agoFix issue in DmaMap with buffers that are smaller than a cache line. Also make any...
andrewfish [Thu, 15 Jul 2010 17:27:13 +0000 (17:27 +0000)]
Fix issue in DmaMap with buffers that are smaller than a cache line. Also make any buffer that is not an even quanta of cache lines double buffer.

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

13 years agoSome more 64-bit fixes.
andrewfish [Thu, 15 Jul 2010 03:29:53 +0000 (03:29 +0000)]
Some more 64-bit fixes.

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

13 years agoFix xcode project to point to the correct X64 paths. Also update print out to not...
andrewfish [Wed, 14 Jul 2010 23:58:03 +0000 (23:58 +0000)]
Fix xcode project to point to the correct X64 paths. Also update print out to not point to tianocore.org...

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

13 years agoAdd an Xcode project to build 64-bit UnixPkg. Currently crashes in PeiCore().
andrewfish [Wed, 14 Jul 2010 23:22:43 +0000 (23:22 +0000)]
Add an Xcode project to build 64-bit UnixPkg. Currently crashes in PeiCore().

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

13 years agoFix 64-bit compile bug
andrewfish [Wed, 14 Jul 2010 22:51:06 +0000 (22:51 +0000)]
Fix 64-bit compile bug

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

13 years agoStarted trying to get the UnixPkg to compile for X64 with UnixABI. So far only have...
andrewfish [Wed, 14 Jul 2010 21:04:21 +0000 (21:04 +0000)]
Started trying to get the UnixPkg to compile for X64 with UnixABI. So far only have Sec compiling with Xcode. This is the first step in trying to get the EFIABI to work. Note since SEC is a Posix application it will still need to be Unix ABI.

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

13 years agoRefine code.
vanjeff [Tue, 13 Jul 2010 05:07:35 +0000 (05:07 +0000)]
Refine code.

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

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