summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ArmPlatformPkg/NorFlashDxe: Move NorFlash driver from ArmVExpressPkg to ↵oliviermartin2011-06-0311-234/+407
| | | | | | | | | | | | | | 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
* ArmPlatformPkg/SP804Timer: Introduce ↵oliviermartin2011-06-035-11/+32
| | | | | | | | | | 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
* ArmPlatformPkg/SP804Timer: Remove the SP810 System Controller dependencyoliviermartin2011-06-034-46/+51
| | | | | | | | | | | | | | 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
* ArmPlatformPkg/PL011Uart: Create PL011 UART driveroliviermartin2011-06-038-56/+295
| | | | | | | | | | | | | | | | 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
* ArmPkg/CompilerIntrinsincsLib: Add div and mullu functions to ARMGCColiviermartin2011-06-033-1/+205
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11742 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/PeCoffExtraActionLib: Add the return carriage character after ↵oliviermartin2011-06-032-4/+4
| | | | | | printing the debugger command lines git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11741 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg: Add comments to ArmEnableVFPoliviermartin2011-06-032-8/+14
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11740 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg: Introduce ArmSetLowVectors/ArmSetHighVectors functionsoliviermartin2011-06-034-1/+63
| | | | | | | | | | | | | | 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
* ArmPkg: Renamed PL354SmcSecLib into PL354SmcLiboliviermartin2011-06-034-7/+7
| | | | | | | | 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
* ArmPkg: Fix the default value of PcdCpuVectorBaseAddressoliviermartin2011-06-031-1/+1
| | | | | | | | 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
* ArmPkg/PL34xDmc: Remove magic values in PL310L2Cache and clean the codeoliviermartin2011-06-033-390/+507
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11736 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/PL310L2Cache: Remove magic values in PL310L2Cache and clean the codeoliviermartin2011-06-035-91/+108
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11735 6f19259b-4bc3-4df7-8a09-765794883524
* Armkg: Fix EDK2 coding styleoliviermartin2011-06-036-134/+152
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11734 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg: Introduce the PCD PcdDebuggerExceptionSupportoliviermartin2011-06-033-1/+8
| | | | | | | | | | | 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
* ArmPlatformPkg/ArmRealViewEbPkg: Use PL390 GIC on RTSMoliviermartin2011-06-034-4/+6
| | | | | | | | | 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
* ArmPlatformPkg/ArmRealViewEbPkg: Remove unused PCDoliviermartin2011-06-031-3/+0
| | | | | | | | gArmRealViewEbPkgTokenSpaceGuid.PcdPeiServicePtrAddr is not used. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11731 6f19259b-4bc3-4df7-8a09-765794883524
* EmbeddedPkg/SerialDxe: Only read Serial Port if data availableoliviermartin2011-06-031-3/+5
| | | | | | | | 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
* EmbeddedPkg/SerialDxe: Fix SIMPLE_TEXT_OUT_DEVICE_PATH Device Patholiviermartin2011-06-032-2/+2
| | | | | | | | 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
* EmbeddedPkg/SimpleTextInOutSerial: Update the cursor positionoliviermartin2011-06-031-2/+60
| | | | | | | | | 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
* EmbeddedPkg/MmcDxe: Fix coding styleoliviermartin2011-06-032-678/+710
| | | | | | | | 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
* EmbeddedPkg/MmcDxe: Wait for the MMC controller to be in Transfer Modeoliviermartin2011-06-032-5/+17
| | | | | | | | | | 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
* EmbeddedPkg: Move Universal/MmcDxe from ArmPkg to EmbeddedPkgoliviermartin2011-06-0314-8/+7
| | | | | | | | 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
* Get BlockIo mapping interfaces working. Still need to work on detecting ↵andrewfish2011-06-0314-765/+597
| | | | | | 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
* Fix the issue when checking the value of KeyDescriptor->Modifier to see if ↵vanjeff2011-06-021-1/+1
| | | | | | | | | | | 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
* Add return status check for SetVariable.niruiyu2011-06-021-8/+10
| | | | | | | | 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
* Add new definition for XHCI supporterictian2011-06-011-1/+3
| | | | | | | 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
* 1. Add error handling for PXE-IPV6.hhuan132011-06-011-1/+4
| | | | | | | 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
* Make shell not ASSERT on older versions of EFI. On a Mac if you soft load ↵andrewfish2011-06-012-12/+17
| | | | | | | | | | 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
* Add BlockIO support to the emulator, still needs testing. Also update ↵andrewfish2011-05-3117-34/+3128
| | | | | | 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
* Fix the bug that WinNtBlockIo fails to properly allocate a buffer.niruiyu2011-05-311-2/+2
| | | | | | | 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
* Update the comments of InstallConfigurationTable to follow UEFI Spec.niruiyu2011-05-311-2/+2
| | | | | | | 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
* Update the comments of InstallConfigurationTable to follow UEFI Spec.niruiyu2011-05-311-1/+1
| | | | | | | 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
* Update the IPsec driver to check in invalid parameter of ProcessExt() ↵qianouyang2011-05-313-29/+36
| | | | | | | | | 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
* Add new call back return value; also add some sample code to use it.ydong102011-05-3112-431/+988
| | | | | | | | 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
* Update code to pass packaging tool.lzeng142011-05-3010-33/+19
| | | | | | | 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
* MdeModulePkg: Fixed memory corruption when BlockIo2 is not presentgeekboy15a2011-05-271-6/+6
| | | | | | | | | | | | | | 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
* 1. Setting cursor position to (0, 0) and flushing cursor directly instead of ↵vanjeff2011-05-272-20/+33
| | | | | | | | | | | | 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
* Update the comments to describe the purpose of Removable array.niruiyu2011-05-271-3/+6
| | | | | | | 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
* Sync BaseTools Branch (version r2161) to EDKII main trunk. lgao42011-05-262-0/+5
| | | | | | | | | | 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
* Originally BDS only creates boot options for removable media, the patch ↵niruiyu2011-05-261-70/+74
| | | | | | | | | 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
* Add more status code in drivers.li-elvin2011-05-267-5/+22
| | | | | | | | | 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
* Add more status code in drivers.li-elvin2011-05-262-0/+13
| | | | | | | | | 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
* Fix ICC build break.lgao42011-05-261-3/+9
| | | | | | | | 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
* Remove ASSERT within Ls for RTC error and associated changes.jcarsey2011-05-253-17/+21
| | | | | | | | | | | | | 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
* Sync BaseTools Branch (version r2157) to EDKII main trunk. lgao42011-05-2529-15/+24
| | | | | | | 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
* Fix ICC build break.ydong102011-05-251-1/+2
| | | | | | | | Signed-off-by: ydong10 Reviewed-by: git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11701 6f19259b-4bc3-4df7-8a09-765794883524
* Make sure the return value of MapKey is correct by moving the assignment ↵erictian2011-05-251-6/+5
| | | | | | | | | 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
* CpuDxe entry point () only register exception handlers unassigned before.vanjeff2011-05-251-1/+1
| | | | | | | 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
* Add the DriverFamilyOverride support in DxeCore.niruiyu2011-05-243-2/+41
| | | | | | | 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
* Update BasePrintLib to handle the unaligned GUID. lgao42011-05-241-4/+4
| | | | | | | | 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