]> git.proxmox.com Git - mirror_edk2.git/log
mirror_edk2.git
13 years agoUpdate EdkShellBinPkg to integrate a bug fix date & time command for x64 shell binaries.
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

13 years agoChange the check condition for 16 byte command, when HDD size is > 2TB, use 16 byte...
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

13 years agoAdd Local APIC library mapping.
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

13 years agoUpdate MpServicesOnFrameworkMpServicesThunk to consume Local APIC library.
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

13 years agoAdd Local APIC Library class defining APIs for common Local APIC operations. Add...
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

13 years agoThe definition of NumberOfSmmReservedRegions is incorrect in Framework SmmCis specifi...
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

13 years agoFixed Ip4 bug that causing Iscsi reconnect hang sporadically . In Ip4OutPut()->Ip4IpS...
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

13 years agoFix GCC build failure
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

13 years agoCheck in the IsaIoDxe device driver that consumes EFI_SIO_PROTOCOL to produce EFI_ISA...
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

13 years agoMove ACPI_SMALL_RESOURCE_HEADER and ACPI_LARGE_RESOURCE_HEADER from SuperIo.h to...
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

13 years agoAdded support for an EFI X64 ABI compatible UnixPkg. With an internal only compiler...
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

13 years agoclear the correct BAR register. Because for P2P device, only register from 0x10 to...
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

13 years ago1. Introduce PcdTftpBlockSize to let platform DSC customize block size.
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

13 years agoSmmBaseHelper: Update MP state in Framework SMST before transferring control to Frame...
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

13 years agoremove CpuBreakpoint ().
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

13 years agoFixed one bug which may lead standard error handle could not be set into system table...
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

13 years agoRefine code.
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

13 years agoRoll back BlockSize to 0x8000 for PXE performance concern.
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

13 years agoMinor refinement on source code.
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

13 years agoIf you install 64-bit kernel build will fail. This requires manually setting properti...
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

13 years agoAdd datahub status sode handler driver.
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

13 years agoUpdate EdkShellBinPkg to integrate a bug fix in PCI command in Shell source r42.
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

13 years agoRefine code.
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

13 years agoAdd LZMA decompression to DXE Core.
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

13 years agoFix bug in LoadFv command. Don't free the buffer the file was loaded into as the...
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

13 years agoFix bug in Ip4Dxe and Dhcp4Dxe to ensure that RaiseTPL and RestoreTPL are in pair.
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

13 years agoFix PcAtChipsetPkg build failure by changing the PcAtChipsetPkg.dsc to reference...
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

13 years agoAdd boundary check against variable MTRR count.
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

13 years agoAdd explicit type cast to suppress possible warning of precession loss.
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

13 years agoMinor code refinement.
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

13 years agoAdd explicit type cast to suppress possible warning of precession loss.
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

13 years agoAdd explicit type cast to suppress possible warning of precession loss.
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

13 years agoRemove the EHCI/UHCI inter-dependency in GenericBdsLib since the EHCI/UHCI controller...
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

13 years agoFixed K9 scan issues.
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

13 years agoFixed K9 scan issues.
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

13 years agoFix reverse gasket issue that was breaking watch dog timer.
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

13 years agoMove registration of DXE Core with PeCoffExtraActionLib after the lib constructors...
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

13 years agoFix IP address text representation issue about leading zeros
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

13 years agoChange DxeNt32PeCoffExtraActionLib to not depend on the library constructor to initia...
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

13 years agoMake PeCoffExtraActionLib more robust, in case it is called before its constructor...
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

13 years agoFix crash in UnixPkg caused by r10769. The DxeCore is not calling the library constru...
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

13 years agoAccording to SCSI spec, ANSI version is 3 bits, so 0x7 should be used to get correct...
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

13 years agoFix a typo in Ip4ConfigDriverBindingStart(): it should be gEfiManagedNetworkServiceBi...
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

13 years agoUpdate MnpDxe to deliver VLAN tagged packet even when there is no VLAN is configured...
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

13 years agoClean up SEC implementation for Ovmf.
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

13 years agoUpdate DXE Core so its own PE/COFF image is passed to the PeCoffExtraActionLib
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

13 years agoUpdate KbcResetDxe to be more generic by layering it on top of the ResetSystemLib...
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

13 years agoAdd ResetSystemLib instances for PCAT that only supports cold reset and a warm reset...
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

13 years agoAdd ResetSystemLib instances for PCAT that only supports cold reset and a warm reset...
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

13 years agoInherit entries from previous IDT when new IDT is installed.
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

13 years agoSync EDKII BaseTools to BaseTools project r2006.
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

13 years agoAdd a temp BasePeCoffLib that deals with MOVT instruction. At this point we don't...
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

13 years agoAdd debug print that the system is about to be reset. I was seeing watchtog timeouts...
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

13 years agoAdd boundary check against APIC ID.
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

13 years agoFix a bug. iSCSI driver doesn’t follow driver model Start()/Stop() in case no configu...
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

13 years agoAdd NULL pointer checking against Data.
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

13 years agoAdd NULL pointer checking against Data.
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

13 years agoMinor update code comment in last commitment.
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

13 years agoUpdate UnixUgaScreen module to adapt to the change in Unix UGA protocol interface.
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

13 years agoFix one issue: Some last IP settings may be lost when IP setting was re-set.
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

13 years agoCorrect the check for macro definition __EDKII_GLUE_PEI_HOB_LIB__.
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

13 years agoAdd -m32 option for IA32 ASM flag to ensure it is treated as 32-bit for GCC assembler.
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

13 years agoHandle gEfiStatusCodeDataTypeStringGuid in status code drivers.
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

13 years agoHandle gEfiStatusCodeDataTypeStringGuid in status code handler drivers.
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

13 years agoFix GCC build.
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

13 years agoFix the risk of AP stack conflict.
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

13 years agoFix Xcode build break.
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

13 years agoUse FreePool() library API to replace gBS->FreePool() service.
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

13 years agoUse local version EfiScriptLibAsciiStrLen() and EfiScriptLibStrLen() function to...
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

13 years agoComplete coding to support X64 EFI ABI in UnixPkg. Code is not currently hooked in...
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

13 years agoSync fix on MdePkg r9982.
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

13 years agoSync EDKII BaseTools to BaseTools project r2000
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

13 years agoRoll back change r10696, because new update on r10700 and r10701 handles this issue.
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

13 years agoRoll back change r10695, because new update on r10700 and r10701 handles this issue.
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

13 years agoEnhance FV2.ReadSection() to read GUIDED section raw data when its extraction guided...
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

13 years agoEnhance FV2.ReadSection() to read GUIDED section raw data when its extraction guided...
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

13 years agoEnhance PiSmmCoreMemoryAllocationLib Free function implementation to call gSmst or...
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

13 years agoEnhance SmmMemoryAllocationLib Free function implementation to call gSmst or gBS...
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

13 years agoFix Xcode build break.
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

13 years ago1. Consume Debug Agent Library to support debugging AP code based on PI MP protocol.
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

13 years agoAdd support for e1000 NICs to OVMF
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

13 years agoMake sure gBS FreePool() is used to free the buffer always allocated by gBS AllocateP...
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

13 years agoMake sure gBS FreePool() is used to free the buffer always allocated by gBS AllocateP...
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

13 years agoChange the GUID value of UnixBaseLib to avoid Guid value collision with BaseLib.inf...
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

13 years agoUpdate AtaBus module to use Uefi.h as the master header file as it is a pure UEFI...
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

13 years agoFix CodeSourcery 2010q1 link issue by adding missing intrinsics
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

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