]>
git.proxmox.com Git - mirror_edk2.git/log
pgao2 [Thu, 26 Aug 2010 08:26:14 +0000 (08:26 +0000)]
Avoid DxeCore to reclaim PEI stack as IDT may be on it (like 32-bit OVMF).
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10825
6f19259b -4bc3-4df7-8a09-
765794883524
rsun3 [Thu, 26 Aug 2010 05:58:42 +0000 (05:58 +0000)]
Improve Local APIC library class. Add new library APIs: GetApicVersion(), SendFixedIpi(), SendFixedIpiAllExcludingSelf(), GetApicTimerState(). Remove GetApicTimerDivisor (), its functionality can be covered by GetApicTimerState().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10824
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Thu, 26 Aug 2010 03:15:23 +0000 (03:15 +0000)]
Fix a bug in GetOptionalStringByIndex() that doesn't handle the case when Index == 0.
Code is re-organized to be more readable and simpler.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10823
6f19259b -4bc3-4df7-8a09-
765794883524
qhuang8 [Thu, 26 Aug 2010 00:50:37 +0000 (00:50 +0000)]
Sync bug fix in Edk r10821 to PeiMemoryLib and UefiMemoryLib instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10822
6f19259b -4bc3-4df7-8a09-
765794883524
darylm503 [Wed, 25 Aug 2010 23:06:43 +0000 (23:06 +0000)]
Fix the InternalMemScanMem* functions. They were returning the character AFTER the match instead of the matching character.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10821
6f19259b -4bc3-4df7-8a09-
765794883524
qhuang8 [Wed, 25 Aug 2010 00:57:08 +0000 (00:57 +0000)]
Update EdkShellBinPkg to integrate a bug fix date & time command for shell binaries.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10820
6f19259b -4bc3-4df7-8a09-
765794883524
qhuang8 [Tue, 24 Aug 2010 14:12:28 +0000 (14:12 +0000)]
Update EdkShellBinPkg to integrate a bug fix date & time command for x64 shell binaries.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10819
6f19259b -4bc3-4df7-8a09-
765794883524
li-elvin [Mon, 23 Aug 2010 10:05:44 +0000 (10:05 +0000)]
Change the check condition for 16 byte command, when HDD size is > 2TB, use 16 byte command instead.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10817
6f19259b -4bc3-4df7-8a09-
765794883524
rsun3 [Mon, 23 Aug 2010 06:55:48 +0000 (06:55 +0000)]
Add Local APIC library mapping.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10816
6f19259b -4bc3-4df7-8a09-
765794883524
rsun3 [Mon, 23 Aug 2010 06:53:10 +0000 (06:53 +0000)]
Update MpServicesOnFrameworkMpServicesThunk to consume Local APIC library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10815
6f19259b -4bc3-4df7-8a09-
765794883524
rsun3 [Mon, 23 Aug 2010 06:34:39 +0000 (06:34 +0000)]
Add Local APIC Library class defining APIs for common Local APIC operations. Add two Local APIC library instances, one is for xAPIC mode only, the other is for x2APIC capable processors which have xAPIC and x2APIC modes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10814
6f19259b -4bc3-4df7-8a09-
765794883524
xli24 [Fri, 20 Aug 2010 17:32:04 +0000 (17:32 +0000)]
The definition of NumberOfSmmReservedRegions is incorrect in Framework SmmCis specification 0.91, in which the type of this field is defined as UINTN. However, HOBs are supposed to be CPU neutral, so UINT32 should be used. Here the code is updated and comments in FrameworkSpecConformance.txt is added.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10813
6f19259b -4bc3-4df7-8a09-
765794883524
hhuan13 [Fri, 20 Aug 2010 06:29:55 +0000 (06:29 +0000)]
Fixed Ip4 bug that causing Iscsi reconnect hang sporadically . In Ip4OutPut()->Ip4IpSecProcessPacket() line 511, each time "reconnect -r", IpSb is re-allocated in IpDriver.Start(). But only when the first time, IpSb->OldMaxPacketSize = IpSb->MaxPacketSize; For the sequential reconnect, IpSb->OldMaxPacketSize is left dirty. Somtimes it is 0, causing the next sending packages generate exception.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10810
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Fri, 20 Aug 2010 05:30:07 +0000 (05:30 +0000)]
Fix GCC build failure
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10809
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Thu, 19 Aug 2010 02:40:27 +0000 (02:40 +0000)]
Check in the IsaIoDxe device driver that consumes EFI_SIO_PROTOCOL to produce EFI_ISA_IO_PROTOCOL.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10808
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Thu, 19 Aug 2010 02:39:19 +0000 (02:39 +0000)]
Move ACPI_SMALL_RESOURCE_HEADER and ACPI_LARGE_RESOURCE_HEADER from SuperIo.h to Acpi10.h.
Add more ACPI resource descriptors to Acpi10.h which are needed by EFI_SIO_PROTOCOL implementation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10807
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Wed, 18 Aug 2010 20:24:08 +0000 (20:24 +0000)]
Added support for an EFI X64 ABI compatible UnixPkg. With an internal only compiler I've been able to run checked in X64 EFI shell binary! We are hoping to get the open source LLVM compiler working for this... Since the SEC has to be UNIX ABI to make the POSIX calls it is compiled using a different compiler and the rest of the UnixPkg is compiled with UNIXPKG tool. You just need to point UNIXPKG at your EFI X64 ABI compiler of choice, it should work like MYTOOLS. Some one may want to port this to Linux at some point. To build cd into UnixPkg and ./build64.sh
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10806
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Wed, 18 Aug 2010 12:21:21 +0000 (12:21 +0000)]
clear the correct BAR register. Because for P2P device, only register from 0x10 to 0x14 is BAR register.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10805
6f19259b -4bc3-4df7-8a09-
765794883524
hhuan13 [Wed, 18 Aug 2010 00:47:26 +0000 (00:47 +0000)]
1. Introduce PcdTftpBlockSize to let platform DSC customize block size.
2. Roll back the default block size to handle all link layers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10803
6f19259b -4bc3-4df7-8a09-
765794883524
rsun3 [Tue, 17 Aug 2010 09:43:50 +0000 (09:43 +0000)]
SmmBaseHelper: Update MP state in Framework SMST before transferring control to Framework SMM driver entry point.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10802
6f19259b -4bc3-4df7-8a09-
765794883524
vanjeff [Tue, 17 Aug 2010 08:29:00 +0000 (08:29 +0000)]
remove CpuBreakpoint ().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10801
6f19259b -4bc3-4df7-8a09-
765794883524
vanjeff [Tue, 17 Aug 2010 08:27:12 +0000 (08:27 +0000)]
Fixed one bug which may lead standard error handle could not be set into system table correctly since default return status is set to error by default.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10800
6f19259b -4bc3-4df7-8a09-
765794883524
sfu5 [Mon, 16 Aug 2010 01:11:49 +0000 (01:11 +0000)]
Refine code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10799
6f19259b -4bc3-4df7-8a09-
765794883524
hhuan13 [Sun, 15 Aug 2010 01:41:30 +0000 (01:41 +0000)]
Roll back BlockSize to 0x8000 for PXE performance concern.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10798
6f19259b -4bc3-4df7-8a09-
765794883524
qhuang8 [Sat, 14 Aug 2010 07:25:20 +0000 (07:25 +0000)]
Minor refinement on source code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10797
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Fri, 13 Aug 2010 19:49:30 +0000 (19:49 +0000)]
If you install 64-bit kernel build will fail. This requires manually setting properties, but it is legal...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10796
6f19259b -4bc3-4df7-8a09-
765794883524
xli24 [Fri, 13 Aug 2010 05:43:30 +0000 (05:43 +0000)]
Add datahub status sode handler driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10795
6f19259b -4bc3-4df7-8a09-
765794883524
qhuang8 [Fri, 13 Aug 2010 05:13:34 +0000 (05:13 +0000)]
Update EdkShellBinPkg to integrate a bug fix in PCI command in Shell source r42.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10794
6f19259b -4bc3-4df7-8a09-
765794883524
sfu5 [Fri, 13 Aug 2010 02:47:22 +0000 (02:47 +0000)]
Refine code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10793
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Thu, 12 Aug 2010 18:32:36 +0000 (18:32 +0000)]
Add LZMA decompression to DXE Core.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10792
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Thu, 12 Aug 2010 17:21:22 +0000 (17:21 +0000)]
Fix bug in LoadFv command. Don't free the buffer the file was loaded into as the DXE Core will point to it as an FV.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10791
6f19259b -4bc3-4df7-8a09-
765794883524
xdu2 [Thu, 12 Aug 2010 04:46:11 +0000 (04:46 +0000)]
Fix bug in Ip4Dxe and Dhcp4Dxe to ensure that RaiseTPL and RestoreTPL are in pair.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10790
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Wed, 11 Aug 2010 07:38:25 +0000 (07:38 +0000)]
Fix PcAtChipsetPkg build failure by changing the PcAtChipsetPkg.dsc to reference the correct module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10789
6f19259b -4bc3-4df7-8a09-
765794883524
xli24 [Tue, 10 Aug 2010 08:57:36 +0000 (08:57 +0000)]
Add boundary check against variable MTRR count.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10787
6f19259b -4bc3-4df7-8a09-
765794883524
xli24 [Tue, 10 Aug 2010 07:47:20 +0000 (07:47 +0000)]
Add explicit type cast to suppress possible warning of precession loss.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10786
6f19259b -4bc3-4df7-8a09-
765794883524
rsun3 [Tue, 10 Aug 2010 07:36:00 +0000 (07:36 +0000)]
Minor code refinement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10785
6f19259b -4bc3-4df7-8a09-
765794883524
xli24 [Tue, 10 Aug 2010 07:15:06 +0000 (07:15 +0000)]
Add explicit type cast to suppress possible warning of precession loss.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10784
6f19259b -4bc3-4df7-8a09-
765794883524
xli24 [Tue, 10 Aug 2010 06:57:32 +0000 (06:57 +0000)]
Add explicit type cast to suppress possible warning of precession loss.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10783
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Mon, 9 Aug 2010 07:21:50 +0000 (07:21 +0000)]
Remove the EHCI/UHCI inter-dependency in GenericBdsLib since the EHCI/UHCI controller drivers already take care the start() sequence.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10782
6f19259b -4bc3-4df7-8a09-
765794883524
hhuan13 [Mon, 9 Aug 2010 06:28:01 +0000 (06:28 +0000)]
Fixed K9 scan issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10781
6f19259b -4bc3-4df7-8a09-
765794883524
hhuan13 [Mon, 9 Aug 2010 06:27:12 +0000 (06:27 +0000)]
Fixed K9 scan issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10780
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Sun, 8 Aug 2010 19:07:14 +0000 (19:07 +0000)]
Fix reverse gasket issue that was breaking watch dog timer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10779
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Fri, 6 Aug 2010 23:09:49 +0000 (23:09 +0000)]
Move registration of DXE Core with PeCoffExtraActionLib after the lib constructors have been executed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10778
6f19259b -4bc3-4df7-8a09-
765794883524
jjin9 [Fri, 6 Aug 2010 08:31:00 +0000 (08:31 +0000)]
Fix IP address text representation issue about leading zeros
1.It keeps the rule that Leading zero’s compression(Yes/Not) need to be consistent throughout the whole IP address.
2.It also fixes some issue to recognize some invalid representation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10777
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Fri, 6 Aug 2010 01:20:17 +0000 (01:20 +0000)]
Change DxeNt32PeCoffExtraActionLib to not depend on the library constructor to initialize mWinNt pointer because DxeCore calls the library API before it calls the constructor.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10776
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Thu, 5 Aug 2010 20:03:44 +0000 (20:03 +0000)]
Make PeCoffExtraActionLib more robust, in case it is called before its constructor gets called. This fixes a crash in TOT.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10775
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Thu, 5 Aug 2010 17:08:14 +0000 (17:08 +0000)]
Fix crash in UnixPkg caused by r10769. The DxeCore is not calling the library constructor, but is calling the library members that are coded to assume the constructor has run. Check to make sure constructor has run before using services. If Dxe Core starts calling library constructor then this code will just work, but it may cause an issue with the extra call to load symbols, since we catch the symbol load in DxeIpl.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10774
6f19259b -4bc3-4df7-8a09-
765794883524
li-elvin [Wed, 4 Aug 2010 08:39:55 +0000 (08:39 +0000)]
According to SCSI spec, ANSI version is 3 bits, so 0x7 should be used to get correct ANSI version.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10773
6f19259b -4bc3-4df7-8a09-
765794883524
xdu2 [Wed, 4 Aug 2010 02:46:10 +0000 (02:46 +0000)]
Fix a typo in Ip4ConfigDriverBindingStart(): it should be gEfiManagedNetworkServiceBindingProtocolGuid instead of gEfiManagedNetworkProtocolGuid.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10772
6f19259b -4bc3-4df7-8a09-
765794883524
xdu2 [Wed, 4 Aug 2010 01:15:50 +0000 (01:15 +0000)]
Update MnpDxe to deliver VLAN tagged packet even when there is no VLAN is configured through VlanConfig protocol, this ensure that interesting applications could still get chance to receive all layer 2 frames.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10771
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Tue, 3 Aug 2010 07:41:54 +0000 (07:41 +0000)]
Clean up SEC implementation for Ovmf.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10770
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Tue, 3 Aug 2010 05:20:15 +0000 (05:20 +0000)]
Update DXE Core so its own PE/COFF image is passed to the PeCoffExtraActionLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10769
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Tue, 3 Aug 2010 05:16:57 +0000 (05:16 +0000)]
Update KbcResetDxe to be more generic by layering it on top of the ResetSystemLib class.
Reduce number of source files from 3 to 1.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10768
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Tue, 3 Aug 2010 05:12:35 +0000 (05:12 +0000)]
Add ResetSystemLib instances for PCAT that only supports cold reset and a warm reset that is always converted to a cold reset.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10767
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Tue, 3 Aug 2010 05:11:44 +0000 (05:11 +0000)]
Add ResetSystemLib instances for PCAT that only supports cold reset and a warm reset that is always converted to a cold reset.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10766
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Tue, 3 Aug 2010 04:54:44 +0000 (04:54 +0000)]
Inherit entries from previous IDT when new IDT is installed.
Update CS in each inherited IDT entry to match CS for the new GDT.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10765
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Tue, 3 Aug 2010 03:29:17 +0000 (03:29 +0000)]
Sync EDKII BaseTools to BaseTools project r2006.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10764
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Sat, 31 Jul 2010 01:50:35 +0000 (01:50 +0000)]
Add a temp BasePeCoffLib that deals with MOVT instruction. At this point we don't know how the PE/COFF spec will change, but we can merge the real change into the MdePkg when the PE/COFF spec is updated and remove this library. To be clear I made up the PE/COFF relocation extension for these relocations, but as long as the tools match it all works.... Mainly doing this to support gcc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10762
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Fri, 30 Jul 2010 16:01:09 +0000 (16:01 +0000)]
Add debug print that the system is about to be reset. I was seeing watchtog timeouts in UnixPkg and they were hard to debug as gdb was exiting. This debug print should be useful in general.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10761
6f19259b -4bc3-4df7-8a09-
765794883524
xli24 [Fri, 30 Jul 2010 09:09:24 +0000 (09:09 +0000)]
Add boundary check against APIC ID.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10757
6f19259b -4bc3-4df7-8a09-
765794883524
hhuan13 [Fri, 30 Jul 2010 08:54:45 +0000 (08:54 +0000)]
Fix a bug. iSCSI driver doesn’t follow driver model Start()/Stop() in case no configuration data for login. So when VLAN form Add/Remove items, iScsi form cannot update MAC address.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10740
6f19259b -4bc3-4df7-8a09-
765794883524
xli24 [Fri, 30 Jul 2010 08:41:57 +0000 (08:41 +0000)]
Add NULL pointer checking against Data.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10725
6f19259b -4bc3-4df7-8a09-
765794883524
xli24 [Fri, 30 Jul 2010 08:38:52 +0000 (08:38 +0000)]
Add NULL pointer checking against Data.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10724
6f19259b -4bc3-4df7-8a09-
765794883524
qhuang8 [Fri, 30 Jul 2010 08:09:44 +0000 (08:09 +0000)]
Minor update code comment in last commitment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10722
6f19259b -4bc3-4df7-8a09-
765794883524
qhuang8 [Fri, 30 Jul 2010 08:06:09 +0000 (08:06 +0000)]
Update UnixUgaScreen module to adapt to the change in Unix UGA protocol interface.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10721
6f19259b -4bc3-4df7-8a09-
765794883524
vanjeff [Fri, 30 Jul 2010 07:49:21 +0000 (07:49 +0000)]
Fix one issue: Some last IP settings may be lost when IP setting was re-set.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10720
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Fri, 30 Jul 2010 07:46:38 +0000 (07:46 +0000)]
Correct the check for macro definition __EDKII_GLUE_PEI_HOB_LIB__.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10719
6f19259b -4bc3-4df7-8a09-
765794883524
qhuang8 [Fri, 30 Jul 2010 06:48:48 +0000 (06:48 +0000)]
Add -m32 option for IA32 ASM flag to ensure it is treated as 32-bit for GCC assembler.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10718
6f19259b -4bc3-4df7-8a09-
765794883524
xli24 [Fri, 30 Jul 2010 05:38:39 +0000 (05:38 +0000)]
Handle gEfiStatusCodeDataTypeStringGuid in status code drivers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10717
6f19259b -4bc3-4df7-8a09-
765794883524
xli24 [Fri, 30 Jul 2010 05:35:19 +0000 (05:35 +0000)]
Handle gEfiStatusCodeDataTypeStringGuid in status code handler drivers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10716
6f19259b -4bc3-4df7-8a09-
765794883524
xli24 [Fri, 30 Jul 2010 02:00:53 +0000 (02:00 +0000)]
Fix GCC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10715
6f19259b -4bc3-4df7-8a09-
765794883524
xli24 [Fri, 30 Jul 2010 01:49:51 +0000 (01:49 +0000)]
Fix the risk of AP stack conflict.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10714
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Thu, 29 Jul 2010 18:26:19 +0000 (18:26 +0000)]
Fix Xcode build break.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10713
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Thu, 29 Jul 2010 06:44:13 +0000 (06:44 +0000)]
Use FreePool() library API to replace gBS->FreePool() service.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10712
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Thu, 29 Jul 2010 05:38:39 +0000 (05:38 +0000)]
Use local version EfiScriptLibAsciiStrLen() and EfiScriptLibStrLen() function to get string length so that this library doesn't depend on other EDK libraries and it can be linked together with EdkIIGlueLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10711
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Thu, 29 Jul 2010 03:24:13 +0000 (03:24 +0000)]
Complete coding to support X64 EFI ABI in UnixPkg. Code is not currently hooked in or tested, but it is code complete. Only missing step from testing is figuring out how to build with two different ABIs for the same platform. Sec needs a different ABI. May need to add a 2nd build step.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10710
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Thu, 29 Jul 2010 02:39:37 +0000 (02:39 +0000)]
Sync fix on MdePkg r9982.
Do not set gBS to NULL when the ExitBootServices event notification for the UEFI Runtime Lib is executed.
There is no guarantee that the ExitBootServices notification function from this lib will be the last ExitBootServices notification function registered by a module that uses the UEFI Runtime lib. If additional ExitBootServices notification functions require the use of gBS, then setting to NULL will break those additional ExitBootServices notification functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10709
6f19259b -4bc3-4df7-8a09-
765794883524
qhuang8 [Wed, 28 Jul 2010 03:07:30 +0000 (03:07 +0000)]
Sync EDKII BaseTools to BaseTools project r2000
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10706
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Wed, 28 Jul 2010 01:43:41 +0000 (01:43 +0000)]
Roll back change r10696, because new update on r10700 and r10701 handles this issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10705
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Wed, 28 Jul 2010 01:43:18 +0000 (01:43 +0000)]
Roll back change r10695, because new update on r10700 and r10701 handles this issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10704
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Wed, 28 Jul 2010 01:12:22 +0000 (01:12 +0000)]
Enhance FV2.ReadSection() to read GUIDED section raw data when its extraction guided protocol doesn’t exist.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10703
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Wed, 28 Jul 2010 01:12:18 +0000 (01:12 +0000)]
Enhance FV2.ReadSection() to read GUIDED section raw data when its extraction guided protocol doesn’t exist.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10702
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Wed, 28 Jul 2010 01:08:13 +0000 (01:08 +0000)]
Enhance PiSmmCoreMemoryAllocationLib Free function implementation to call gSmst or gBS Free service according to the buffer in or out of SMRAM range.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10701
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Wed, 28 Jul 2010 01:07:43 +0000 (01:07 +0000)]
Enhance SmmMemoryAllocationLib Free function implementation to call gSmst or gBS Free service according to the buffer in or out of SMRAM range.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10700
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Tue, 27 Jul 2010 22:12:11 +0000 (22:12 +0000)]
Fix Xcode build break.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10699
6f19259b -4bc3-4df7-8a09-
765794883524
vanjeff [Tue, 27 Jul 2010 07:40:20 +0000 (07:40 +0000)]
1. Consume Debug Agent Library to support debugging AP code based on PI MP protocol.
2. Copy LVT Timer setting from old BSP to new BSP when SwitchBsp() to make sure debug timer worked after bsp switched.
3. Save and restore old BSP's TSC value to new one.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10698
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Mon, 26 Jul 2010 18:07:19 +0000 (18:07 +0000)]
Add support for e1000 NICs to OVMF
1) Update README describing the QEMU version required for e1000, where to download the UEFI drivers for e1000, and how to enable network drivers in the platform firmware
2) Update DSC/FDF files NETWORK_ENABLE switch to enable e1000 and network driver support
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10697
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Mon, 26 Jul 2010 16:20:56 +0000 (16:20 +0000)]
Make sure gBS FreePool() is used to free the buffer always allocated by gBS AllocatePool() service.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10696
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Mon, 26 Jul 2010 16:20:34 +0000 (16:20 +0000)]
Make sure gBS FreePool() is used to free the buffer always allocated by gBS AllocatePool() service.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10695
6f19259b -4bc3-4df7-8a09-
765794883524
qhuang8 [Mon, 26 Jul 2010 08:58:14 +0000 (08:58 +0000)]
Change the GUID value of UnixBaseLib to avoid Guid value collision with BaseLib.inf in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10694
6f19259b -4bc3-4df7-8a09-
765794883524
qhuang8 [Mon, 26 Jul 2010 07:43:29 +0000 (07:43 +0000)]
Update AtaBus module to use Uefi.h as the master header file as it is a pure UEFI driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10693
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Sun, 25 Jul 2010 05:38:36 +0000 (05:38 +0000)]
Fix CodeSourcery 2010q1 link issue by adding missing intrinsics
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10692
6f19259b -4bc3-4df7-8a09-
765794883524
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
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
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
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
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
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
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
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