lpleahy [Fri, 10 Feb 2012 03:46:25 +0000 (03:46 +0000)]
Fix some errors detected by the GCC 4.4 compiler.
Signed-off-by: lpleahy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13007
6f19259b-4bc3-4df7-8a09-
765794883524
lpleahy [Fri, 10 Feb 2012 03:30:41 +0000 (03:30 +0000)]
Fix some errors detected by the GCC 4.4 compiler.
Signed-off-by: lpleahy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13006
6f19259b-4bc3-4df7-8a09-
765794883524
lpleahy [Thu, 9 Feb 2012 19:18:06 +0000 (19:18 +0000)]
Merged socket development branch:
* Add TCPv6 support to DataSink
* Add TCPv6 support to DataSource
* Add GetAddrInfo test application
* Add GetNameInfo test application
* Fixed copyright date
* Completed TFTP server - now downloads files from local directory
* Added ports and exit pages to web server
* Made PCD values package specific
Signed-off-by: lpleahy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13003
6f19259b-4bc3-4df7-8a09-
765794883524
lpleahy [Thu, 9 Feb 2012 19:16:44 +0000 (19:16 +0000)]
Merged socket development branch:
* Fixed bug report (Duane Voth: Python sockets test application not working) by starting the receive operations when a connection is established!
* Increased performance by extending the idle loop into the network stack with the Poll call.
* Added support for TCPv6 (SOCK_STREAM) and UDPv6 (SOCK_DGRAM).
* Added support for getaddrinfo and getnameinfo calls.
* Moved application PCD values into AppPkg
Signed-off-by: lpleahy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13002
6f19259b-4bc3-4df7-8a09-
765794883524
lpleahy [Thu, 9 Feb 2012 19:15:46 +0000 (19:15 +0000)]
Merged socket development branch
Signed-off-by: lpleahy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13001
6f19259b-4bc3-4df7-8a09-
765794883524
oliviermartin [Thu, 9 Feb 2012 15:34:16 +0000 (15:34 +0000)]
ArmPlatformPkg/Bds: Add support for 'BootCurrent'
The UEFI variable 'BootCurrent' defines the EFI application started by the Boot Manager.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13000
6f19259b-4bc3-4df7-8a09-
765794883524
oliviermartin [Thu, 9 Feb 2012 15:33:02 +0000 (15:33 +0000)]
ArmPlatformPkg/Bds: Fixed update of boot entries
There were some incorrect pointer calculations.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12999
6f19259b-4bc3-4df7-8a09-
765794883524
oliviermartin [Thu, 9 Feb 2012 15:30:19 +0000 (15:30 +0000)]
ArmPlatformPkg/Bds: Fixed 'BootNext' support
The 'BootNext' environment variable should only contain the index of the 'next' boot entry.
It was containing a complete Boot Option.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12998
6f19259b-4bc3-4df7-8a09-
765794883524
oliviermartin [Thu, 9 Feb 2012 15:29:35 +0000 (15:29 +0000)]
ArmPlatformPkg/Bds: Fixed memory leak
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12997
6f19259b-4bc3-4df7-8a09-
765794883524
oliviermartin [Thu, 9 Feb 2012 15:28:25 +0000 (15:28 +0000)]
ArmPkg/BdsLib: Fixed memory leak
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12996
6f19259b-4bc3-4df7-8a09-
765794883524
oliviermartin [Thu, 9 Feb 2012 15:27:22 +0000 (15:27 +0000)]
ArmPkg/BdsLib: Fixed incorrect typecasting
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12995
6f19259b-4bc3-4df7-8a09-
765794883524
oliviermartin [Thu, 9 Feb 2012 15:25:40 +0000 (15:25 +0000)]
ArmPkg/BdsLib: Load initrd next to the Linux kernel to allow to reduce the memory from the Linux command line
The initrd was loaded at the top of the UEFI System Memory. By consequence, if the system memory
was reduced by the Linux command line then the initrd was not part of the system memory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12994
6f19259b-4bc3-4df7-8a09-
765794883524
oliviermartin [Thu, 9 Feb 2012 15:23:58 +0000 (15:23 +0000)]
ArmPkg/BdsLib: Added support to start uImage
Detect if there is a u-boot header (by checking the signature) and skip it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12993
6f19259b-4bc3-4df7-8a09-
765794883524
sfu5 [Tue, 7 Feb 2012 05:31:11 +0000 (05:31 +0000)]
1. Fix a bug for PXEv6 when Proxy PXE server and DHCP server are located at the same server.
Signed-off-by: sfu5
Reviewed-by: tye
Reviewed-by: qianouyang
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12985
6f19259b-4bc3-4df7-8a09-
765794883524
niruiyu [Tue, 7 Feb 2012 01:58:30 +0000 (01:58 +0000)]
Generic solution to handle reset failure in some special platforms.
Upon receiving RESET packet from HOST side, TARGET either sends OK packet and resets, or sends OK packet followed by TIMEOUT packet in 2 seconds indicating the reset failure.
Signed-off-by: niruiyu
Reviewed-by: vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12984
6f19259b-4bc3-4df7-8a09-
765794883524
lzeng14 [Fri, 3 Feb 2012 07:48:57 +0000 (07:48 +0000)]
Append double-null for Type 19 data record.
Signed-off-by: lzeng14
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12983
6f19259b-4bc3-4df7-8a09-
765794883524
lzeng14 [Fri, 3 Feb 2012 07:43:00 +0000 (07:43 +0000)]
Change StrLen from UINT8 to UINTN to fix the potential infinite loop issue.
Signed-off-by: lzeng14
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12982
6f19259b-4bc3-4df7-8a09-
765794883524
jcarsey [Thu, 2 Feb 2012 16:55:30 +0000 (16:55 +0000)]
ShellPkg: fix 'ls' handling of empty drives where there is not even an "." or ".." directory.
Signed-off-by: jcarsey
Reviewed-by: winddy_zhang@byosoft.com.cn
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12981
6f19259b-4bc3-4df7-8a09-
765794883524
andrewfish [Wed, 1 Feb 2012 07:06:12 +0000 (07:06 +0000)]
Fix case sensativity issues.
signed-off-by:andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12980
6f19259b-4bc3-4df7-8a09-
765794883524
rsun3 [Wed, 1 Feb 2012 06:06:08 +0000 (06:06 +0000)]
Add Missing invocations to VA_END() for VA_START().
Signed-off-by: rsun3
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12979
6f19259b-4bc3-4df7-8a09-
765794883524
rsun3 [Wed, 1 Feb 2012 05:37:40 +0000 (05:37 +0000)]
MdeModulePkg PciBusDxe: Add typecast to eliminate possible "loss of precision" warning.
Signed-off-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12978
6f19259b-4bc3-4df7-8a09-
765794883524
darylm503 [Wed, 1 Feb 2012 00:17:05 +0000 (00:17 +0000)]
StdLib: Fix compiler compatibility issues:
tcp.h: Fix packed structure syntax. cdefs.h is not included so the existing __packed attribute was not properly expanded. Non-GCC compilers were also not handled correctly. Changing to the pack(n) pragma is compatible between all supported compilers.
SysCalls.c: The utimes() function has a fixed number of arguments and calls a function that takes a va_list argument. GCC will not allow the va_start, etc., macros to be used in a function with a fixed number of arguments, even though that is valid C. The workaround was to create a worker function for utimes() that takes a variable number of arguments. The worker function then uses the va_* macros.
Signed-off-by: darylm503
Reviewed-by: leegrosenbaum
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12977
6f19259b-4bc3-4df7-8a09-
765794883524
andrewfish [Tue, 31 Jan 2012 09:06:53 +0000 (09:06 +0000)]
Update based on review feedback.
signed-off-by:andrewfish
reviewed-by:Elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12976
6f19259b-4bc3-4df7-8a09-
765794883524
rsun3 [Tue, 31 Jan 2012 09:00:27 +0000 (09:00 +0000)]
MdeModulePkg PciBusDxe: Follow the P2P Bridge spec to detect if a P2P bridge supports 64-bit prefetchable base and limit addresses.
Signed-off-by: rsun3
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12975
6f19259b-4bc3-4df7-8a09-
765794883524
niruiyu [Tue, 31 Jan 2012 08:38:02 +0000 (08:38 +0000)]
New Fat binaries for EBC/IA32/IPF/X64 built from UDK2010.SR1 (core package@r12898, FatPkg@r67)
Signed-off-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12974
6f19259b-4bc3-4df7-8a09-
765794883524
ydong10 [Tue, 31 Jan 2012 08:08:10 +0000 (08:08 +0000)]
Update the code to follow the spec when evaluate the expression.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12973
6f19259b-4bc3-4df7-8a09-
765794883524
ydong10 [Tue, 31 Jan 2012 07:17:42 +0000 (07:17 +0000)]
Enable nest for suppressif/grayoutif/diableif for form/question/option.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12972
6f19259b-4bc3-4df7-8a09-
765794883524
andrewfish [Tue, 31 Jan 2012 00:18:25 +0000 (00:18 +0000)]
Fix type 19 print to match SBMIOS 2.7.
Note: Some one should port smbiosview to use the edk2 MdePkg/Include/IndustryStandard/SmBios.h and not carry it's own definitions, that are now out of date.
signed-off-by:andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12971
6f19259b-4bc3-4df7-8a09-
765794883524
andrewfish [Mon, 30 Jan 2012 23:55:38 +0000 (23:55 +0000)]
cleanup SmbiosLib.h definitions, and the code that depends on them.
signed-off-by:andrewfish
reviewed-by:mikekinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12970
6f19259b-4bc3-4df7-8a09-
765794883524
jcarsey [Mon, 30 Jan 2012 22:48:33 +0000 (22:48 +0000)]
ShellPkg: Update 'echo' command to print everything at once. this allows for format color coding on the output.
signed-off-by: jcarsey
reviewed-by: darylm503
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12969
6f19259b-4bc3-4df7-8a09-
765794883524
andrewfish [Mon, 30 Jan 2012 19:06:17 +0000 (19:06 +0000)]
Fix clang compiler warning.
signed-off-by:andewfish
reviewed-by:jcarsey
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12968
6f19259b-4bc3-4df7-8a09-
765794883524
andrewfish [Mon, 30 Jan 2012 19:01:10 +0000 (19:01 +0000)]
Oops missed these items in 12966. Also forgot the signoff, this signoff includes svn 12966.
signed-off-by:andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12967
6f19259b-4bc3-4df7-8a09-
765794883524
andrewfish [Mon, 30 Jan 2012 18:57:30 +0000 (18:57 +0000)]
Add a new SMBIOS Library, and platform SMBIOS driver that does not use Framework or Hii.
Note: The SmbiosLib should probably be moved to MdePkg after a full code review.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12966
6f19259b-4bc3-4df7-8a09-
765794883524
jcarsey [Mon, 30 Jan 2012 18:44:41 +0000 (18:44 +0000)]
ShellPkg: Allow for format character strings to be typed in editor without having effect on editor screen.
signed-off-by: jcarsey
reviewed-by: leegrosenbaum
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12965
6f19259b-4bc3-4df7-8a09-
765794883524
jcarsey [Mon, 30 Jan 2012 17:31:23 +0000 (17:31 +0000)]
ShellPkg: add more parenthesis to bcfg command.
signed-off-by: jcarsey
reviewed-by: mlmitchel
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12963
6f19259b-4bc3-4df7-8a09-
765794883524
jcarsey [Fri, 27 Jan 2012 20:51:14 +0000 (20:51 +0000)]
ShellPkg: fix redirection file parsing to allow spaces before filename.
signed-off-by: jcarsey
reviewed-by: darylm503
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12962
6f19259b-4bc3-4df7-8a09-
765794883524
jcarsey [Fri, 27 Jan 2012 18:53:18 +0000 (18:53 +0000)]
ShellPkg: Add support for adding optional data to the bcfg command in debug profile.
signed-off-by: jcarsey
reviewed-by: leegrosenbaum
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12961
6f19259b-4bc3-4df7-8a09-
765794883524
jcarsey [Fri, 27 Jan 2012 18:42:43 +0000 (18:42 +0000)]
ShellPkg: parameters with spaces need quotes.
signed-off-by: jcarsey
reviewed-by: leegrosenbaum
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12960
6f19259b-4bc3-4df7-8a09-
765794883524
jcarsey [Fri, 27 Jan 2012 18:40:51 +0000 (18:40 +0000)]
ShellPkg: Add support for adding optional data to the bcfg command.
signed-off-by: jcarsey
reviewed-by: leegrosenbaum
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12959
6f19259b-4bc3-4df7-8a09-
765794883524
darylm503 [Fri, 27 Jan 2012 01:06:16 +0000 (01:06 +0000)]
AppPkg/Applications/Python: Fix a mis-located module and establish the minimum set of built-in modules needed for Python to start and run.
Signed-off-by: darylm503
Reviewed-by: leegrosenbaum
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12958
6f19259b-4bc3-4df7-8a09-
765794883524
darylm503 [Thu, 26 Jan 2012 22:04:41 +0000 (22:04 +0000)]
AppPkg/Applications/Python: Get Python startup process fully working for EDK II.
AppPkg.dsc: Clean up and add Socket support.
Applications/Python/PythonCore.inf: Re-order source files.
Applications/Python/Efi/config.c: Add all mandatory modules. Disable remaining.
Applications/Python/Efi/edk2module.c: EDK II port of posixmodule.c.
Applications/Python/Efi/getpath.c: Determine initial module search path.
Applications/Python/Ia32/pyconfig.h: Configuration macros for Ia32.
Applications/Python/Ipf/pyconfig.h: Configuration macros for Ipf.
Applications/Python/PyMod-2.7.2/Include/osdefs.h: Select appropriate directory and path separators for UEFI.
Applications/Python/PyMod-2.7.2/Lib/ntpath.py: Allow multi-character device names to left of colon.
Applications/Python/PyMod-2.7.2/Lib/os.py: Add edk2 as a supported OS.
Applications/Python/PyMod-2.7.2/Lib/site.py: UEFI-specific path and environment setup.
Applications/Python/PyMod-2.7.2/Modules/errnomodule.c: Sync with errno.h.
Applications/Python/PyMod-2.7.2/Modules/selectmodule.c: Add UEFI support.
Applications/Python/PyMod-2.7.2/Modules/socketmodule.h: Add UEFI support.
Applications/Python/PyMod-2.7.2/Modules/zlib/zutil.h: Add UEFI support.
Applications/Python/PyMod-2.7.2/Python/getcopyright.c: Add Intel copyright.
Applications/Python/X64/pyconfig.h: Configuration macros for X64.
Signed-off-by: darylm503
Reviewed-by: geekboy15a
Reviewed-by: jljusten
Reviewed-by: lpleahy
Reviewed-by: leegrosenbaum
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12957
6f19259b-4bc3-4df7-8a09-
765794883524
darylm503 [Thu, 26 Jan 2012 21:45:54 +0000 (21:45 +0000)]
StdLib/Include/netdb.h: Re-enable macros needed by socket applications and perform general cleanup.
Signed-off-by: darylm503
Reviewed-by: jcarsey
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12956
6f19259b-4bc3-4df7-8a09-
765794883524
andrewfish [Thu, 26 Jan 2012 08:49:22 +0000 (08:49 +0000)]
Fix bug where { NULL } did not terminate with a double NULL. Add support for passing in NULL for the string pack. Update the comments.
signed-off-by: andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12955
6f19259b-4bc3-4df7-8a09-
765794883524
andrewfish [Tue, 24 Jan 2012 08:39:11 +0000 (08:39 +0000)]
Remove Framework concepts and fully port to PI. Remove the use of Hii for hard coded strings.
Note: The LogSmbiosData() function should probably be an MdeModulePkg library function.
signed-off-by: andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12954
6f19259b-4bc3-4df7-8a09-
765794883524
jcarsey [Fri, 20 Jan 2012 21:58:15 +0000 (21:58 +0000)]
ShellPkg: This patch fixes the redirection support for a Shell2 application running in Shell1.
signed-off-by: Richard_Chan@Dell.com
reviewed-by: jcarsey
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12951
6f19259b-4bc3-4df7-8a09-
765794883524
jcarsey [Fri, 20 Jan 2012 18:10:45 +0000 (18:10 +0000)]
ShellPkg: Fix rm CWD protection to be better at catching similarly named directories.
signed-off-by: jcarsey
reviewed-by: geekboy15a
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12950
6f19259b-4bc3-4df7-8a09-
765794883524
jcarsey [Thu, 19 Jan 2012 18:18:12 +0000 (18:18 +0000)]
ShellPkg: Fix SimpleTextInputEx based "CTRL-S" by emptying the buffer to prevent immediate release of the pause.
signed-off-by: jcarsey
reviewed-by: leegrosenbaum
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12944
6f19259b-4bc3-4df7-8a09-
765794883524
rsun3 [Wed, 18 Jan 2012 03:28:42 +0000 (03:28 +0000)]
DuetPkg BootSector: fix a bug in st32_64.S that the size for GDTR.limit is wrong.
Signed-off-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12934
6f19259b-4bc3-4df7-8a09-
765794883524
lgao4 [Mon, 16 Jan 2012 05:45:48 +0000 (05:45 +0000)]
Add new DEBUG_VERBOSE print error level.
Signed-off-by: lgao4
Reviewed-by: hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12933
6f19259b-4bc3-4df7-8a09-
765794883524
jyao1 [Sun, 15 Jan 2012 11:21:18 +0000 (11:21 +0000)]
correct license header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12932
6f19259b-4bc3-4df7-8a09-
765794883524
jyao1 [Sat, 14 Jan 2012 01:36:55 +0000 (01:36 +0000)]
Initialize LockBox.Attribute to 0 in SaveLockBox, or it will be random value.
signed-off-by: jyao1
reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12931
6f19259b-4bc3-4df7-8a09-
765794883524
rsun3 [Fri, 13 Jan 2012 06:29:44 +0000 (06:29 +0000)]
DuetPkg BootSector: fix bugs in .S files so that 32-bit and 64-bit DUET can boot to Shell with boot sector binaries built by GCC.
There is also a bug in bs32.asm/bs32.S that the space between the code and the 0xAA55 ending signature is not enough to hold the 2 debug strings. It is fixed by shortening the strings.
Signed-off-by: rsun3
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12930
6f19259b-4bc3-4df7-8a09-
765794883524
ydong10 [Thu, 12 Jan 2012 13:03:56 +0000 (13:03 +0000)]
Correct definition to follow spec.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12929
6f19259b-4bc3-4df7-8a09-
765794883524
ydong10 [Thu, 12 Jan 2012 07:18:08 +0000 (07:18 +0000)]
Update copyright.
Signed-off-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12928
6f19259b-4bc3-4df7-8a09-
765794883524
ydong10 [Thu, 12 Jan 2012 05:32:59 +0000 (05:32 +0000)]
Add check when get boot option variable to avoid system hang.
Signed-off-by: ydong10
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12927
6f19259b-4bc3-4df7-8a09-
765794883524
andrewfish [Wed, 11 Jan 2012 19:00:26 +0000 (19:00 +0000)]
Fix bug in SNP driver where default values for SNP mode are not filled in. This causes ARP and other drivers to fail to bind as they don't think it is an ethernet connection. Mode structure is filled via lazy update, so defaults need some genericly valid info, not zero.
signed-off-by:andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12926
6f19259b-4bc3-4df7-8a09-
765794883524
jcarsey [Wed, 11 Jan 2012 18:45:23 +0000 (18:45 +0000)]
ShellPkg: Check for Abort flag in main 'for' loop of ls command and propagate the condition when found.
Also prevents printing of an error output when user selects abort.
signed-off-by: jcarsey
reviewed-by:
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12925
6f19259b-4bc3-4df7-8a09-
765794883524
oliviermartin [Wed, 11 Jan 2012 10:52:57 +0000 (10:52 +0000)]
BeagleBaordPkg: Removed out of date comment in FDF file about USB stack
The USB stack has been fixed last year (cache coherencey issue in DmaLib).
USB stack has been tested on BeagleBoard-xm with rev 12923 (10/01/2012).
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12924
6f19259b-4bc3-4df7-8a09-
765794883524
jcarsey [Tue, 10 Jan 2012 20:53:26 +0000 (20:53 +0000)]
ShellPkg: Propagate verbose flag down so it can be used in all DH command use cases.
signed-off-by: jcarsey
reviewed-by: leegrosenbaum
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12923
6f19259b-4bc3-4df7-8a09-
765794883524
jcarsey [Tue, 10 Jan 2012 20:51:04 +0000 (20:51 +0000)]
ShellPkg: Add dump information for PCI Root Bridge IO protocol.
This indirectly updates the DH command since it will automatically call the new function.
signed-off-by: jcarsey
reviewed-by: leegrosenbaum
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12922
6f19259b-4bc3-4df7-8a09-
765794883524
rsun3 [Tue, 10 Jan 2012 04:30:33 +0000 (04:30 +0000)]
DuetPkg BootSector: Clean up .S files for 64-bit Duet for GCC build.
Partly contributed by Sergey Isakov [isakov-sl@bk.ru].
Signed-off-by: rsun3
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12921
6f19259b-4bc3-4df7-8a09-
765794883524
jcarsey [Mon, 9 Jan 2012 19:11:54 +0000 (19:11 +0000)]
ShellPkg: Add protocols / protocol GUIDs to display and input mapping.
This adds all protocols in the MdePkg.dec.
signed-off-by: jcarsey
reviewed-by: geekboy15a
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12920
6f19259b-4bc3-4df7-8a09-
765794883524
andrewfish [Sat, 7 Jan 2012 00:30:52 +0000 (00:30 +0000)]
Fix bug where open() mode was not being set based on type of device being emulated.
signed-off-by:andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12917
6f19259b-4bc3-4df7-8a09-
765794883524
darylm503 [Fri, 6 Jan 2012 23:26:59 +0000 (23:26 +0000)]
StdLib: Add a file was missed and should have been included in check-in 12061.
Signed-off-by: darylm503
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12916
6f19259b-4bc3-4df7-8a09-
765794883524
andrewfish [Fri, 6 Jan 2012 17:23:05 +0000 (17:23 +0000)]
Add an error print and exit if SEC core is not found.
signed-off-by: andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12912
6f19259b-4bc3-4df7-8a09-
765794883524
jcarsey [Thu, 5 Jan 2012 20:46:16 +0000 (20:46 +0000)]
ShellPkg: fix copyright date.
signed-off-by: jcarsey
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12911
6f19259b-4bc3-4df7-8a09-
765794883524
jcarsey [Thu, 5 Jan 2012 20:43:31 +0000 (20:43 +0000)]
ShellPkg: fix For command parsing list of values.
Fix a check that was checking twice for double quote '"' and not for space ' '.
signed-off-by: jcarsey
reviewed-by: geekboy15a
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12910
6f19259b-4bc3-4df7-8a09-
765794883524
jcarsey [Thu, 5 Jan 2012 18:20:23 +0000 (18:20 +0000)]
ShellPkg: Fix swapping of reset behavior.
This fix exchanges the behavior between "reset -c" and "reset" with "reset -w".
signed-off-by: jliu66
reviewed-by: jcarsey
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12909
6f19259b-4bc3-4df7-8a09-
765794883524
gdong1 [Thu, 5 Jan 2012 08:11:49 +0000 (08:11 +0000)]
Remove illegal TPL usage.
Signed-off-by: gdong1
Reviewed-by: niruiyu
Reviewed-by: tye1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12908
6f19259b-4bc3-4df7-8a09-
765794883524
lgao4 [Wed, 4 Jan 2012 04:17:48 +0000 (04:17 +0000)]
Fix the issue in PeiCore that doesn’t handle Unix style file path of PDB file.
Signed-off-by: lgao4
Reviewed-by:rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12906
6f19259b-4bc3-4df7-8a09-
765794883524
lgao4 [Wed, 4 Jan 2012 04:15:47 +0000 (04:15 +0000)]
Add the missing DebugPrintErrorLevelLib library class in MdePkg.dec
Signed-off-by: lgao4
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12905
6f19259b-4bc3-4df7-8a09-
765794883524
jcarsey [Mon, 2 Jan 2012 21:17:20 +0000 (21:17 +0000)]
ShellPkg: print error when column index is out of range instead of ASSERT.
signed-off-by: jcarsey
reviewed-by: leegrosenbaum
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12904
6f19259b-4bc3-4df7-8a09-
765794883524
jcarsey [Mon, 2 Jan 2012 18:07:13 +0000 (18:07 +0000)]
ShellPkg: fix Pipe usage verification.
Add checks for nothing before or nothing after the pipe and output an error when pipe usage fails.
signed-off-by: jcarsey
reviewed-by: leegrosenbaum
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12903
6f19259b-4bc3-4df7-8a09-
765794883524
oliviermartin [Thu, 29 Dec 2011 12:16:57 +0000 (12:16 +0000)]
BeagleBoard: Support bash script when 'set -u'
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12902
6f19259b-4bc3-4df7-8a09-
765794883524
oliviermartin [Thu, 29 Dec 2011 12:16:02 +0000 (12:16 +0000)]
BeagleBoard: Allow to overwrite the default toolchain
Each OS has its own default EDK2 toolchain. This change allows to overwrite
this default option.
Example: On Linux the default toolchain is ARMLINUXGCC, this command line can overwrite it:
TARGET_TOOLS=ARMGCC ./build.sh
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12901
6f19259b-4bc3-4df7-8a09-
765794883524
oliviermartin [Thu, 29 Dec 2011 12:15:08 +0000 (12:15 +0000)]
EmbeddedPkg/PrePiLib: Ensure FvImageInfo has been initialized to zero
Signed-off-by: lgao4
Reviewed-by: oliviermartin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12900
6f19259b-4bc3-4df7-8a09-
765794883524
lgao4 [Wed, 28 Dec 2011 09:48:15 +0000 (09:48 +0000)]
Roll back the previous change in MdePkg BaseLib Ia32 Thunk16.S and EcpPkg GlueLib BaseLib Ia32 Thunk16.S, and still use the hard code offset in them to avoid GCC compiler create the unexpected instruction.
Signed-off-by: lgao4
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12898
6f19259b-4bc3-4df7-8a09-
765794883524
li-elvin [Mon, 26 Dec 2011 02:18:13 +0000 (02:18 +0000)]
Change Openssl build option for IPF back to SIXTY_FOUR_BIT.
Signed-off-by: li-elvin
Reviewed-by: vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12893
6f19259b-4bc3-4df7-8a09-
765794883524
ydong10 [Thu, 22 Dec 2011 06:31:40 +0000 (06:31 +0000)]
Patch includes:
1.Update question value after BDS change code to avoid save invalid data.
2.Fix a corner case bug that may cause unexpected popup when changing the legacy device order.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12892
6f19259b-4bc3-4df7-8a09-
765794883524
rsun3 [Thu, 22 Dec 2011 02:56:28 +0000 (02:56 +0000)]
MdeModulePkg PCI Bus Driver: Remove the workaround for the EFI_PCI_IO_ATTRIBUTE_VGA_PALETTE_IO and EFI_PCI_IO_ATTRIBUTE_VGA_IO attributes to follow the UEFI spec.
Signed-off-by: rsun3
Reviewed-by: niruiyu
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12891
6f19259b-4bc3-4df7-8a09-
765794883524
erictian [Wed, 21 Dec 2011 06:04:56 +0000 (06:04 +0000)]
MdeModulePkg: Fix a bug in GetNextTargetLun()/GetNextTarget() when two cdroms attached
Signed-off-by: erictian
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12890
6f19259b-4bc3-4df7-8a09-
765794883524
lgao4 [Tue, 20 Dec 2011 09:50:19 +0000 (09:50 +0000)]
Clean up the hard code offset in MdePkg BaseLib Ia32 Thunk16.S and EcpPkg GlueLib BaseLib Ia32 Thunk16.S.
Signed-off-by: lgao4
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12889
6f19259b-4bc3-4df7-8a09-
765794883524
niruiyu [Tue, 20 Dec 2011 05:01:05 +0000 (05:01 +0000)]
Remove the redundancy commas when converting the SASEx device path node to text.
Signed-off-by: niruiyu
Reviewed-by: jjin9
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12888
6f19259b-4bc3-4df7-8a09-
765794883524
lzeng14 [Tue, 20 Dec 2011 01:57:53 +0000 (01:57 +0000)]
Add the omissions to comply with latest SMBIOS 2.7.1 spec.
Signed-off-by: lzeng14
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12887
6f19259b-4bc3-4df7-8a09-
765794883524
lgao4 [Mon, 19 Dec 2011 09:00:58 +0000 (09:00 +0000)]
Add more check to make sure the valid pointer be used.
Signed-off-by: lgao4
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12886
6f19259b-4bc3-4df7-8a09-
765794883524
ydong10 [Mon, 19 Dec 2011 06:57:49 +0000 (06:57 +0000)]
Update the process of some question from EFI_BROWSER_ACTION_CHANGED to EFI_BROWSER_ACTION_CHANGING.
Signed-off-by: ydong10
Reviewed-by: gdong1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12885
6f19259b-4bc3-4df7-8a09-
765794883524
sfu5 [Fri, 16 Dec 2011 09:00:47 +0000 (09:00 +0000)]
Reconfigure the UdpRead instance if an error occurred in Dhcp, Discover and Mtftp process.
Signed-off-by: sfu5
Reviewed-by: qianouyang
Reviewed-by: tye
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12884
6f19259b-4bc3-4df7-8a09-
765794883524
lgao4 [Fri, 16 Dec 2011 08:52:13 +0000 (08:52 +0000)]
Sync BaseTool trunk (version r2474) into EDKII BaseTools.
Signed-off-by: lgao4
Reviewed-by: gikidy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12883
6f19259b-4bc3-4df7-8a09-
765794883524
ydong10 [Fri, 16 Dec 2011 05:49:36 +0000 (05:49 +0000)]
Refine file header format to follow coding style.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12882
6f19259b-4bc3-4df7-8a09-
765794883524
ydong10 [Fri, 16 Dec 2011 05:48:06 +0000 (05:48 +0000)]
Refine file header format to follow coding style.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12881
6f19259b-4bc3-4df7-8a09-
765794883524
ydong10 [Fri, 16 Dec 2011 05:46:57 +0000 (05:46 +0000)]
Refine file header format to follow coding style.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12880
6f19259b-4bc3-4df7-8a09-
765794883524
andrewfish [Thu, 15 Dec 2011 22:26:15 +0000 (22:26 +0000)]
Add a PcdEmulatorLazyLoadSymbols that allows non-lazy symbol loading. The problem with lazy symbol loading is it only happens after you hit a breakpoint. This means you can't add breakpoints from the GUI and have them hit, this requires symbols being loaded as modules load so the breakpoints can get resolved.
Added arguments to SecGdbScriptBreak() to enable lldb python symbol load/unload script.
signed-off-by:andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12879
6f19259b-4bc3-4df7-8a09-
765794883524
oliviermartin [Thu, 15 Dec 2011 18:54:18 +0000 (18:54 +0000)]
ArmPlatformPkg: Fix ARM EB and VE builds
The EDID protocol defintions were missing from their ArmPlatformLcdLib.inf INF files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12878
6f19259b-4bc3-4df7-8a09-
765794883524
lgao4 [Thu, 15 Dec 2011 08:27:53 +0000 (08:27 +0000)]
Fix the issue to clear the high 16-bit of EAX before use it Thunk code.
This patch updates MdePkg BaseLib, EcpPkg EdkIIGlueLib BaseLib and ThunkLib.
Signed-off-by: lgao4
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12877
6f19259b-4bc3-4df7-8a09-
765794883524
lgao4 [Thu, 15 Dec 2011 08:27:17 +0000 (08:27 +0000)]
Fix the issue to clear the high 16-bit of EAX before use it Thunk code.
This patch updates MdePkg BaseLib, EcpPkg EdkIIGlueLib BaseLib and ThunkLib.
Signed-off-by: lgao4
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12876
6f19259b-4bc3-4df7-8a09-
765794883524
lgao4 [Thu, 15 Dec 2011 06:56:57 +0000 (06:56 +0000)]
Update PcdSetPtr() API to set the output buffer size to the max buffer size when the input buffer size is larger than the max buffer size. This behavior follows API description.
Signed-off-by: lgao4
Reviewed-by: jlin16
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12875
6f19259b-4bc3-4df7-8a09-
765794883524
lgao4 [Thu, 15 Dec 2011 06:50:54 +0000 (06:50 +0000)]
Enhance DXE dispatcher logic to check the duplicated FV image bases on FvHob2 and FvNameGuid per PI spec.
Signed-off-by: lgao4
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12874
6f19259b-4bc3-4df7-8a09-
765794883524
lzeng14 [Thu, 15 Dec 2011 06:43:28 +0000 (06:43 +0000)]
Add comments for EFI_CACHE_SRAM_TYPE_DATA because of the inconsistency between CacheSubclass 0.9 and SMBIOS specifications.
Signed-off-by: lzeng14
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12873
6f19259b-4bc3-4df7-8a09-
765794883524
lzeng14 [Thu, 15 Dec 2011 06:42:15 +0000 (06:42 +0000)]
Add comments for EFI_CACHE_SRAM_TYPE_DATA because of the inconsistency between CacheSubclass 0.9 and SMBIOS specifications.
Signed-off-by: lzeng14
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12872
6f19259b-4bc3-4df7-8a09-
765794883524
lzeng14 [Thu, 15 Dec 2011 06:38:40 +0000 (06:38 +0000)]
Exchange the sequence of Asynchronous and Synchronous in CACHE_SRAM_TYPE_DATA according to SMBIOS specification.
Signed-off-by: lzeng14
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12871
6f19259b-4bc3-4df7-8a09-
765794883524