summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* update copyright line formathhtian2011-06-075-10/+10
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11757 6f19259b-4bc3-4df7-8a09-765794883524
* Fix minor build break.andrewfish2011-06-071-1/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11756 6f19259b-4bc3-4df7-8a09-765794883524
* Remove duplicated definitions EFI_VARIABLE_INDEX_TABLE_GUID in variable PEI ↵sfu52011-06-075-32/+54
| | | | | | | | | 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
* InOsEmuPkg: Fixed mounting device nodes and .dmg files in the emulator.andrewfish2011-06-074-44/+71
| | | | | | | | | | 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
* Fix X64 clang warnings.andrewfish2011-06-045-12/+14
| | | | | | | | | 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
* Verify that Status variable is initialized.jcarsey2011-06-031-0/+1
| | | | | | | | 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
* ArmPlatformPkg: Fix ARMGCC buildoliviermartin2011-06-032-2/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11751 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg: Implement PeiServicesTablePointerLib using TPIDRURW registeroliviermartin2011-06-035-0/+140
| | | | | | | | | | | 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
* ArmPlatformPkg/ArmVExpressPkg: Create ↵oliviermartin2011-06-035-85/+154
| | | | | | | | | | | | 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
* ArmPlatformPkg/ArmRealViewEbPkg: Set some missing PCDsoliviermartin2011-06-032-0/+12
| | | | | | | | | PcdEmbeddedPerformanceCounterFrequencyInHz and PcdSerialRegisterBase were not defined. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11748 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/ArmRealViewEbPkg: Use NorFlashDxe and enable variables servicesoliviermartin2011-06-036-72/+135
| | | | | | | | | | | | | | | 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
* 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