]>
git.proxmox.com Git - mirror_edk2.git/log
lgao4 [Tue, 6 Mar 2012 08:47:29 +0000 (08:47 +0000)]
Update string offset and default offset from UINT16 to STRING_HEAD to match the generated PCD database.
Signed-off-by: lgao4
Reviewed-by: jliu66
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13081
6f19259b -4bc3-4df7-8a09-
765794883524
lpleahy [Mon, 5 Mar 2012 19:05:47 +0000 (19:05 +0000)]
Fix read issue detected by the following Python program. The issue was that the caller's buffer pointer was not being advanced between segments of the read data.
Signed-off-by: lpleahy
----- UnbufferedRead.py -----
import httplib
conn = httplib.HTTPConnection("10.241.97.30")
conn.request('GET', '/')
resp = conn.getresponse(buffering=True)
if resp.status != 200:
print "status:", resp.status
print "aborting"
sys.exit(1)
while True:
chunk = resp.read()
if not chunk:
break
print chunk
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13077
6f19259b -4bc3-4df7-8a09-
765794883524
jcarsey [Mon, 5 Mar 2012 17:51:52 +0000 (17:51 +0000)]
ShellPkg: Fix ICC11 build failure.
Eliminate SHELL_STATUS and EFI_STATUS mismatch.
Signed-off-by: jcarsey
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13075
6f19259b -4bc3-4df7-8a09-
765794883524
li-elvin [Thu, 1 Mar 2012 11:16:42 +0000 (11:16 +0000)]
When CSM uses EFI_SEGMENT and EFI_OFFSET to call CSM16 function, some CSM16 use es:[offset + 0xabcd] to get data passed from CSM32, offset + 0xabcd could exceed 0xFFFF which is invalid in real mode. So added NORMALIZE_EFI_SEGMENT and NORMALIZE_EFI_OFFSET to keep offset as small as possible to avoid this issue during CSM16 function call.
Signed-off-by: li-elvin
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13074
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Wed, 29 Feb 2012 17:22:11 +0000 (17:22 +0000)]
ArmPkg/ArmLib: Replaced 'UINTN' type by architecture agnostic types (EFI_PHYSICAL_ADDRESS & EFI_VIRTUAL_ADDRESS) to describe memory addresses
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13073
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Wed, 29 Feb 2012 17:21:17 +0000 (17:21 +0000)]
ArmPlatformPkg/ArmPlatformSysConfigLib: Removed dependency on Uefi.h since it is a Base Library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13072
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Wed, 29 Feb 2012 17:19:52 +0000 (17:19 +0000)]
ArmPlatformPkg/PL011Uart: Allowed to change UART settings in its initialization function
Because this driver can be used for different purposes (Terminal, Debug port, communication),
its initialization function has been extended to accept additional settings.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13071
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Wed, 29 Feb 2012 04:57:44 +0000 (04:57 +0000)]
Update FrameworkUefiLib library instance to implement the missing CatSPrint() and CatVSPrint() API.
Signed-off-by: lgao4
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13070
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Wed, 29 Feb 2012 04:56:53 +0000 (04:56 +0000)]
Fix the issue in PeiCore to support PDB file path without '\' or '.' character.
Signed-off-by: lgao4
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13069
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Wed, 29 Feb 2012 04:56:26 +0000 (04:56 +0000)]
Add sample code to show how to register Browser HotKey by BrowserEx protocol.
Signed-off-by: lgao4
Reviewed-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13068
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Tue, 28 Feb 2012 22:49:14 +0000 (22:49 +0000)]
MdePkg/Include/Base.h: Defined __va_copy macro when not defined by the ARM toolchain
The newer versions of ARM RVCT do not define __va_copy.
Signed-off-by: oliviermartin
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13067
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Tue, 28 Feb 2012 17:35:03 +0000 (17:35 +0000)]
ArmPlatformPkg/ArmPlatformSysConfigLib: Add function 'ArmPlatformSysConfigGetValues'
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13066
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Tue, 28 Feb 2012 17:34:12 +0000 (17:34 +0000)]
ArmPkg/Library/SemihostLib: Removed depenencies on Uefi.h (Base library)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13065
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Tue, 28 Feb 2012 17:32:47 +0000 (17:32 +0000)]
ArmPlatformPkg/NorFlashDxe: Fixed CFI NOR Flash driver
CFI Flash differentiates DeviceBaseAddress with BlockAddress in
its protocol. The DeviceBaseAddress was not considered in the
previous version of this driver.
This version also fixes some bugs in the implementation of the
CFI protocol.
This new version also uses the Boot Mode Hob to reinitialized the
FVB when Boot Mode is equal to BOOT_WITH_DEFAULT_SETTINGS.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13064
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Tue, 28 Feb 2012 17:31:17 +0000 (17:31 +0000)]
ArmPlatformPkg/Bds: Fixed the size of the unicode string use to represent hexadecimal memory address
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13063
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Tue, 28 Feb 2012 17:30:20 +0000 (17:30 +0000)]
ArmPlatformPkg/Sec: Add ASSERT() for checking the Secure Monitor Stack PCD values
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13062
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Tue, 28 Feb 2012 17:29:41 +0000 (17:29 +0000)]
ArmPlatformPkg/Sec: Move 'ArmPlatformSecExtraAction' before we set NSACR & SCR
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13061
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Tue, 28 Feb 2012 17:28:44 +0000 (17:28 +0000)]
ArmPlatformPkg/Sec: Fix transition to Trusted Monitor World with ARMGCC
The enter_monitor_world() function was trashing r0/r1/r2 registers and then
was returning back to 'C'. The compiler might have used these registers in the C code.
These new design prevents register corruptions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13060
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Tue, 28 Feb 2012 17:27:15 +0000 (17:27 +0000)]
ArmPlatformPkg: Move the Secure Monitor initialization into a separate 'ArmTrustedMonitorLib' library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13059
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Tue, 28 Feb 2012 17:23:53 +0000 (17:23 +0000)]
ArmPlatformPkg: Updated the stack setup to have the same geometry between the Secure and Normal World
Having a similar setup reduces the error during the MPCore stack setup.
The stack setup is described on this wikipage:
https://sourceforge.net/apps/mediawiki/tianocore/index.php?title=ArmPlatformPkg/Stack
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13058
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Tue, 28 Feb 2012 17:22:13 +0000 (17:22 +0000)]
ArmPlatformPkg/PrePi: Fixed stack setup when System Memory is mapped upto 0xFFFFFFFF
The stacks must be 32-bit aligned (which is not the case of 0xFFFFFFFF).
This change ensures the stacks are setup properperly in case the system
memory is available at 0xFFFFFFFF.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13057
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Tue, 28 Feb 2012 17:20:34 +0000 (17:20 +0000)]
ArmPkg/ArmLib: Fixed 'ArmConfigureMmu()' to avoid overflow when an entry is mapped at 0xFFFFFFFF
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13056
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Tue, 28 Feb 2012 17:18:35 +0000 (17:18 +0000)]
ArmPkg/ArmLib.h: Update 'ARM_MEMORY_REGION_DESCRIPTOR' to support 64bit addresses
Replaced 'UINT32' by 'UINTN'.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13055
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Tue, 28 Feb 2012 17:16:58 +0000 (17:16 +0000)]
ArmPlatformPkg: Moved 'ArmTrustZoneLib' from ArmPkg/Library to ArmPlatformPkg/Drivers
This library is really the driver for the ARM Trustzone controllers (TZPC and TZASC).
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13054
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Tue, 28 Feb 2012 17:13:30 +0000 (17:13 +0000)]
ArmPlatformPkg/LcdGraphicsOutputDxe: Added support for ARM HDLCD controller (2)
... Forgot the new files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13053
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Tue, 28 Feb 2012 17:11:42 +0000 (17:11 +0000)]
ArmPlatformPkg: Minor code changes (comments, misspellings, coding stylei, line endings)
- Fixed misspellings
- Updated Copyright
- Remove unused sections in INF file
- Fixed incorrect commentsi
- Fixed coding style
- Fixed line endings (CRLR)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13052
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Tue, 28 Feb 2012 17:09:16 +0000 (17:09 +0000)]
ArmPlatformPkg/LcdGraphicsOutputDxe: Added support for ARM HDLCD controller
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13051
6f19259b -4bc3-4df7-8a09-
765794883524
darylm503 [Tue, 28 Feb 2012 02:30:19 +0000 (02:30 +0000)]
StdLib, AppPkg: Update ReadMe files.
Signed-off-by: darylm503
Reviewed-by: jcarsey
Reviewed-by: michaelkrau
Reviewed-by: laurie0131
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13046
6f19259b -4bc3-4df7-8a09-
765794883524
darylm503 [Mon, 27 Feb 2012 21:15:26 +0000 (21:15 +0000)]
StdLib/Include/paths.h: Update paths to reflect new base of \Efi\StdLib.
(file missed from previous commit)
Signed-off-by: darylm503
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13045
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Mon, 27 Feb 2012 10:27:10 +0000 (10:27 +0000)]
ArmPlatformPkg/PrePeiCore: Ensured the size is 8-byte aligned
Once divided by 2, the size should be 4-byte aligned to ensure the
stack pointer is 4-byte aligned.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13044
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Mon, 27 Feb 2012 10:26:16 +0000 (10:26 +0000)]
ArmPlatformPkg/ArmPlatformGlobalVariableLib: Added an assert to ensure the 'VariableOffset' belongs to the GlobalVariable region
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13043
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Mon, 27 Feb 2012 10:25:20 +0000 (10:25 +0000)]
ArmPlatformPkg/SP804TimerDxe: Move 'gVector' initialization earlier in the code
The global variable 'gVector' is also used by the function TimerDriverSetTimerPeriod().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13042
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Mon, 27 Feb 2012 10:23:08 +0000 (10:23 +0000)]
ArmPkg/ArmArchTimerLib: Renamed the constructor to 'TimerConstructor()'
Some ARM Platform components (ie: PrePei) use this constructor name to
initialize the timers (at this time there is no PE loader to call the
library constructors) when PI/UEFI is started to initialize the
PerformanceLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13041
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Mon, 27 Feb 2012 10:20:46 +0000 (10:20 +0000)]
ArmPkg/PL390Gic: Removed duplicated line of codes disabling the interrupts
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13040
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Mon, 27 Feb 2012 10:18:35 +0000 (10:18 +0000)]
ArmPkg/LinuxLoader: Fixed memory leak
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13039
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Mon, 27 Feb 2012 07:46:04 +0000 (07:46 +0000)]
Update the modifier of ThunkContext parameter for AsmPrepareThunk16() in BaseLib from OUT to IN OUT.
Signed-off-by: lgao4
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13038
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Mon, 27 Feb 2012 07:44:42 +0000 (07:44 +0000)]
Update ECP Package Glue BaseLib to save/restore xmm6-xmm15 in functions setJump/longJump.
Signed-off-by: lgao4
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13037
6f19259b -4bc3-4df7-8a09-
765794883524
ydong10 [Mon, 27 Feb 2012 02:44:20 +0000 (02:44 +0000)]
Add code check to avoid access violation.
Signed-off-by:ydong10
Reviewed-by:lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13036
6f19259b -4bc3-4df7-8a09-
765794883524
gdong1 [Mon, 27 Feb 2012 02:33:20 +0000 (02:33 +0000)]
Remove ASSERT to let DXE core return gracefully when loading an invalid image.
Signed-off-by: gdong1
Reviewed-by: jyao1
Reviewed-by: CZhang46
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13035
6f19259b -4bc3-4df7-8a09-
765794883524
lpleahy [Fri, 24 Feb 2012 18:45:09 +0000 (18:45 +0000)]
Fix issues detected by python web-server.
* Removed display of TPL
* Added NOP implementation for SO_REUSEADDR
* Add better detection of socket address
* Return first address
Signed-off-by: lpleahy
Python Web server below:
---------------
import sys
import BaseHTTPServer
from SimpleHTTPServer import SimpleHTTPRequestHandler
HandlerClass = SimpleHTTPRequestHandler
ServerClass = BaseHTTPServer.HTTPServer
Protocol = "HTTP/1.0"
port = 80
server_address = ('', port)
HandlerClass.protocol_version = Protocol
httpd = ServerClass(server_address, HandlerClass)
sa = httpd.socket.getsockname()
print "Serving HTTP on", sa[0], "port", sa[1], "..."
httpd.serve_forever()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13034
6f19259b -4bc3-4df7-8a09-
765794883524
jcarsey [Fri, 24 Feb 2012 17:12:39 +0000 (17:12 +0000)]
ShellPkg: Fix ICC11 build failure.
Signed-off-by: jcarsey
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13032
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Fri, 24 Feb 2012 16:11:51 +0000 (16:11 +0000)]
ArmPkg/BdsLib: Added support for using uInitrd
Detect if there is a u-boot header on the initrd (by checking the
signature) and skip it.
Signed-off-by: ryan.harkin@linaro.org
Reviewed-by: oliviermartin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13031
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Fri, 24 Feb 2012 16:05:00 +0000 (16:05 +0000)]
ArmPkg/BdsLib: Fixed LinuxImageSize if uImagei format
The uImage is 64Bytes smaller (size of the u-boot header) than
the size of the file read from the file system.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13030
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Fri, 24 Feb 2012 15:47:29 +0000 (15:47 +0000)]
EmbeddedPkg/FdtLib: Added patches to support libfdt in EDK2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13029
6f19259b -4bc3-4df7-8a09-
765794883524
li-elvin [Fri, 24 Feb 2012 02:10:28 +0000 (02:10 +0000)]
GraphicsConsole supports both UGA and GOP protocol, "UGA Console Driver" is changed to "Graphics Console Driver" in Component Name Protocol.
Signed-off-by: li-elvin
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13027
6f19259b -4bc3-4df7-8a09-
765794883524
rsun3 [Wed, 22 Feb 2012 02:39:57 +0000 (02:39 +0000)]
MdePkg: Add a new macro VA_COPY for variable argument support. Fix a bug in the UefiLib instance that there is a non portable assumption that Marker is copied when passed to a function.
Signed-off-by: rsun3
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13025
6f19259b -4bc3-4df7-8a09-
765794883524
lpleahy [Fri, 17 Feb 2012 23:45:45 +0000 (23:45 +0000)]
Fix the errors detected by the GCC compiler:
* Add EFIAPI to the timer callbacks
* Fix 32-bit pointer casts
Signed-off-by: lpleahy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13024
6f19259b -4bc3-4df7-8a09-
765794883524
lpleahy [Fri, 17 Feb 2012 23:43:35 +0000 (23:43 +0000)]
* StdLib.dsc was changed to always build the sockets code.
* Fix errors detected by the GCC compiler (pointer conversions and format mismatches).
* Worked around a GCC flow analysis issue in base64.c where the compiler is convinced that there is a path through the code where "input" is used but not initialized.
* Added EFIAPI to the file system operation routines for sockets to match the API declaration.
Note for GCC, the meaning of "l" and "L" are different in printf and sscanf format strings. The lower case "l" indicates a 32-bit value where the capital "L" indicates a 64-bit value. The native (default) integer size may be represented by a size letter of "n".
Signed-off-by: lpleahy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13023
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Fri, 17 Feb 2012 05:04:49 +0000 (05:04 +0000)]
Don't install FV protocol on the corrupt FV image.
Signed-off-by: lgao4
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13020
6f19259b -4bc3-4df7-8a09-
765794883524
lpleahy [Wed, 15 Feb 2012 23:24:58 +0000 (23:24 +0000)]
Bug fix: CreateEvent sometimes returning EFI_INVALID_PARAMETER due to bad TPL value. Use known good TPL value since TPL is a don't care.
Found, reviewed and tested by: Duane Voth
Signed-off-by: lpleahy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13017
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Wed, 15 Feb 2012 08:06:01 +0000 (08:06 +0000)]
Set executable attributes for those run scripts.
Signed-off-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13016
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Wed, 15 Feb 2012 03:33:03 +0000 (03:33 +0000)]
Enable PCD version check on PCD driver and PCD database.
Signed-off-by: lgao4
Reviewed-by: jliu66 djboyer
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13015
6f19259b -4bc3-4df7-8a09-
765794883524
ydong10 [Wed, 15 Feb 2012 02:43:07 +0000 (02:43 +0000)]
Add code check to avoid access violation.
Signed-off-by: ydong10
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13014
6f19259b -4bc3-4df7-8a09-
765794883524
ydong10 [Wed, 15 Feb 2012 02:40:18 +0000 (02:40 +0000)]
Enable write file to USB from Shell in Win7 OS
Signed-off-by: ydong10
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13013
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Tue, 14 Feb 2012 18:44:40 +0000 (18:44 +0000)]
ArmPkg/ArmV7Lib: Add support for Invalid Instruction Cache to Point of Unification
This patch adds support to invalidate Instruction Cache to the Point of Unification (PoU).
Signed-off-by: eugenecohen
Reviewed-by: oliviermartin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13012
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Tue, 14 Feb 2012 15:54:05 +0000 (15:54 +0000)]
ArmPkg: Changed ARM CPU SetMemoryAttributes to always use strongly ordered for the EFI_MEMORY_UC attribute
Changed ARM CPU SetMemoryAttributes to always use strongly ordered for the EFI_MEMORY_UC attribute.
Signed-off-by:
Reviewed-by: eugenecohen
Reviewed-by: yanivtal
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13011
6f19259b -4bc3-4df7-8a09-
765794883524
czhang46 [Tue, 14 Feb 2012 05:56:07 +0000 (05:56 +0000)]
Enhance BGRT driver to install BGRT table upon every ReadyToBoot event
Signed-off: czhang46
Reviewed-by: jjin9, qianouyang
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13010
6f19259b -4bc3-4df7-8a09-
765794883524
lpleahy [Mon, 13 Feb 2012 19:01:10 +0000 (19:01 +0000)]
Update documentation to match required tree on the storage device.
Signed-off-by: lpleahy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13009
6f19259b -4bc3-4df7-8a09-
765794883524
lpleahy [Mon, 13 Feb 2012 18:59:50 +0000 (18:59 +0000)]
Change to match the tree required on the storage device.
Signed-off-by: lpleahy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13008
6f19259b -4bc3-4df7-8a09-
765794883524
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