summaryrefslogtreecommitdiffstats
path: root/ArmPkg
Commit message (Collapse)AuthorAgeFilesLines
...
* ARM Packages: Minor changes (fixed mispelling, line endings, incorrect comments)oliviermartin2012-05-021-219/+219
| | | | | | | | Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13243 6f19259b-4bc3-4df7-8a09-765794883524
* EDK II Packages: Added License.txt filesoliviermartin2012-04-121-0/+26
| | | | | | | | | | | | | License.txt is a per-project document showing the license terms used by that project. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13194 6f19259b-4bc3-4df7-8a09-765794883524
* EDK II Packages: Add Contributions.txt and License.txt filesjljusten2012-04-111-0/+188
| | | | | | | | | | | | | Contributions.txt documents the contribution process for all tianocore projects. The conents of Contributions.txt should match in all cases. License.txt is a per-project document showing the license terms used by that project. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13187 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Sec: Allowed the Secondary Cores to set the Secure/Non Secure ↵oliviermartin2012-03-263-6/+19
| | | | | | | | | | | | bits to their PPIs The GICD_IGROUPR0 is banked for each connected processor. It means the Non-Secure bits for the PPIs (Private Peripheral Interrupts) must be configured for every processor. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13135 6f19259b-4bc3-4df7-8a09-765794883524
* ArmLib/ArmV7: Add ISB to ArmEnableVFPoliviermartin2012-03-264-0/+4
| | | | | | | | | | | ArmEnableVFP could crash on an out-of-order CPU. Adding an instruction barrier after writing to CPACR cures the problem. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org> Reviewed-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13134 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg: Declared ARM Hypervisor Firmware PCDsoliviermartin2012-03-261-1/+9
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13131 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/ArmLib: Added ARM_PROCESSOR_MODE_HYP to ARM_PROCESSOR_MODEoliviermartin2012-03-261-0/+1
| | | | | | | | ARM_PROCESSOR_MODE_HYP stands for the Hypervisor mode. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13130 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/Drivers/PL390Gic: Removed acknowledge of special interrupts (spurious ↵oliviermartin2012-03-261-2/+3
| | | | | | | | | | interrupt) Cleaning a special interrupt has an unpredictable behaviour. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13129 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/LinuxLoader: Remove unused DebugLib (Minor change)oliviermartin2012-03-263-9/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13128 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/ArmLib.h: Fixed the ClusterId and CoreId masksoliviermartin2012-03-261-4/+4
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13124 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/PL390Gic: Introduced PcdGicSgiIntId to define which SGI is used for ↵oliviermartin2012-03-264-3/+8
| | | | | | | | | | core synchronisation By default this PCD is set to use SGI #0. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13123 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/ArmGicLib: Added function ArmGicSetSecureInterrupts() to define the ↵oliviermartin2012-03-263-5/+49
| | | | | | secure interrupts git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13122 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/ArmLib: Replaced 'UINTN' type by architecture agnostic types ↵oliviermartin2012-02-291-2/+4
| | | | | | (EFI_PHYSICAL_ADDRESS & EFI_VIRTUAL_ADDRESS) to describe memory addresses git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13073 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/Library/SemihostLib: Removed depenencies on Uefi.h (Base library)oliviermartin2012-02-282-32/+32
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13065 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Updated the stack setup to have the same geometry between ↵oliviermartin2012-02-282-2/+35
| | | | | | | | | | | | 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 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13058 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/ArmLib: Fixed 'ArmConfigureMmu()' to avoid overflow when an entry is ↵oliviermartin2012-02-281-2/+2
| | | | | | mapped at 0xFFFFFFFF git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13056 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/ArmLib.h: Update 'ARM_MEMORY_REGION_DESCRIPTOR' to support 64bit ↵oliviermartin2012-02-281-3/+3
| | | | | | | | | | addresses Replaced 'UINT32' by 'UINTN'. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13055 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Moved 'ArmTrustZoneLib' from ArmPkg/Library to ↵oliviermartin2012-02-284-226/+0
| | | | | | | | | | ArmPlatformPkg/Drivers This library is really the driver for the ARM Trustzone controllers (TZPC and TZASC). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13054 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Minor code changes (comments, misspellings, coding stylei, ↵oliviermartin2012-02-281-1/+1
| | | | | | | | | | | | | | | line endings) - Fixed misspellings - Updated Copyright - Remove unused sections in INF file - Fixed incorrect commentsi - Fixed coding style - Fixed line endings (CRLR) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13052 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/ArmArchTimerLib: Renamed the constructor to 'TimerConstructor()'oliviermartin2012-02-272-4/+4
| | | | | | | | | | | 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. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13041 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/PL390Gic: Removed duplicated line of codes disabling the interruptsoliviermartin2012-02-271-5/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13040 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/LinuxLoader: Fixed memory leakoliviermartin2012-02-271-1/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13039 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/BdsLib: Added support for using uInitrdoliviermartin2012-02-241-0/+14
| | | | | | | | | | | | | Detect if there is a u-boot header on the initrd (by checking the signature) and skip it. Signed-off-by: ryan.harkin@linaro.org Reviewed-by: oliviermartin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13031 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/BdsLib: Fixed LinuxImageSize if uImagei formatoliviermartin2012-02-241-0/+1
| | | | | | | | | The uImage is 64Bytes smaller (size of the u-boot header) than the size of the file read from the file system. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13030 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/ArmV7Lib: Add support for Invalid Instruction Cache to Point of ↵oliviermartin2012-02-147-14/+154
| | | | | | | | | | | | | Unification This patch adds support to invalidate Instruction Cache to the Point of Unification (PoU). Signed-off-by: eugenecohen Reviewed-by: oliviermartin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13012 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg: Changed ARM CPU SetMemoryAttributes to always use strongly ordered ↵oliviermartin2012-02-143-17/+4
| | | | | | | | | | | | | | | for the EFI_MEMORY_UC attribute Changed ARM CPU SetMemoryAttributes to always use strongly ordered for the EFI_MEMORY_UC attribute. Signed-off-by: Reviewed-by: eugenecohen Reviewed-by: yanivtal git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13011 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/BdsLib: Fixed memory leakoliviermartin2012-02-091-2/+8
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12996 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/BdsLib: Fixed incorrect typecastingoliviermartin2012-02-091-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12995 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/BdsLib: Load initrd next to the Linux kernel to allow to reduce the ↵oliviermartin2012-02-091-2/+11
| | | | | | | | | | | memory from the Linux command line The initrd was loaded at the top of the UEFI System Memory. By consequence, if the system memory was reduced by the Linux command line then the initrd was not part of the system memory. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12994 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/BdsLib: Added support to start uImageoliviermartin2012-02-092-3/+11
| | | | | | | | Detect if there is a u-boot header (by checking the signature) and skip it. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12993 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Sec: Replaced hardcode SCR and NSACR values by PCDs to enable ↵oliviermartin2011-11-011-0/+28
| | | | | | CPU and Platform Specific settings git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12637 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/ArmPkg.dsc: Add latest drivers to the DSC file to validate that they ↵oliviermartin2011-11-011-9/+13
| | | | | | build git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12631 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/RvdPeCoffExtraActionLib: Add quotes in RVD command line for RVD under ↵oliviermartin2011-11-011-2/+2
| | | | | | Linux git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12630 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/DefaultExceptionHandlerLib: Replace the Print() by ↵oliviermartin2011-11-011-1/+8
| | | | | | | | | | SerialOutputWrite() function Print() is using the Console Output Protocol that cannot be available at the time of the exception. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12629 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/ArmArchTimerLib: Fix TimerLib when the security extension is not ↵oliviermartin2011-11-011-1/+1
| | | | | | implemented git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12628 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg: Fix GetClusterId() calculation from MpIdoliviermartin2011-11-011-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12627 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/ArmCpuLib: Fix GCC/XCode buildsoliviermartin2011-11-017-6/+31
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12626 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Coding style (minor changes)oliviermartin2011-11-011-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12625 6f19259b-4bc3-4df7-8a09-765794883524
* Arm Packages: Fix builds for XCODE32 toolchainoliviermartin2011-10-045-8/+23
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12509 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/CompilerIntrinsicsLib: Reverse the order of the 'ldrb' instructions ↵oliviermartin2011-09-291-38/+38
| | | | | | | | | | | | | | | | | | | | | in __aeabi_uread4 Change __aeabi_uread4 from: ldrb r2, [r0, #1] ldrb r1, [r0] (...) to: ldrb r1, [r0] ldrb r2, [r0, #1] (...) This change is a workaround to handle correctly __aeabi_uread4 on ARM Versatile Express RTSM. It should not have any major consequence on the other ARM platforms. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12481 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/BdsLib: Fix incorrect pointer castingoliviermartin2011-09-273-12/+12
| | | | | | | | | | | A physical address (64bit) was cast to a 32bit pointer. Signed-off-by: Eugene Cohen (HP) Reviewed-by: oliviermartin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12460 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/CompilerIntrinsicsLib: Fix __aeabi_memclr and __aeabi_memclr4oliviermartin2011-09-271-0/+2
| | | | | | | | The passed arguments did not match the __aeabi_memset prototype. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12459 6f19259b-4bc3-4df7-8a09-765794883524
* ARM Packages: Fixed Build failings/warnings/EDK2 coding conventionoliviermartin2011-09-273-20/+23
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12458 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Add support for ARM RTSM Versatile Express A15x1 and A15x4oliviermartin2011-09-274-0/+238
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12456 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg: Add ARM Architectural Timer supportoliviermartin2011-09-2715-1/+1468
| | | | | | | | ARM Architectural Timer support is defined by the ARM Generic Timer Specification. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12455 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/ArmLib: Update Arm11 portoliviermartin2011-09-2711-138/+640
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12454 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/ArmLib: Clean ArmV7Liboliviermartin2011-09-2718-1596/+1390
| | | | | | | | | - 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-271-0/+2
| | | | | | | | | | | | | | | 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
* ArmPkg: Introduce ArmCpuLib to abstract ARM Cpu specific initialization (2)oliviermartin2011-09-278-0/+449
| | | | | | | | Missed new files. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12450 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg: Removed 'ArmV7/ArmV7MPCore*' filesoliviermartin2011-09-276-301/+0
| | | | | | | | | 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