ydong10
e009609938
Refine some code to make the code run safely.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10863 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-10 01:04:00 +00:00
andrewfish
18bd7f34e9
These libraries moved to ArmPkg, but did not get deleted. Fixing that issue.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10862 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-09 22:04:50 +00:00
hhuan13
2e4c2a049b
Improve PXE Over IPv4 performance:
...
1. Stop UdpWrite instance upon return from EfiPxeBcUdpWrite() to avoid mass pkgs enqueue to this useless instance in Udp layer.
2. Enhance Udp timeout logic to prevent the worst case happen, and set PxeUdp instance to 50ms to avoid enqueue mass pkgs in background.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10861 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-09 09:30:19 +00:00
andrewfish
f3e699088b
Update example symbol command to dump out gdb load commands if you compile with gcc or RVCT commands if you compile with other compilers.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10859 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-08 17:58:18 +00:00
darylm503
7e4ed4b8c7
Fix HSD Tracker 204133.
...
Clarified the comment for the ShellExecute function.
Added text indicating that the EnvironmentVariables and Status parameters are ignored in a pre-UEFI Shell 2.0 environment and that the Output parameter is ignored in a UEFI Shell 2.0 environment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10858 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-08 14:46:38 +00:00
hhtian
b28fe0e209
update copyright format
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10857 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-08 03:15:05 +00:00
andrewfish
605466ae28
ARM RVCT 3.1 compiler has issues with __packed structures containing anonymous structures in a union. I had to add extra PACKED macros to get things to compile. Hopefully at some point RVCT will support #pragma pack(1) properly and we can retire PACKED macro.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10856 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-07 18:26:58 +00:00
rsun3
3163461872
Rename one file to follow the file naming convention.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10855 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-07 10:37:31 +00:00
rsun3
24b6e24ec6
Rename one file to follow the file naming convention.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10854 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-07 10:36:37 +00:00
rsun3
84a773d18b
Rename two files to follow the file naming convention.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10853 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-07 10:23:05 +00:00
rsun3
09a90201ee
Rename two files to follow the file naming convention.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10852 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-07 10:22:21 +00:00
qhuang8
111be80fe4
Add missing BPDG tool sources when sync to BaseTools r2042
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10851 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-06 02:01:57 +00:00
qhuang8
e56468c072
Sync EDKII BaseTools to BaseTools project r2042.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10850 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-06 01:58:00 +00:00
qhuang8
034ffda8b2
Fill AtaDeviceHeader field in ATA command block
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10849 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-02 08:00:27 +00:00
qhuang8
e527bd203a
Enlarge the maximum size of VOID* typed PCD to ensure it is greater or equal to the actual size of data.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10845 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-31 00:37:16 +00:00
tye1
ac8cca2a4d
The patch acknowledges the TCP zero window probe message, either the format with 1 byte new data, or no new data. It also increases exponentially the interval between successive probes when performing TCP zero window probe.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10831 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-27 07:57:45 +00:00
hhuan13
8730386e6d
To comply w/ UEFI spec , In Dhcp(), Discover(), and Mtftp() interfaces, set the IP filter to use StationIp.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10829 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-27 05:11:32 +00:00
rsun3
1aa8ced11e
Program virtual wire mode and disable LINT0 and LINT1 in ApProcWrapper() of MpServicesOnFrameworkMpServicesThunk.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10828 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-27 03:47:42 +00:00
rsun3
b1b8c631f6
Add DisableLvtInterrupts() for the Local APIC library class.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10827 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-27 03:46:18 +00:00
pgao2
9a43bc39a9
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
2010-08-26 08:26:14 +00:00
rsun3
ae40aef1fb
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
2010-08-26 05:58:42 +00:00
niruiyu
2ca7eca448
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
2010-08-26 03:15:23 +00:00
qhuang8
00dbccf2d5
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
2010-08-26 00:50:37 +00:00
darylm503
ffadc63799
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
2010-08-25 23:06:43 +00:00
qhuang8
0d622b28c3
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
2010-08-25 00:57:08 +00:00
qhuang8
8731dbe963
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
2010-08-24 14:12:28 +00:00
li-elvin
f95bc04893
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
2010-08-23 10:05:44 +00:00
rsun3
9166e5f567
Add Local APIC library mapping.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10816 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-23 06:55:48 +00:00
rsun3
0a6374ba6d
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
2010-08-23 06:53:10 +00:00
rsun3
bf73cc4bbc
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
2010-08-23 06:34:39 +00:00
xli24
7ae58ec2ea
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
2010-08-20 17:32:04 +00:00
hhuan13
9e375eb11f
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
2010-08-20 06:29:55 +00:00
niruiyu
f6aa9c1bb5
Fix GCC build failure
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10809 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-20 05:30:07 +00:00
niruiyu
558be4559a
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
2010-08-19 02:40:27 +00:00
niruiyu
2186f2a106
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
2010-08-19 02:39:19 +00:00
andrewfish
bb111c2346
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
2010-08-18 20:24:08 +00:00
niruiyu
6989af7168
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
2010-08-18 12:21:21 +00:00
hhuan13
cfbc1a7537
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
2010-08-18 00:47:26 +00:00
rsun3
5b9fc2f089
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
2010-08-17 09:43:50 +00:00
vanjeff
f184c104af
remove CpuBreakpoint ().
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10801 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-17 08:29:00 +00:00
vanjeff
db724ff9c1
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
2010-08-17 08:27:12 +00:00
sfu5
6efe946118
Refine code.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10799 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-16 01:11:49 +00:00
hhuan13
11fa4298d6
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
2010-08-15 01:41:30 +00:00
qhuang8
83c7c8036c
Minor refinement on source code.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10797 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-14 07:25:20 +00:00
andrewfish
95ac6ef640
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
2010-08-13 19:49:30 +00:00
xli24
28a94112d1
Add datahub status sode handler driver.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10795 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-13 05:43:30 +00:00
qhuang8
04df642b98
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
2010-08-13 05:13:34 +00:00
sfu5
f0b0ba3177
Refine code.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10793 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-13 02:47:22 +00:00
andrewfish
3364f3ce82
Add LZMA decompression to DXE Core.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10792 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-12 18:32:36 +00:00
andrewfish
abeca79abf
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
2010-08-12 17:21:22 +00:00