darylm503 [Sat, 24 Mar 2012 01:19:06 +0000 (01:19 +0000)]
EADK (StdLib, AppPkg, StdLibPrivateInternalFiles): Python Beta Release.
Clean up and clearly differentiate required and optional items in configuration files.
Enable the system command and synchronize configuration options between all CPU architectures.
Replace the UEFI_ENV macro with UEFI_C_SOURCE to align with Linux and Posix conventions.
Update copyrights and versions and make minor cosmetic enhancements to files.
Fix compiler-specific build errors.
Add Python-specific ReadMe file.
lpleahy [Tue, 20 Mar 2012 22:16:42 +0000 (22:16 +0000)]
Update the license dates
Use the BSD license
Fix errors detected by GCC compiler in WebServer/ConfigurationTable.c
Add libraries: CpuLib, DxeServicesTableLib and MtrrLib
lgao4 [Mon, 19 Mar 2012 07:13:29 +0000 (07:13 +0000)]
Add LzmaArchCustomDecompressLib library instance, which supports for X86 (IA32/X64) optimized decompression. It can provide the improved compression for IA32 and X64 architecture code.
lzeng14 [Mon, 19 Mar 2012 02:52:15 +0000 (02:52 +0000)]
Remove the useless performance logging code in BootScriptExecutorDxe driver and record S3 "ScriptExec" performance log before and after executing BootScriptExecutorEntrypoint in S3Reusme2Pei driver.
qianouyang [Fri, 16 Mar 2012 03:31:47 +0000 (03:31 +0000)]
Introduce tow non-blocking task lists to AtaBus. One maintains the sub-task which is related to running Ata Task and the other is for waiting Ata Task. And it will not pass any task to AtaAtapiPassThru until the previous Ata task has been finished or met error.
oliviermartin [Thu, 15 Mar 2012 16:03:41 +0000 (16:03 +0000)]
ARM Packages: Added the NULL implementation of CpuExceptionHandlerLib
This NULL implementation should not affect the existing code flow and
avoid the builds to be broken by a missing dependency.
In a longer term, an implementation of CpuExceptionHandlerLib should
be provided for ARM architecture.
oliviermartin [Thu, 15 Mar 2012 15:27:18 +0000 (15:27 +0000)]
MdeModulePkg/DebugPortDxe: Fixed the ordering of the EFI_DEBUGPORT_PROTOCOL entries
The DebugPortRead and DebugPortWrite entries are reversed in the initialization
of the EFI_DEBUGPORT_PROTOCOL structure (compare to the EFI_DEBUGPORT_PROTOCOL
definition and the UEFI spec).
vanjeff [Thu, 15 Mar 2012 05:33:43 +0000 (05:33 +0000)]
1. Updated S3Resume2Pei to save IA32 IDT table setup in protected mode.
2. Updated BootScriptSaveOnS3SaveStateThunk restore IA32 IDT table before transferring to protected mode.
It could support exception handler in 32-bit Framework Boot Script code.
vanjeff [Thu, 15 Mar 2012 05:20:41 +0000 (05:20 +0000)]
1. Introduced CPU Exception Handler Library to provide the CPU exception handlers and add one NULL library instance.
2. Updated DXE Core, BootScriptExecutorDxe and CapsuleX64Pei to consume CPU Exception Library to setup the default CPU Exception handlers.
ydong10 [Thu, 8 Mar 2012 02:54:06 +0000 (02:54 +0000)]
Override the base address to make LoadLibraryEx success in WIN7 SP1 OS. Signed-off-by: ydong10 Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13088 6f19259b-4bc3-4df7-8a09-765794883524
erictian [Wed, 7 Mar 2012 08:39:35 +0000 (08:39 +0000)]
MdeModulePkg: add support for ORICO PEUS3-2P card
1) Fix a bug on missing hub context evaluation operation.
2) If the usb keyboard device configuration has been set successfully, then don’t set configuration again.
erictian [Tue, 6 Mar 2012 09:34:14 +0000 (09:34 +0000)]
MdeModulePkg: When media_change happens at Partition.Start(), the lower driver (ScsiDisk) should immediately return EFI_MEDIA_CHANGE but not EFI_SUCCESS. This way is used to avoid the interrupted Partition.Start() closes those opened protocols(DiskIo and DevicePath protocol) who are using by the re-entered partition driver at the same handle.
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.
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.
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.
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 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.
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.
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
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.
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.
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
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.
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".
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