summaryrefslogtreecommitdiffstats
path: root/ArmPlatformPkg
Commit message (Collapse)AuthorAgeFilesLines
* 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/PrePi: Added Firmware Version String to the 'welcome' statementoliviermartin2012-03-263-1/+6
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13139 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Sec: Change initial 'welcome' string from 'UEFI Firmware' to ↵oliviermartin2012-03-262-1/+9
| | | | | | | | | | 'Secure/Boot Firmware' The 'SEC' component is not part of the UEFI software stack. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13138 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/SP805WatchdogDxe: Removed late initialization capability from ↵oliviermartin2012-03-262-39/+8
| | | | | | | | | | | the watchdog The watchdog driver is a UEFI architectural driver. The watchdog controller is always going to be intialized. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13137 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Fixed gcc build (minor change)oliviermartin2012-03-261-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13136 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Sec: Allowed the Secondary Cores to set the Secure/Non Secure ↵oliviermartin2012-03-268-12/+28
| | | | | | | | | | | | 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
* ArmPlatformPkg/ArmSmcLib: Added helper library to make SMC call to the ↵oliviermartin2012-03-264-0/+224
| | | | | | | | | | | Secure World This library adds C-wrapper around the SMC instruction and allows to pass parameters to the Secure World. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13133 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/SP805Watchdog.h: Removed the DXE function declarations from ↵oliviermartin2012-03-262-86/+44
| | | | | | | | | | the header The DXE functions are local to the DXE driver. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13132 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Sec: Move ArmGicSetupNonSecure() prior to initialize ↵oliviermartin2012-03-261-3/+4
| | | | | | platform-specific security bit git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13127 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Sec: Fixed monitor stack setupoliviermartin2012-03-262-6/+10
| | | | | | | | The Secure Monitor stack was not when a stack base was not provided by the Secure SVC world. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13126 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/PrePi: Fix comment (minor change)oliviermartin2012-03-262-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13125 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/ArmPlatformGlobalVariableLib: Fixed incorrect type castingoliviermartin2012-03-263-3/+3
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13121 6f19259b-4bc3-4df7-8a09-765794883524
* ARM Packages: Added the NULL implementation of CpuExceptionHandlerLiboliviermartin2012-03-154-0/+4
| | | | | | | | | | | | | This NULL implementation should not affect the existing code flow and avoid the builds to be broken by a missing dependency. In a longer term, an implementation of CpuExceptionHandlerLib should be provided for ARM architecture. Signed-off-by: oliviermartin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13103 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/ArmPlatformSysConfigLib: Removed dependency on Uefi.h since ↵oliviermartin2012-02-295-43/+46
| | | | | | it is a Base Library git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13072 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/PL011Uart: Allowed to change UART settings in its ↵oliviermartin2012-02-296-368/+650
| | | | | | | | | | | initialization function Because this driver can be used for different purposes (Terminal, Debug port, communication), its initialization function has been extended to accept additional settings. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13071 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/ArmPlatformSysConfigLib: Add function ↵oliviermartin2012-02-282-1/+19
| | | | | | 'ArmPlatformSysConfigGetValues' git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13066 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/NorFlashDxe: Fixed CFI NOR Flash driveroliviermartin2012-02-289-357/+372
| | | | | | | | | | | | | | | CFI Flash differentiates DeviceBaseAddress with BlockAddress in its protocol. The DeviceBaseAddress was not considered in the previous version of this driver. This version also fixes some bugs in the implementation of the CFI protocol. This new version also uses the Boot Mode Hob to reinitialized the FVB when Boot Mode is equal to BOOT_WITH_DEFAULT_SETTINGS. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13064 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Bds: Fixed the size of the unicode string use to represent ↵oliviermartin2012-02-281-2/+2
| | | | | | hexadecimal memory address git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13063 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Sec: Add ASSERT() for checking the Secure Monitor Stack PCD ↵oliviermartin2012-02-281-0/+5
| | | | | | values git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13062 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Sec: Move 'ArmPlatformSecExtraAction' before we set NSACR & SCRoliviermartin2012-02-282-13/+17
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13061 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Sec: Fix transition to Trusted Monitor World with ARMGCColiviermartin2012-02-284-50/+94
| | | | | | | | | | The enter_monitor_world() function was trashing r0/r1/r2 registers and then was returning back to 'C'. The compiler might have used these registers in the C code. These new design prevents register corruptions. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13060 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Move the Secure Monitor initialization into a separate ↵oliviermartin2012-02-2812-34/+196
| | | | | | 'ArmTrustedMonitorLib' library git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13059 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Updated the stack setup to have the same geometry between ↵oliviermartin2012-02-286-184/+134
| | | | | | | | | | | | 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
* ArmPlatformPkg/PrePi: Fixed stack setup when System Memory is mapped upto ↵oliviermartin2012-02-282-2/+42
| | | | | | | | | | | | 0xFFFFFFFF The stacks must be 32-bit aligned (which is not the case of 0xFFFFFFFF). This change ensures the stacks are setup properperly in case the system memory is available at 0xFFFFFFFF. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13057 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Moved 'ArmTrustZoneLib' from ArmPkg/Library to ↵oliviermartin2012-02-285-3/+230
| | | | | | | | | | 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/LcdGraphicsOutputDxe: Added support for ARM HDLCD controller (2)oliviermartin2012-02-283-0/+274
| | | | | | | | ... Forgot the new files git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13053 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Minor code changes (comments, misspellings, coding stylei, ↵oliviermartin2012-02-2823-455/+432
| | | | | | | | | | | | | | | 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
* ArmPlatformPkg/LcdGraphicsOutputDxe: Added support for ARM HDLCD controlleroliviermartin2012-02-281-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13051 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/PrePeiCore: Ensured the size is 8-byte alignedoliviermartin2012-02-272-6/+14
| | | | | | | | | Once divided by 2, the size should be 4-byte aligned to ensure the stack pointer is 4-byte aligned. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13044 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/ArmPlatformGlobalVariableLib: Added an assert to ensure the ↵oliviermartin2012-02-277-22/+32
| | | | | | 'VariableOffset' belongs to the GlobalVariable region git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13043 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/SP804TimerDxe: Move 'gVector' initialization earlier in the codeoliviermartin2012-02-271-1/+4
| | | | | | | | The global variable 'gVector' is also used by the function TimerDriverSetTimerPeriod(). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13042 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Bds: Add support for 'BootCurrent'oliviermartin2012-02-091-0/+13
| | | | | | | | The UEFI variable 'BootCurrent' defines the EFI application started by the Boot Manager. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13000 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Bds: Fixed update of boot entriesoliviermartin2012-02-091-3/+3
| | | | | | | | There were some incorrect pointer calculations. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12999 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Bds: Fixed 'BootNext' supportoliviermartin2012-02-091-8/+33
| | | | | | | | | | The 'BootNext' environment variable should only contain the index of the 'next' boot entry. It was containing a complete Boot Option. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12998 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Bds: Fixed memory leakoliviermartin2012-02-092-2/+25
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12997 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Fix ARM EB and VE buildsoliviermartin2011-12-153-10/+16
| | | | | | | | The EDID protocol defintions were missing from their ArmPlatformLcdLib.inf INF files. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12878 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/ArmVExpressPkg: Add PL180 MCI support to ARM RTSMoliviermartin2011-12-146-1/+31
| | | | | | | | | | The MMC controller is accessible through the ARM RTSM model. A filesystem can be added on a MMC file to be accessible through the UEFI firmware running on RTSM. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12862 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Renamed 'DebugSecExtraActionLib' into ↵oliviermartin2011-12-145-5/+5
| | | | | | | | | | | 'ArmPlatformSecExtraActionLib' This library interface is not related to adding extra action to debug support. But it adds extra action to the ArmPlatform/Sec component. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12861 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/LcdPlatformLib: Produce the protocols ↵oliviermartin2011-12-144-88/+138
| | | | | | | | | | EFI_EDID_DISCOVERED_PROTOCOL and EFI_EDID_ACTIVE_PROTOCOL These two EDID protocols are excepted to be produced by the GOP. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12860 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Sec: Fixed Monitor stack setupoliviermartin2011-12-141-1/+1
| | | | | | | | | | Because GET_CORE_POS(MpId) returns 0x0 for the primary core, the stack position must be defined by the top of the stack. It means stack_size must be added to the stack base. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12858 6f19259b-4bc3-4df7-8a09-765794883524
* MdeModulePkg/Variable: Check if there is a NV Variable Storage header prior ↵oliviermartin2011-12-121-300/+300
| | | | | | | | | | | | | | | | | | to use its attributes The Variable PEI and RuntimeDxe drivers were using the attribute 'HeaderLength' of EFI_FIRMWARE_VOLUME_HEADER without checking if a Firmware Volume Header was existing at the base address. In case the Firmware Volume Header does not exist or is corrupted, the attribute 'HeaderLength' is a non valid value that can lead to a non valid physical address when accessing produces an access error. Signed-off-by: oliviermartin Reviewed-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12836 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Coding style changes (tab and line endings) - Minor changesoliviermartin2011-12-072-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12828 6f19259b-4bc3-4df7-8a09-765794883524
* BaseTools: Pending patches updateoliviermartin2011-12-061-23/+55
| | | | | | | | | Add patch: - ARMLINUXGCC: Set the linked base address at 0x0 (0x8000 by default) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12824 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Sec: Enabled VFP (if supported by platform) prior to any ↵oliviermartin2011-12-061-4/+5
| | | | | | | | | | | | | library invocation Some compilers uses VFP for some 64bit operation. If the VFP coprocessor is not enabled at this stage the processor raises an undefined exception. To prevent this case, the VFP enabling has been moved at the beginning of the platform initialization phase. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12823 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Update pending patches with the latest BaseTools SyncUpoliviermartin2011-12-051-271/+0
| | | | | | | | | | - ARMLINUXGCC toolchain is now supported - ARMGCC: Set '0x0' for the linkage base address - Fixed Trim utility - Fixed support for !include in DSC files git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12819 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/PrePi: Ony synchronize cores when it is a MPCore Systemoliviermartin2011-11-161-3/+5
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12726 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Remove inappropriate comment in ArmPlatformPkg.decoliviermartin2011-11-151-2/+0
| | | | | | | | The comment was not related to the context. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12709 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/patches: Update pending patches to fix buildsoliviermartin2011-11-151-7/+39
| | | | | | | | This update should fix the build errors due to the postfix 'U' added to PCD numbers. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12708 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/patches: Update the 'PendingPatches' on the latest BaseTools ↵oliviermartin2011-11-106-913/+158
| | | | | | syncup git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12680 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Fix Global Variable region initialization when ↵oliviermartin2011-11-096-18/+18
| | | | | | | | | | GlobalVariable's size is zero The exit loop was not considering a size of zero for the Global Variable region. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12678 6f19259b-4bc3-4df7-8a09-765794883524