summaryrefslogtreecommitdiffstats
path: root/ArmPlatformPkg
Commit message (Collapse)AuthorAgeFilesLines
* ArmPlatformPkg: Add missing ASM_PFX() macro in exception call backoliviermartin2011-04-272-8/+8
| | | | | | | | The ASM_PFX() was missing for some calls of the common exception callback. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11597 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/ArmPlatformLib: Renamed ArmPlatformInitialize into ↵oliviermartin2011-04-265-26/+115
| | | | | | | | | | | | | | | | | | ArmPlatformSecInitialize Some platforms require some of their controllers to be initialized in Secure world. This function make the difference between Secure and Normal world platform initialization. ArmPlatformPkg/ArmPlatformLib: Introduce ArmPlatformNormalInitialize Contain the code that initializes platform controllers that would be initialized in Normal World by PlatformPei. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11591 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Sec: Initialize the GIC when Trustzone Support is not enabledoliviermartin2011-04-261-0/+3
| | | | | | | | The GIC was not enabled on MPCore platform with Trustzone support disabled. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11590 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Sec: Fix typo and Remove magic valueoliviermartin2011-04-261-23/+35
| | | | | | | | | - Replace the '0' that defined the primary core by the macro ARM_PRIMARY_CORE - Fix mispellings and coding style git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11589 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatform: Remove dummy padding to make the Reset Vector aligned on 32 ↵oliviermartin2011-04-267-15/+3
| | | | | | | | | | | | | bytes boundary A dummy padding was added before the Reset Vectors to force the alignment on a 32 bytes boundary in XIP code. The correct fix is to define the alignment in the FDF file. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11588 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Bds: Connect all drivers if the SimpleTextIO is not availableoliviermartin2011-03-311-3/+25
| | | | | | | | | | | If none of the Simple Text Input/Output Protocol implementations were started before starting BDS then an exception error occured. This fix forces to connect all the drivers if no SimpleText IO protocols are found. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11487 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Fix buildoliviermartin2011-03-313-0/+3
| | | | | | | | Declared DebugPrintErrorLevelLib for the ArmPlatformPkg builds. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11484 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/PrePeiCore: Fix buildoliviermartin2011-03-311-1/+1
| | | | | | | | Renamed TEMPORARY_RAM_SUPPORT_PPI into EFI_PEI_TEMPORARY_RAM_SUPPORT_PPI git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11483 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Bds: Fix buildoliviermartin2011-03-311-1/+1
| | | | | | | | Renamed BdsLinuxLib.h into BdsUnixLib.h git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11482 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/ArmPlatformLib: Move the UEFI memory partionning to MemoryInitPeioliviermartin2011-03-319-192/+152
| | | | | | | | | | | | | | | | | | | | | | | Formerly, each platform was responsible to declare the location of its UEFI memory region (used by PEI and DXE Foundations). The ArmPlatformLib was also declaring every region of its partitionned system memory with a System Resource HOB. In this new model, the MemoryInit expects the system memory to be declared with the PCDs gArmTokenSpaceGuid.PcdSystemMemoryBase/Size. These PCDs declare the largest continuous DRAM region. Additional regions can be declared with the ArmPLatformLib function ArmPlatformGetAdditionalSystemMemory(). Now, it is the PEIM that partitions the system memory for every platform. It installs a region of the size PcdSystemMemoryUefiRegionSize (default 128MB) for the PEI permanent memory at the top of the DRAM region. And a region of gArmPlatformTokenSpaceGuid.PcdSystemMemoryFixRegionSize (default 128MB) is declared at the base of the system memory. This region is used for the allocation that requires fixed address or have some constraints on their locations. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11481 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/ArmPlatformLib: Introduce the function ArmPlatformGetBootMode()oliviermartin2011-03-315-6/+46
| | | | | | | | This function returns the current Boot Mode of the ARM Platform. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11480 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Introduce ArmPlatformInitialize() functionoliviermartin2011-03-318-9/+54
| | | | | | | | | | | | | | | This function is responsible to handle all the specific platform code that must be run in secure world to initialize some controllers. ArmPlatformPkg/Sec: Move the L2x0 initialization to ArmPlatformLib The L2x0 controller must be initialized in secure world. Move its initialization into the ArmPlatformInitialize() of the Cortex A9x4 Core Tile PlatformLib. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11476 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Rename gEmbeddedTokenSpaceGuid.PcdEmbeddedFd* into ↵oliviermartin2011-03-3119-49/+45
| | | | | | | | | | | | gArmTokenSpaceGuid.PcdNormalFd* This renaming is for matching the namespace with the secure firmware gArmTokenSpaceGuid.PcdSecureFdBaseAddress/Size. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11475 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Use Serial print function to print out non debugging informationoliviermartin2011-03-316-28/+57
| | | | | | | | | Exception errors and early print statements must be also print out in Release builds. Replace the DEBUG() macro by the SerialPortWrite() function. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11474 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/SP804Timer: Fix IRQ handler when the Timer IRQ is sharedoliviermartin2011-03-311-7/+9
| | | | | | | | | | The handler must check if the raised interrupt belongs to the SP804 Timer controller. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11473 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/CTA9x4: Remove Variable Storage FD file from FDFoliviermartin2011-03-317-105/+36
| | | | | | | | | | | | The Variable Storage is now formated by the NOR Flsah driver. Force the NOR Flash driver to be loaded before the Variable Service DXE driver. And check if the Non Volatile Storage exists in NOR flash. If not, the driver writes the correct header. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11471 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/Mmu: Support page size granularity in the initial MMU settingoliviermartin2011-03-311-21/+0
| | | | | | | | | | | Formerly, it was only possible to use section size granularity for the translation table regions. This change allows to define initial translation table regions with 4K-byte granularty (page size granularity). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11467 6f19259b-4bc3-4df7-8a09-765794883524
* Fix minor Xcode build issues.andrewfish2011-03-055-42/+42
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11348 6f19259b-4bc3-4df7-8a09-765794883524
* Update to match changes in the ArmPkg.andrewfish2011-02-021-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11294 6f19259b-4bc3-4df7-8a09-765794883524
* Add ArmPlatformPkg from ARM Ltd. patch.andrewfish2011-02-01103-0/+14402
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11291 6f19259b-4bc3-4df7-8a09-765794883524