oliviermartin
5ed2368498
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
2012-02-28 17:20:34 +00:00
oliviermartin
3b73c91b65
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
2012-02-28 17:18:35 +00:00
oliviermartin
65acd8e7b3
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
2012-02-28 17:16:58 +00:00
oliviermartin
f8c9f1c18c
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
2012-02-28 17:13:30 +00:00
oliviermartin
0db25ccc6c
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
2012-02-28 17:11:42 +00:00
oliviermartin
986223907f
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
2012-02-28 17:09:16 +00:00
darylm503
eb15a11ea1
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
2012-02-28 02:30:19 +00:00
darylm503
1902252160
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
2012-02-27 21:15:26 +00:00
oliviermartin
3222e7b1ef
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
2012-02-27 10:27:10 +00:00
oliviermartin
782d45d1e3
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
2012-02-27 10:26:16 +00:00
oliviermartin
8ddaf4710c
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
2012-02-27 10:25:20 +00:00
oliviermartin
31d196c16f
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
2012-02-27 10:23:08 +00:00
oliviermartin
1bccfbe5ab
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
2012-02-27 10:20:46 +00:00
oliviermartin
ac7362c985
ArmPkg/LinuxLoader: Fixed memory leak
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13039 6f19259b-4bc3-4df7-8a09-765794883524
2012-02-27 10:18:35 +00:00
lgao4
1445300f51
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
2012-02-27 07:46:04 +00:00
lgao4
287d8d1192
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
2012-02-27 07:44:42 +00:00
ydong10
3dbef428c7
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
2012-02-27 02:44:20 +00:00
gdong1
65cc57fc41
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
2012-02-27 02:33:20 +00:00
lpleahy
f74dc4bbba
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
2012-02-24 18:45:09 +00:00
jcarsey
287b4d32ee
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
2012-02-24 17:12:39 +00:00
oliviermartin
c0a1f7776b
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
2012-02-24 16:11:51 +00:00
oliviermartin
1093e3074f
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
2012-02-24 16:05:00 +00:00
oliviermartin
48837c2286
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
2012-02-24 15:47:29 +00:00
li-elvin
be759f774f
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
2012-02-24 02:10:28 +00:00
rsun3
265fa9fa39
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
2012-02-22 02:39:57 +00:00
lpleahy
53c31c5164
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
2012-02-17 23:45:45 +00:00
lpleahy
7700f0f5c0
* 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
2012-02-17 23:43:35 +00:00
lgao4
1f33d18687
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
2012-02-17 05:04:49 +00:00
lpleahy
28de825561
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
2012-02-15 23:24:58 +00:00
lgao4
66a2dc96d3
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
2012-02-15 08:06:01 +00:00
lgao4
e9d97d08d9
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
2012-02-15 03:33:03 +00:00
ydong10
328ce03e55
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
2012-02-15 02:43:07 +00:00
ydong10
21e3aefed2
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
2012-02-15 02:40:18 +00:00
oliviermartin
d60f6af456
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
2012-02-14 18:44:40 +00:00
oliviermartin
9207c5d758
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
2012-02-14 15:54:05 +00:00
czhang46
cbafa15e29
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
2012-02-14 05:56:07 +00:00
lpleahy
8e1253d59b
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
2012-02-13 19:01:10 +00:00
lpleahy
4b58a93fff
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
2012-02-13 18:59:50 +00:00
lpleahy
d3a595ceb9
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
2012-02-10 03:46:25 +00:00
lpleahy
826f9005c2
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
2012-02-10 03:30:41 +00:00
lpleahy
f6e5cdd5cf
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
2012-02-09 19:18:06 +00:00
lpleahy
3bdf9aae5f
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
2012-02-09 19:16:44 +00:00
lpleahy
5709e4e290
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
2012-02-09 19:15:46 +00:00
oliviermartin
91213ad3dd
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
2012-02-09 15:34:16 +00:00
oliviermartin
49a25d8490
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
2012-02-09 15:33:02 +00:00
oliviermartin
0e29bf5c91
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
2012-02-09 15:30:19 +00:00
oliviermartin
b148591a8c
ArmPlatformPkg/Bds: Fixed memory leak
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12997 6f19259b-4bc3-4df7-8a09-765794883524
2012-02-09 15:29:35 +00:00
oliviermartin
3d565dd674
ArmPkg/BdsLib: Fixed memory leak
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12996 6f19259b-4bc3-4df7-8a09-765794883524
2012-02-09 15:28:25 +00:00
oliviermartin
7598f36265
ArmPkg/BdsLib: Fixed incorrect typecasting
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12995 6f19259b-4bc3-4df7-8a09-765794883524
2012-02-09 15:27:22 +00:00
oliviermartin
4671d15d7a
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
2012-02-09 15:25:40 +00:00