summaryrefslogtreecommitdiffstats
path: root/ArmPlatformPkg
Commit message (Collapse)AuthorAgeFilesLines
* Arm Packages: Fix builds for XCODE32 toolchainoliviermartin2011-10-044-4/+4
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12509 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/ArmVExpressPkg: The virtual memory must have the Secure ↵oliviermartin2011-09-292-6/+14
| | | | | | attribute when the platform does not make the transition in Normal World. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12480 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/ArmVExpressPkg: HiiDatabaseDxe driver was missingoliviermartin2011-09-292-634/+638
| | | | | | | | | UefiHiiServicesLib requires an implementation of gEfiHiiDatabaseProtocolGuid. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12479 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Bds: Fix GetConsoleDevicePathFromVariable() when SetVariable ↵oliviermartin2011-09-281-440/+440
| | | | | | | | | | has failed Return the Default Device Path even when SetVariable has failed. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12469 6f19259b-4bc3-4df7-8a09-765794883524
* ARM Packages: Fixed Build failings/warnings/EDK2 coding conventionoliviermartin2011-09-2710-29/+17
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12458 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Create an ARM Platform DSC / FDF / ArmPlatformLib templateoliviermartin2011-09-2711-0/+1770
| | | | | | | | | | | | | By copying these templates, it should make easier to port EDK2 to new ARM Platforms. - ArmPlatformPkg.(dsc|fdf): For EDK2 firmwares which support the full boot story from cold boot to OS loading - ArmPlatformPkg-2ndstage.(dsc|fdf): For EDK2 as a second stage boot loader (either started after a proprietary ROM firmware or x-loader) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12457 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Add support for ARM RTSM Versatile Express A15x1 and A15x4oliviermartin2011-09-279-2/+1354
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12456 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/ArmLib: Clean ArmV7Liboliviermartin2011-09-276-10/+0
| | | | | | | | | - Move the non specific ArmV7 functions to ArmLib. - Clean the ARM Platform common components to not depend on ArmV7 if not required git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12453 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Replaced 'ArmPlatformTrustzoneSupported' by the fixed Pcd ↵oliviermartin2011-09-2711-138/+47
| | | | | | | | | | | | | | | gArmTokenSpaceGuid.PcdTrustzoneSupport This change does not make possible to disable Trustzone from the firmware. The firmware has to be built for Trustzone support enabled or disabled. The memory page table are now defined as 'Normal Memory' in any case. Except for RTSM Device Memory which as to be Secure Device Memory due to a RTSM bug. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12452 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Replaced '!if' conditions by more appropriate '!ifdef' ↵oliviermartin2011-09-276-409/+342
| | | | | | conditions git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12451 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg: Removed 'ArmV7/ArmV7MPCore*' filesoliviermartin2011-09-273-9/+9
| | | | | | | | | These files were Cortex A9 specific. The A9 specific functions have moved to ArmCpuLib/ArmCortexA9Lib. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12449 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg: Introduce ArmCpuLib to abstract ARM Cpu specific initializationoliviermartin2011-09-2711-274/+237
| | | | | | | | | | Every CPUs have their own initialization requirements. This library allows to allows to abstract these initialization requirements into the ARM Platform common components. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12448 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/patches: Update the pending patches with the updated ARMGCC ↵oliviermartin2011-09-236-329/+796
| | | | | | and RVCT toolchains and the new ARMLINUXGCC toolchain patches. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12438 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Bds: Add an option in the Boot Manager to edit the Device ↵oliviermartin2011-09-221-0/+44
| | | | | | Path of the Platform Device Tree git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12430 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/ArmVExpressPkg: Add support for ARM Versatile Express A9x4 Modeloliviermartin2011-09-2211-5/+1336
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12429 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/ArmiVExpressPkg: Introduce 'ArmVExpress.dsc.inc' to avoid ↵oliviermartin2011-09-227-270/+357
| | | | | | duplication of library and PCD defintions around ARM Versatile Express Boards git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12428 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/ArmRealViewEbPkg: Introduce 'ArmRealViewEb.dsc.inc' to avoid ↵oliviermartin2011-09-229-638/+349
| | | | | | duplication of library and PCD defintions around ARM RealView Emulation Boards git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12427 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/ArmRealViewEbPkg: Removed unused 'Pei' moduleoliviermartin2011-09-228-711/+0
| | | | | | | | | ArmRealViewEbPkg is now using the ArmPlatform Common modules (ArmPlatformPkg/Sec and ArmPlatformPkg/PrePeiCore). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12425 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg: Removed deprecated 'ArmMPCoreMailBoxLib'oliviermartin2011-09-225-23/+0
| | | | | | | | This library has been replaced by ArmMpCoreInfo PPI and HOBs. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12424 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg: Create MpCoreInfo PPI and HOB to describe CPU Cores on a MPCore platformoliviermartin2011-09-2214-18/+197
| | | | | | | | | | These info are: - ClusterId, CoreId - MailBox Set/Get/Clear address git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12423 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Add ArmPlatformGetPlatformPpiList()oliviermartin2011-09-227-12/+104
| | | | | | | | | This function exposes the Platform Specific PPIs. They can be used by any PrePi modules or passed to the PeiCore by PrePeiCore git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12422 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/PrePeiCore: Reverse Stack & PeiTemporaryoliviermartin2011-09-223-14/+29
| | | | | | | | To get the global variable at top of the Primary Stack such as in the Pei module. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12421 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Introduce ArmPlatformGlobalVariableLiboliviermartin2011-09-2228-48/+734
| | | | | | | | | | | | | | This library hides where the 'XIP' Global Variable are located in the memory. It is expected the Sec/PrePi modules define the Global Variable area through the GlobalVariable HOB. The ArmPlatformGlobalVariableLib library allows access to global variables by their offsets in this region. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12420 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Sec: Clean and Move all declaration into 'SecInternal.h' (2)oliviermartin2011-09-221-0/+65
| | | | | | | | Missed header file. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12419 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/PrePi: Removed the dependency on 'PcdCPUCoresNonSecStackBase'oliviermartin2011-09-226-16/+34
| | | | | | | | | In PrePi the StackBase is automatically calculated from the top of the memory. The information is now passed from the assembly files to the C code. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12418 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Sec: Clean and Move all declaration into 'SecInternal.h'oliviermartin2011-09-222-51/+17
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12417 6f19259b-4bc3-4df7-8a09-765794883524
* ARM Packages: Rename PcdNormal* into Pcd* PCDsoliviermartin2011-09-2227-72/+72
| | | | | | | | | | | | | | The denomination 'Normal' was used to make reference to the 'Normal' or 'Non Secure' or 'Non Trusted' world. To avoid confusion, this prefix has been removed from PCDs to define the normal world. The PCDs explicitely related to the Secure/Trusted World continue to have the 'Sec' prefix. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12416 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Changed memory model for the stacksoliviermartin2011-09-2219-208/+417
| | | | | | | | | | | | | | | | | | | | | | | | In the previous version, every cores had the same stack size. To avoid to waste memory with secondary core stacks, the primary core stack size is now different from the secondary cores stack size. These are the Stack PCDs and their default values: gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0 gArmPlatformTokenSpaceGuid.PcdCPUCoreSecPrimaryStackSize|0x10000 gArmPlatformTokenSpaceGuid.PcdCPUCoreSecSecondaryStackSize|0x1000 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0 gArmPlatformTokenSpaceGuid.PcdCPUCoreSecMonStackSize|0x1000 gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0 gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0x10000 gArmPlatformTokenSpaceGuid.PcdCPUCoreSecondaryStackSize|0x1000 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12415 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/ArmPlatformLib: Removed 'ArmPlatformIsMemoryInitialized' functionoliviermartin2011-09-2211-220/+2
| | | | | | | | | 'ArmPlatformInitializeBootMemory' function can check if the memory has already been initialized. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12414 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/ArmPlatformLib: Introduce ArmPlatformSecBootAction functionoliviermartin2011-09-227-8/+82
| | | | | | | | | This function is called at the initial stage of the Secure boot process to allow platform vendors to add early actions. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12413 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Introduce Primary core macrosoliviermartin2011-09-2222-60/+82
| | | | | | | | | | | | | | | | On MpCore system, the primary core can now be any core of the system. To identify the primary core, you can use 'gArmTokenSpaceGuid.PcdArmPrimaryCoreMask' and 'gArmTokenSpaceGuid.PcdArmPrimaryCore'. These PCDs by default use the ClusterId and CoreId to identify the core. And the primary core is defined as the ClusetrId=0 and CoreId=0. The helper macros are: IS_PRIMARY_CORE(MpId), GET_CORE_ID(MpId), GET_CLUSTER_ID(MpId), GET_CORE_POS(MpId), PRIMARY_CORE_ID. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12412 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg: Renamed library 'PL390GicLib' into 'ArmGicLib'oliviermartin2011-09-2211-36/+38
| | | | | | | | | | | This library is the interface for the ARM Generic Interrupt Controller Architecture Specification. ARM Platform can use any GIC controller (not necessary PL390 GIC). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12411 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/BdsLib: Use two distinct functions to boot Linux either by Atag or Fdtoliviermartin2011-09-221-4/+3
| | | | | | | | | | Separate the BdsBootLinux() function into two functions for Atag and Fdt specific Linux booting - BdsBootLinuxAtag () - BdsBootLinuxFdt () git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12408 6f19259b-4bc3-4df7-8a09-765794883524
* Arm Packages: Fixed coding style/Line endings to follow EDK2 coding conventionoliviermartin2011-09-2215-1018/+1017
| | | | | | | | | | | Arm Packages: Fixed mispelling Arm Packages: Reduced warnings all over the code git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12407 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Bds: Fix menu when no boot entry are present for deletion or ↵oliviermartin2011-09-221-5/+13
| | | | | | | | | | | | update When there are no boot entries to delete, the boot manager was prompting the user to select an entry to delete. This fix prints a message to let the user know that he is trying delete boot entry when there are none. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12405 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Bds: Fixed initialization of default Boot Entry with an initrdoliviermartin2011-09-221-1/+1
| | | | | | | | | | The Boot CmdLine was used instead of the initrd Device Path. Issue found by Sivasakthivel N (AMI India) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12404 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/patches: Updated list of Pending patches after latest ↵oliviermartin2011-09-202-59/+22
| | | | | | | | | | BaseTools sync BaseTools-GenC-Cast-Pcd-Types.patch changes are now part of the EDK2 Basetools mainline. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12391 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Bds: Fix the update of existing boot entriesoliviermartin2011-09-131-9/+11
| | | | | | | | Variables were not initialized in the right order in the boot entry update function. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12335 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Bds: Minor fixes and coding style changesoliviermartin2011-09-091-10/+10
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12316 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/BdsLib: Move some functions used to create/update BDS Boot Entry from ↵oliviermartin2011-09-092-161/+4
| | | | | | | | | | ArmPlatformPkg/Bds to ArmPkg/BdsLib These functions can be reused by any EFI application to add/update a BDS Boot Entry. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12314 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/BdsLib: Add support to pass argument to a loaded EFI applicationoliviermartin2011-09-092-2/+2
| | | | | | | | | OptionalData argument has to be set in the Loaded Image Protocol of the new EFI application. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12313 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/BdsLib: Move the Generic BDS_LOAD_OPTION structure from ↵oliviermartin2011-09-093-69/+83
| | | | | | | | | | | | | | Armplatform/Pkg to ArmPkg/Bds This structure is defined by the UEFI specification and has a better location in BdsLib. ArmPlatformPkg/Bds: Encapsulate the BDS_LOAD_OPTION into a list entry structure git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12312 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Bds: Add a signature in front of the Boot Argument propoer to ↵oliviermartin2011-09-096-252/+352
| | | | | | | | | | | | | | | this Bds Each application loader has its own OptionalData format. To avoid to start a Boot Entry that has not been created by ArmPlatform/Bds a signature has been added to the OptionalData. ArmPlatformPkg/Bds: Rename some internal structure from BDS_* to ARM_BDS_* git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12311 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Bds: Get User inputs in Unicodeoliviermartin2011-09-094-88/+109
| | | | | | | | | | The user input was getting in Ascii and converted later to Unicode when required. In this change, the user inputs are caught in Unicode and converted to Ascii only when needed. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12310 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up Rules of Platform FDFs to apply only one EFI image and Depex for ↵oliviermartin2011-09-063-48/+48
| | | | | | each driver git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12285 6f19259b-4bc3-4df7-8a09-765794883524
* EmbeddedPkg/MmcDxe: Add 'This' pointer attribute to protocol functionoliviermartin2011-09-011-19/+26
| | | | | | | | | | | | | | | | This attribute allows the EFI_MMC_HOST_PROTOCOL interface to manage multiple instances in one driver. EmbeddedPkg/MmcDxe: Add Revision attribute to the EFI_MMC_HOST_PROTOCOL Note: The ARM PL180 and Omap35xx MMC host drivers has been updated. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12255 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Fix ARM RealView EB and VE builds (2)oliviermartin2011-08-301-0/+69
| | | | | | | | This file is missing from the earlier commit (ArmPlatformPkg: Fix ARM RealView EB and VE builds). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12235 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Update list of pending patchesoliviermartin2011-08-304-234/+29
| | | | | | | | BaseTools has recently been updated in edk2. Some of the BaseTools patches are now available in edk2 mainline. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12234 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Fix ARM RealView EB and VE buildsoliviermartin2011-08-304-36/+19
| | | | | | | | Tested with RVCTLINUX and ARMGCC toolchains. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12233 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Changed the reference base of the PI Global Pointer Offsetoliviermartin2011-08-182-4/+10
| | | | | | | | | Before the PI Global Pointer Offsets were refered to the top of the Global Pointer region (negative offset). After this commit the Global Pointer Offset are relative to the base of the Global Pointer region. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12172 6f19259b-4bc3-4df7-8a09-765794883524