]>
git.proxmox.com Git - mirror_edk2.git/log
oliviermartin [Sat, 11 Jun 2011 11:25:03 +0000 (11:25 +0000)]
ArmPlatformPkg/ArmRealViewEb: Add SysConfigLib support
The ARM RealViewEB tiles could have their microcontrollers mapped into the
ARM RealView EB motherboard memory map
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11796
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Sat, 11 Jun 2011 11:23:39 +0000 (11:23 +0000)]
ArmPlatformPkg: Add PL061 GPIO driver
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11795
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Sat, 11 Jun 2011 11:22:05 +0000 (11:22 +0000)]
ArmPlatformPkg: Add SP805 Watchdog support
- Create SP805 Watchdog timer
- Enable this new driver on VExpress Cortex-A9x4 Core tile
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11794
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Sat, 11 Jun 2011 11:20:27 +0000 (11:20 +0000)]
ArmPlatformPkg/PL031RealTimeClockLib: Implement PL031 RTC drive
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11793
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Sat, 11 Jun 2011 11:18:40 +0000 (11:18 +0000)]
ArmPlatformPkg/ArmVExpressPkg: Use SysConfigLib in ResetSystemLib
On ARM Versatile Express, the microcontroller can reset the entire platform.
The micro-controller can be accessed by the SysConfigLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11792
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Sat, 11 Jun 2011 11:17:41 +0000 (11:17 +0000)]
ArmPlatformPkg/SP804TimerDxe: Replaced Interrupt number #define by a PCD
The PcdSP804Timer0InterruptNum defines the interrupt number attached to SP804 Timer0.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11791
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Sat, 11 Jun 2011 11:16:50 +0000 (11:16 +0000)]
ArmPlatformPkg/NorFlashDxe: Update copyright date
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11790
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Sat, 11 Jun 2011 11:15:55 +0000 (11:15 +0000)]
ArmPkg: Fix coding style to follow EDK2 coding convention
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11789
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Sat, 11 Jun 2011 11:14:51 +0000 (11:14 +0000)]
ArmPkg/PL180MciDxe: Replace VenHw Device Path GUID by EFI_CALLER_ID_GUID
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11788
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Sat, 11 Jun 2011 11:14:06 +0000 (11:14 +0000)]
ArmPlatformPkg/ArmRealViewEb: Add support for PL111 Lcd controller
- Add the LcdGraphicsOutputDxe driver to DSC and FDF file.
- Implement LcdPlatformLib for the platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11787
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Sat, 11 Jun 2011 11:12:38 +0000 (11:12 +0000)]
ArmPlatformPkg: Add support for PL111 Lcd driver
This driver implements the interface for the PL111 Lcd controller.
The LcdPlatformLib allows to set the platform specific requirements
needed by the platform for setting the LCD (oscillators, etc).
ArmPlatformPkg/ArmVExpressPkg: Implement LcdPlatformLib
This library exports the supported resolutions. It also allocates the
memory for the framebuffer and send the correct settings to the VExpress
motherboard microcontroller.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11786
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Sat, 11 Jun 2011 11:08:34 +0000 (11:08 +0000)]
ArmPlatformPkg: Introduce ArmPlatformSysConfigLib
The purpose of this library is to create an interface to communicate
with the platform micro-controller.
It abstracts the communication protocol (eg: SPI, UART, etc) between
the application processor and the micro-controller.
ArmPlatformPkg/ArmVExpressPkg: Implement ArmPlaformSysConfigLib
This implementation allows to communicate with the microcontroller of the
Versatile Express motherboard.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11785
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Fri, 10 Jun 2011 18:58:08 +0000 (18:58 +0000)]
Add ESAL support libraries to MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11784
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Fri, 10 Jun 2011 03:05:40 +0000 (03:05 +0000)]
Set *ImageHandle to NULL when LoadImage() returns EFI_ACCESS_DENIED.
Signed-off-by: niruiyu
Reviewed-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11783
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Fri, 10 Jun 2011 02:11:52 +0000 (02:11 +0000)]
Add the missing logic in HiiConfigRouting ExtractConfig() to retrieves FALSE as default value for CheckBox without default flag.
Signed-off-by: lgao4
Reviewed-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11782
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Thu, 9 Jun 2011 19:31:56 +0000 (19:31 +0000)]
InOsEmuPkg: Add the EFI parts of the Simple Network Protocol
This only adds the EFI parts and not the OS specific implementation. Since the EFI parts no longer use system include files this is safe to do. Also fix two minor typos.
Signed-off-by:andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11781
6f19259b -4bc3-4df7-8a09-
765794883524
hhuan13 [Thu, 9 Jun 2011 09:25:48 +0000 (09:25 +0000)]
1. Fix PXE performance issue : enhance EfiPxeBcSetIpFilter() to eliminate unnecessary re-configure UdpRead operation.
Reviewed-by: xdu2
Signed-off-by: hhuan13
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11780
6f19259b -4bc3-4df7-8a09-
765794883524
hhuan13 [Thu, 9 Jun 2011 09:25:02 +0000 (09:25 +0000)]
1. Fix PXE performance issue : enhance EfiPxeBcSetIpFilter() to eliminate unnecessary re-configure Udp4Read operation.
Reviewed-by: xdu2
Signed-off-by: hhuan13
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11779
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Thu, 9 Jun 2011 02:55:17 +0000 (02:55 +0000)]
Change BuildGuidHob and BuildGuidDataHob to return NULL upon failure.
Guarantee no memory corruption in an out of memory condition even in production builds.
Signed-off-by: niruiyu
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11778
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Thu, 9 Jun 2011 02:53:56 +0000 (02:53 +0000)]
Change BuildGuidHob and BuildGuidDataHob to return NULL upon failure.
Guarantee no memory corruption in an out of memory condition even in production builds.
Signed-off-by: niruiyu
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11777
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Thu, 9 Jun 2011 02:52:35 +0000 (02:52 +0000)]
Add assertion in PeiAllocatePool when out of resource.
Signed-off-by: niruiyu
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11776
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Thu, 9 Jun 2011 02:51:00 +0000 (02:51 +0000)]
Change BuildGuidHob and BuildGuidDataHob to return NULL upon failure.
Guarantee no memory corruption in an out of memory condition even in production builds.
Signed-off-by: niruiyu
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11775
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Thu, 9 Jun 2011 02:01:19 +0000 (02:01 +0000)]
Fix crash in GetMemoryMap() when memory type 0x80000000-0xFFFFFFFF was allocated by OS loader
Signed-off-by: niruiyu
Reviewed-by: lgao4
Reviewed-by: hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11774
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Thu, 9 Jun 2011 00:11:28 +0000 (00:11 +0000)]
Fix ICC build issues
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11773
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Wed, 8 Jun 2011 22:31:29 +0000 (22:31 +0000)]
InOsEmuPkg: Fix reconnect -r from the shell
Signed-off-by: andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11772
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Wed, 8 Jun 2011 21:52:21 +0000 (21:52 +0000)]
InOsEmuPkg: Make XIP work properly
Update the InOsEmuPkg to properly function with XIP. Make the Recovery FV read only. Remove the use of global variable writes from XIP code. Add a new global page that can be used in place of writting to the FD by XIP code. Think of this global page as a system SRAM.
igned-off-by: andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11771
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Wed, 8 Jun 2011 21:12:11 +0000 (21:12 +0000)]
Fix bug in SerialRead returning error if no data was present.
No data should not be an error return. Causing lots of REPORT_STATUS_CODE messages out of the TerminalDxe driver.
Signed-off-by: andrewfish
Reviewed-by: andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11770
6f19259b -4bc3-4df7-8a09-
765794883524
jcarsey [Wed, 8 Jun 2011 18:28:03 +0000 (18:28 +0000)]
remove empty sections in INF files.
signed-off-by: jcarsey
reviewed-by: darylm503
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11769
6f19259b -4bc3-4df7-8a09-
765794883524
ydong10 [Wed, 8 Jun 2011 08:24:52 +0000 (08:24 +0000)]
Revert last patch about "Modal form" opcode support.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11768
6f19259b -4bc3-4df7-8a09-
765794883524
ydong10 [Wed, 8 Jun 2011 08:09:47 +0000 (08:09 +0000)]
Add new "Refresh guid" opcode, also add sample code to use it.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11767
6f19259b -4bc3-4df7-8a09-
765794883524
ydong10 [Wed, 8 Jun 2011 07:50:04 +0000 (07:50 +0000)]
Add new “Modal form” opcode.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11766
6f19259b -4bc3-4df7-8a09-
765794883524
ydong10 [Wed, 8 Jun 2011 07:47:26 +0000 (07:47 +0000)]
Add new "refresh event group" opcode.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11765
6f19259b -4bc3-4df7-8a09-
765794883524
ydong10 [Wed, 8 Jun 2011 07:27:39 +0000 (07:27 +0000)]
Add new "Modal form" opcode, also add sample code to use it.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11764
6f19259b -4bc3-4df7-8a09-
765794883524
ydong10 [Wed, 8 Jun 2011 07:24:20 +0000 (07:24 +0000)]
Add new "Modal form" opcode.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11763
6f19259b -4bc3-4df7-8a09-
765794883524
lzeng14 [Wed, 8 Jun 2011 05:53:18 +0000 (05:53 +0000)]
String Reference Cleanup.
Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11762
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Wed, 8 Jun 2011 04:32:18 +0000 (04:32 +0000)]
Update the FD mapping so the volatile areas write back to the FD file. Currently they are only mapped as a memory copy of the file. This also make FV read only.
The current scheme maps a file into a memory buffer. You can write to the memory buffer, but if you restart the emulator the data is not written back to the FD. Since the build, rebuilds the FD it will blow away any changes. You can now set variables and restart the emulator and they are still set. There is a bug if the FV is set to write protect that still needs to be tracked down.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11761
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Wed, 8 Jun 2011 02:34:12 +0000 (02:34 +0000)]
Add support for SerialPortLib that maps into POSIX StdIn and StdOut. Add a device path text to lib as a holding point waiting on getting it reviewed for other packages. Some minor fixes. Also map the FV as writable, so the Variable store becomes writable.
I plan to try and make only the Variable store and logs writable, and make the executable/compressed FV read only in a future checkin.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11760
6f19259b -4bc3-4df7-8a09-
765794883524
hhtian [Tue, 7 Jun 2011 08:08:19 +0000 (08:08 +0000)]
update copyright line format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11759
6f19259b -4bc3-4df7-8a09-
765794883524
hhtian [Tue, 7 Jun 2011 08:07:55 +0000 (08:07 +0000)]
update copyright line format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11758
6f19259b -4bc3-4df7-8a09-
765794883524
hhtian [Tue, 7 Jun 2011 08:07:29 +0000 (08:07 +0000)]
update copyright line format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11757
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Tue, 7 Jun 2011 06:28:48 +0000 (06:28 +0000)]
Fix minor build break.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11756
6f19259b -4bc3-4df7-8a09-
765794883524
sfu5 [Tue, 7 Jun 2011 04:49:10 +0000 (04:49 +0000)]
Remove duplicated definitions EFI_VARIABLE_INDEX_TABLE_GUID in variable PEI drivers.
Reviewed-by: lgao4, gdong1
Signed-off-by: sfu5
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11755
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Tue, 7 Jun 2011 02:28:08 +0000 (02:28 +0000)]
InOsEmuPkg: Fixed mounting device nodes and .dmg files in the emulator.
There is some Linux specific code for mounting device nodes that needs to be tested. It may not compile!
Singed-off-by: andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11754
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Sat, 4 Jun 2011 22:27:37 +0000 (22:27 +0000)]
Fix X64 clang warnings.
Reviewed by: Rui Sun
Approved by: Rui Sun
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11753
6f19259b -4bc3-4df7-8a09-
765794883524
jcarsey [Fri, 3 Jun 2011 15:51:26 +0000 (15:51 +0000)]
Verify that Status variable is initialized.
submitted-by: jcarsey
reviewed-by: lgrosenb
reviewed-by: rhale
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11752
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Fri, 3 Jun 2011 09:44:52 +0000 (09:44 +0000)]
ArmPlatformPkg: Fix ARMGCC build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11751
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Fri, 3 Jun 2011 09:43:12 +0000 (09:43 +0000)]
ArmPkg: Implement PeiServicesTablePointerLib using TPIDRURW register
This implementation use the Tpidrurw software context register to
store the PEI Services Table Pointer.
The author of this patch is Eugene Cohen (HP).
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11750
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Fri, 3 Jun 2011 09:41:49 +0000 (09:41 +0000)]
ArmPlatformPkg/ArmVExpressPkg: Create ArmVExpressPkg/Include/VExpressMotherBoard.h
This file contains the ARM Versatile Express motherboard definitions.
It allows to avoid duplication between different platforms based on ARM VExpress
motherboard.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11749
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Fri, 3 Jun 2011 09:40:01 +0000 (09:40 +0000)]
ArmPlatformPkg/ArmRealViewEbPkg: Set some missing PCDs
PcdEmbeddedPerformanceCounterFrequencyInHz and PcdSerialRegisterBase
were not defined.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11748
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Fri, 3 Jun 2011 09:39:00 +0000 (09:39 +0000)]
ArmPlatformPkg/ArmRealViewEbPkg: Use NorFlashDxe and enable variables services
The ARM RealView EB (hardware and RTSM) supports the same NOR Flash controller
as the ARM Versatile Express.
Add the implementation of the NorFlashPlatformLib for ArmRealViewEb.
Remove the Firmware Volume Block raw data used to enable environment variables on
ARM RealView EB from the FDF file to use the NOR Flash driver.
Replace the variable service emulation by the version using Firmware Volume Block.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11747
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Fri, 3 Jun 2011 09:35:57 +0000 (09:35 +0000)]
ArmPlatformPkg/NorFlashDxe: Move NorFlash driver from ArmVExpressPkg to ArmPlatformPkg
This NOR Flash driver can be reused for other platform (eg: ARM Realview EB).
To make this driver reusable on other platforms the NorFlashPlatformLib library
has been created to abstract the platform specific bits such as the pre-requirements
steps to the initialization and the geometry of the NOR Flash regions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11746
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Fri, 3 Jun 2011 09:33:35 +0000 (09:33 +0000)]
ArmPlatformPkg/SP804Timer: Introduce gArmPlatformTokenSpaceGuid.PcdSP804FrequencyInMHz
This PCD defines the speed of the SP804 timer. The default value is 1MHz.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11745
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Fri, 3 Jun 2011 09:32:39 +0000 (09:32 +0000)]
ArmPlatformPkg/SP804Timer: Remove the SP810 System Controller dependency
The SP804 drivers must not consider the presence of the SP810 System Controller
on the platform. The SP810 was used to enable the SP804 Dual Timers on ArmVExpress.
It is the role of the Platform specific driver to enable to the SP804 dual timers
if required.
The former SP810 initialization code has moved to ArmPlatformLib for ArmRealViewEb
and ArmVersatileExpress.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11744
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Fri, 3 Jun 2011 09:31:02 +0000 (09:31 +0000)]
ArmPlatformPkg/PL011Uart: Create PL011 UART driver
This library makes the interface with the PL011 UART controller.
This library can be linked to different types of driver (Serial Console,
debugger, etc) using PL011 UART controller.
ArmPlatformPkg/PL011SerialPortLib: Use Drivers/PL011Uart
Remove the direct accesses to the PL011 UART controller to use the PL011Uart
library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11743
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Fri, 3 Jun 2011 09:28:40 +0000 (09:28 +0000)]
ArmPkg/CompilerIntrinsincsLib: Add div and mullu functions to ARMGCC
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11742
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Fri, 3 Jun 2011 09:26:44 +0000 (09:26 +0000)]
ArmPkg/PeCoffExtraActionLib: Add the return carriage character after printing the debugger command lines
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11741
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Fri, 3 Jun 2011 09:25:51 +0000 (09:25 +0000)]
ArmPkg: Add comments to ArmEnableVFP
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11740
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Fri, 3 Jun 2011 09:25:01 +0000 (09:25 +0000)]
ArmPkg: Introduce ArmSetLowVectors/ArmSetHighVectors functions
These functions set/clear the SCTLR.V bit that controls the location
of the Vector Table.
This commit also forces the SCTLR.V to be clear when the VBAR register
is set.
Note: The original fix has been proposed by Eugene Cohen (HP).
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11739
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Fri, 3 Jun 2011 09:23:19 +0000 (09:23 +0000)]
ArmPkg: Renamed PL354SmcSecLib into PL354SmcLib
There is no requirement to initialize the SMC in secure world.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11738
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Fri, 3 Jun 2011 09:22:32 +0000 (09:22 +0000)]
ArmPkg: Fix the default value of PcdCpuVectorBaseAddress
The High Vector Table base address is 0xFFFF0000 (was 0xFFF00000).
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11737
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Fri, 3 Jun 2011 09:21:30 +0000 (09:21 +0000)]
ArmPkg/PL34xDmc: Remove magic values in PL310L2Cache and clean the code
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11736
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Fri, 3 Jun 2011 09:20:30 +0000 (09:20 +0000)]
ArmPkg/PL310L2Cache: Remove magic values in PL310L2Cache and clean the code
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11735
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Fri, 3 Jun 2011 09:18:48 +0000 (09:18 +0000)]
Armkg: Fix EDK2 coding style
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11734
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Fri, 3 Jun 2011 09:18:00 +0000 (09:18 +0000)]
ArmPkg: Introduce the PCD PcdDebuggerExceptionSupport
The Exception Vector can be set before installing the CPU DXE driver to add
debugger support at the early stage of the firmware initialization.
If no one has touched the exception vector prior to the CPU DXE then the Vector
might contain non zero data.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11733
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Fri, 3 Jun 2011 09:17:04 +0000 (09:17 +0000)]
ArmPlatformPkg/ArmRealViewEbPkg: Use PL390 GIC on RTSM
ArmRealViewEb model (RTSM) use the PL390 Generic Interrupt Controller
as interrupt controller.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11732
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Fri, 3 Jun 2011 09:15:14 +0000 (09:15 +0000)]
ArmPlatformPkg/ArmRealViewEbPkg: Remove unused PCD
gArmRealViewEbPkgTokenSpaceGuid.PcdPeiServicePtrAddr is not used.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11731
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Fri, 3 Jun 2011 09:14:16 +0000 (09:14 +0000)]
EmbeddedPkg/SerialDxe: Only read Serial Port if data available
Poll the Serial Port to ensure data are available.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11730
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Fri, 3 Jun 2011 09:12:55 +0000 (09:12 +0000)]
EmbeddedPkg/SerialDxe: Fix SIMPLE_TEXT_OUT_DEVICE_PATH Device Path
The UART device type and subtype were inccorect.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11729
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Fri, 3 Jun 2011 09:11:55 +0000 (09:11 +0000)]
EmbeddedPkg/SimpleTextInOutSerial: Update the cursor position
It is a UEFI requirement to update the cursor position infomation for each
string displayed using calls to EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL->OutputString().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11728
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Fri, 3 Jun 2011 09:10:26 +0000 (09:10 +0000)]
EmbeddedPkg/MmcDxe: Fix coding style
Make the coding style more compliant with the EDK2 coding convention.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11727
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Fri, 3 Jun 2011 09:09:18 +0000 (09:09 +0000)]
EmbeddedPkg/MmcDxe: Wait for the MMC controller to be in Transfer Mode
The MMC controller might be ready for data but not be in a 'ready' state
to send or receive commands.
This fix waits for the MMC controller to be in the correct state.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11726
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Fri, 3 Jun 2011 09:07:31 +0000 (09:07 +0000)]
EmbeddedPkg: Move Universal/MmcDxe from ArmPkg to EmbeddedPkg
The MmcDxe is not ARM architecture specific.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11725
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Fri, 3 Jun 2011 03:31:32 +0000 (03:31 +0000)]
Get BlockIo mapping interfaces working. Still need to work on detecting block size of devices, but you can map a .dmg file no problem at this point.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11724
6f19259b -4bc3-4df7-8a09-
765794883524
vanjeff [Thu, 2 Jun 2011 06:51:59 +0000 (06:51 +0000)]
Fix the issue when checking the value of KeyDescriptor->Modifier to see if it was out of bounds.
Signed-off-by: vanjeff
Reviewed-by: rsun3
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11723
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Thu, 2 Jun 2011 01:48:33 +0000 (01:48 +0000)]
Add return status check for SetVariable.
Signed-off-by: niruiyu
Reviewed-by: jljusten
Reviewed-by: hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11722
6f19259b -4bc3-4df7-8a09-
765794883524
erictian [Wed, 1 Jun 2011 05:12:19 +0000 (05:12 +0000)]
Add new definition for XHCI support
Signed-off-by: erictian
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11721
6f19259b -4bc3-4df7-8a09-
765794883524
hhuan13 [Wed, 1 Jun 2011 03:30:05 +0000 (03:30 +0000)]
1. Add error handling for PXE-IPV6.
Signed-off-by: hhuan13
Reviewed-by: tye
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11720
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Wed, 1 Jun 2011 02:27:02 +0000 (02:27 +0000)]
Make shell not ASSERT on older versions of EFI. On a Mac if you soft load Hii, DevicePathToText, and ComponentName drivers from edk2, then with this patch the new Shell will run.
Reviewed by: jcarsey
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11719
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Tue, 31 May 2011 20:23:36 +0000 (20:23 +0000)]
Add BlockIO support to the emulator, still needs testing. Also update Emulator start code to only pass 2 args in place of 3. The 3rd argument is not needed. Still need a function as the BaseLib functoin does not have the correct calling conventions. Cleanup build script for binary shell case.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11718
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Tue, 31 May 2011 05:56:20 +0000 (05:56 +0000)]
Fix the bug that WinNtBlockIo fails to properly allocate a buffer.
Signed-off-by: niruiyu
Reviewed-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11717
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Tue, 31 May 2011 03:15:58 +0000 (03:15 +0000)]
Update the comments of InstallConfigurationTable to follow UEFI Spec.
Signed-off-by: niruiyu
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11716
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Tue, 31 May 2011 03:14:30 +0000 (03:14 +0000)]
Update the comments of InstallConfigurationTable to follow UEFI Spec.
Signed-off-by: niruiyu
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11715
6f19259b -4bc3-4df7-8a09-
765794883524
qianouyang [Tue, 31 May 2011 02:03:57 +0000 (02:03 +0000)]
Update the IPsec driver to check in invalid parameter of ProcessExt() according to UEFI Spec.
Signed-off-by: qianouyang
Reviewed-by: jjin9
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11714
6f19259b -4bc3-4df7-8a09-
765794883524
ydong10 [Tue, 31 May 2011 00:59:15 +0000 (00:59 +0000)]
Add new call back return value; also add some sample code to use it.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11713
6f19259b -4bc3-4df7-8a09-
765794883524
lzeng14 [Mon, 30 May 2011 09:56:57 +0000 (09:56 +0000)]
Update code to pass packaging tool.
Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11712
6f19259b -4bc3-4df7-8a09-
765794883524
geekboy15a [Fri, 27 May 2011 20:04:45 +0000 (20:04 +0000)]
MdeModulePkg: Fixed memory corruption when BlockIo2 is not present
Fixed NULL pointer reference of BlockIo2.Media in partition code. This resulted
in the interrupt vector table being corrupted in a legacy (CSM) based system.
Signed-off-by: geekboy15a
Reviewed-by: mdkinney
Reviewed-by: niruiyu
Reviewed-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11711
6f19259b -4bc3-4df7-8a09-
765794883524
vanjeff [Fri, 27 May 2011 05:30:30 +0000 (05:30 +0000)]
1. Setting cursor position to (0, 0) and flushing cursor directly instead of calling GraphicConSoleConOutSetPosition().
2. Rename the internal function name EraseCursor() to FlushCursor() to remove the confusion on this function name. And add detailed function description for it.
Signed-off-by: vanjeff
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11710
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Fri, 27 May 2011 03:24:34 +0000 (03:24 +0000)]
Update the comments to describe the purpose of Removable array.
Signed-off-by: niruiyu
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11709
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Thu, 26 May 2011 07:35:18 +0000 (07:35 +0000)]
Sync BaseTools Branch (version r2161) to EDKII main trunk.
BaseTool Branch:
https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/branches/Releases/BaseTools_r2100
Signed-off-by: lgao4
Reviewed-by: gikidy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11708
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Thu, 26 May 2011 06:34:07 +0000 (06:34 +0000)]
Originally BDS only creates boot options for removable media, the patch creates boot options for fixed media as well.
Signed-off-by: niruiyu
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11707
6f19259b -4bc3-4df7-8a09-
765794883524
li-elvin [Thu, 26 May 2011 06:29:30 +0000 (06:29 +0000)]
Add more status code in drivers.
Signed-off-by: li-elvin
Reviewed-by: jyao1
Reviewed-by: lgao4
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11706
6f19259b -4bc3-4df7-8a09-
765794883524
li-elvin [Thu, 26 May 2011 06:28:21 +0000 (06:28 +0000)]
Add more status code in drivers.
Signed-off-by: li-elvin
Reviewed-by: jyao1
Reviewed-by: lgao4
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11705
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Thu, 26 May 2011 04:53:24 +0000 (04:53 +0000)]
Fix ICC build break.
Signed-off-by: lgao4
Reviewed-by: rsun3
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11704
6f19259b -4bc3-4df7-8a09-
765794883524
jcarsey [Wed, 25 May 2011 22:29:40 +0000 (22:29 +0000)]
Remove ASSERT within Ls for RTC error and associated changes.
TimeDate.c: replace magic number with constant.
Ls.c: use new warning printout string and remove an ASSERT. also replace magic number with constant.
The UNI file: add new warning printout string.
Signed-off-by: jcarsey
Reviewed-by: geekboy15a
Reviewed-by: lgrosenb
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11703
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Wed, 25 May 2011 10:45:15 +0000 (10:45 +0000)]
Sync BaseTools Branch (version r2157) to EDKII main trunk.
BaseTool Branch:
https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/branches/Releases/BaseTools_r2100
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11702
6f19259b -4bc3-4df7-8a09-
765794883524
ydong10 [Wed, 25 May 2011 08:15:05 +0000 (08:15 +0000)]
Fix ICC build break.
Signed-off-by: ydong10
Reviewed-by:
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11701
6f19259b -4bc3-4df7-8a09-
765794883524
erictian [Wed, 25 May 2011 03:04:31 +0000 (03:04 +0000)]
Make sure the return value of MapKey is correct by moving the assignment into memory lock protection region
Signed-off-by: erictian
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11700
6f19259b -4bc3-4df7-8a09-
765794883524
vanjeff [Wed, 25 May 2011 02:35:34 +0000 (02:35 +0000)]
CpuDxe entry point () only register exception handlers unassigned before.
Signed-off-by: vanjeff
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11699
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Tue, 24 May 2011 03:32:42 +0000 (03:32 +0000)]
Add the DriverFamilyOverride support in DxeCore.
Signed-off-by: niruiyu
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11698
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Tue, 24 May 2011 02:08:31 +0000 (02:08 +0000)]
Update BasePrintLib to handle the unaligned GUID.
Signed-off-by: lgao4
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11697
6f19259b -4bc3-4df7-8a09-
765794883524