Change looks good. Question - Is there a way to optimize the patch/email for this type of change so that we do not see the "diff" for a file that is deleted? It seems redundant to show a whole file of "-" lines...
-Jaben > -----Original Message----- > From: edk2-devel [mailto:[email protected]] On Behalf Of > Ryan Harkin > Sent: Wednesday, February 03, 2016 9:10 AM > To: [email protected]; [email protected]; Leif Lindholm > <[email protected]> > Cc: Ryan Harkin <[email protected]>; Ard Biesheuvel > <[email protected]> > Subject: [edk2] [PATCH v2 6/6] Revert "ArmPlatformPkg: Create an ARM > Platform DSC / FDF / ArmPlatformLib template" > Importance: High > > This reverts commit 12fcdcb83d8e91cb730db9252189269467b9ed73 > > The files added by the commit have never been used. In the intervening > years since they've been added, ~30 patches have been submitted to > update them. > > Remove them as part of a general cleanup of ArmPlatformPkg. > > Signed-off-by: Ryan Harkin <[email protected]> > --- > ArmPlatformPkg/ArmPlatformPkg-2ndstage.dsc | 382 ------------------ > ArmPlatformPkg/ArmPlatformPkg-2ndstage.fdf | 263 ------------ > ArmPlatformPkg/ArmPlatformPkg.dsc | 445 > --------------------- > ArmPlatformPkg/ArmPlatformPkg.fdf | 320 --------------- > .../ArmPlatformLibNull/ArmPlatformLibNull.c | 162 -------- > .../ArmPlatformLibNull/ArmPlatformLibNull.inf | 51 --- > .../ArmPlatformLibNull/ArmPlatformLibNullMem.c | 34 -- > .../ArmPlatformLibNull/ArmPlatformLibNullSec.inf | 47 --- > 8 files changed, 1704 deletions(-) > > diff --git a/ArmPlatformPkg/ArmPlatformPkg-2ndstage.dsc > b/ArmPlatformPkg/ArmPlatformPkg-2ndstage.dsc > deleted file mode 100644 > index 45d7427..0000000 > --- a/ArmPlatformPkg/ArmPlatformPkg-2ndstage.dsc > +++ /dev/null > @@ -1,382 +0,0 @@ > -# > -# Copyright (c) 2011-2015, ARM Limited. All rights reserved. > -# > -# This program and the accompanying materials > -# are licensed and made available under the terms and conditions of the BSD > License > -# which accompanies this distribution. The full text of the license may be > found at > -# http://opensource.org/licenses/bsd-license.php > -# > -# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" > BASIS, > -# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER > EXPRESS OR IMPLIED. > -# > -# > - > ############################################################ > #################### > -# > -# Defines Section - statements that will be processed to create a Makefile. > -# > - > ############################################################ > #################### > -[Defines] > - PLATFORM_NAME = ArmPlatform > - PLATFORM_GUID = 4fe82b83-9315-4ff3-8cc0-ab77ca93cb7f > - PLATFORM_VERSION = 0.1 > - DSC_SPECIFICATION = 0x00010005 > - OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME) > - SUPPORTED_ARCHITECTURES = ARM|AARCH64 > - BUILD_TARGETS = DEBUG|RELEASE > - SKUID_IDENTIFIER = DEFAULT > - FLASH_DEFINITION = ArmPlatformPkg/ArmPlatformPkg-2ndstage.fdf > - > -[LibraryClasses.common] > - > ArmPlatformLib|ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLi > bNull.inf > - > -!if $(TARGET) == RELEASE > - DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf > - > UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocation > Lib/UncachedMemoryAllocationLib.inf > -!else > - > DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.i > nf > - > UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocation > Lib/UncachedMemoryAllocationLib.inf > -# > UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAll > ocationLib/DebugUncachedMemoryAllocationLib.inf > -!endif > - > DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/Base > DebugPrintErrorLevelLib.inf > - > - BaseLib|MdePkg/Library/BaseLib/BaseLib.inf > - > SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchroniz > ationLib.inf > - > PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformance > LibNull.inf > - PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf > - > PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePe > CoffGetEntryPointLib.inf > - PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf > - IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf > - > UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDeco > mpressLib.inf > - CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf > - > - UefiLib|MdePkg/Library/UefiLib/UefiLib.inf > - HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf > - > UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/ > UefiRuntimeServicesTableLib.inf > - DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf > - > UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBoo > tServicesTableLib.inf > - > DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTable > Lib.inf > - > UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryP > oint.inf > - > UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiAp > plicationEntryPoint.inf > - HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf > - > UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServices > Lib.inf > - > - UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf > - > - # > - # Assume everything is fixed at build > - # > - PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf > - > - # 1/123 faster than Stm or Vstm version > - #BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf > - > BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf > - > - # ARM Architectural Libraries > - > CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCache > MaintenanceLib.inf > - > DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/De > faultExceptionHandlerLib.inf > - > CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNu > ll/CpuExceptionHandlerLibNull.inf > - > ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerL > ib.inf > - DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf > - ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf > - ArmGicArchLib|ArmPkg/Library/ArmGicArchLib/ArmGicArchLib.inf > - > ArmPlatformStackLib|ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatf > ormStackLib.inf > - ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf > - > - > SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf > - > TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTempl > ate.inf > - > EfiResetSystemLib|EmbeddedPkg/Library/TemplateResetSystemLib/Template > ResetSystemLib.inf > - > RealTimeClockLib|EmbeddedPkg/Library/TemplateRealTimeClockLib/Templat > eRealTimeClockLib.inf > - > - # Networking Requirements for ArmPlatformPkg/Bds > - NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf > - > - # These libraries are used by the dynamic EFI Shell commands > - ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf > - FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf > - SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf > - > - # EBL Related Libraries > - EblCmdLib|ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.inf > - EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf > - > EblAddExternalCommandLib|EmbeddedPkg/Library/EblAddExternalCommand > Lib/EblAddExternalCommandLib.inf > - EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf > - > - # > - # Uncomment (and comment out the next line) For RealView Debugger. The > Standard IO window > - # in the debugger will show load and unload commands for symbols. You can > cut and paste this > - # into the command window to load symbols. We should be able to use a > script to do this, but > - # the version of RVD I have does not support scripts accessing system > memory. > - # > - > #PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffE > xtraActionLib.inf > - > PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeC > offExtraActionLib.inf > - > #PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BaseP > eCoffExtraActionLibNull.inf > - > - > DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLib > Null.inf > - > DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/Debug > AgentTimerLibNull.inf > - > - SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf > - > - # BDS Libraries > - BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf > - FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf > - > -[LibraryClasses.ARM] > - ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf > - > ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexA9Lib/ArmCortexA9Lib.in > f > - > -[LibraryClasses.AARCH64] > - ArmLib|ArmPkg/Library/ArmLib/AArch64/AArch64Lib.inf > - > ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexAEMv8Lib/ArmCortexAE > Mv8Lib.inf > - > -[LibraryClasses.common.SEC] > - > ArmPlatformSecExtraActionLib|ArmPlatformPkg/Library/DebugSecExtraActio > nLib/DebugSecExtraActionLib.inf > - > DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSy > mbolsBaseLib.inf > - > DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/De > faultExceptionHandlerLibBase.inf > - > - PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf > - > ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLi > b/PrePiExtractGuidedSectionLib.inf > - > LzmaDecompressLib|MdeModulePkg/Library/LzmaCustomDecompressLib/Lz > maCustomDecompressLib.inf > - > MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/Pre > PiMemoryAllocationLib.inf > - HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf > - > PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/Pre > PiHobListPointerLib.inf > - > PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanc > eLib.inf > - PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf > - ArmGicArchLib|ArmPkg/Library/ArmGicArchSecLib/ArmGicArchSecLib.inf > - > -[LibraryClasses.common.SEC, LibraryClasses.common.PEIM] > - MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf > - > -[LibraryClasses.common.DXE_CORE] > - HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf > - > MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib > /DxeCoreMemoryAllocationLib.inf > - > DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.i > nf > - > ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCo > deLibFramework/DxeReportStatusCodeLib.inf > - > ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeEx > tractGuidedSectionLib.inf > - > UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDeco > mpressLib.inf > - DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf > - > PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCoreP > erformanceLib.inf > - > -[LibraryClasses.common.DXE_DRIVER] > - > ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCo > deLibFramework/DxeReportStatusCodeLib.inf > - DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf > - > SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLi > b/DxeSecurityManagementLib.inf > - > PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerforman > ceLib.inf > - > MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemor > yAllocationLib.inf > - > -[LibraryClasses.common.UEFI_APPLICATION] > - > UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustom > DecompressLib/BaseUefiTianoCustomDecompressLib.inf > - > PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerforman > ceLib.inf > - > MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemor > yAllocationLib.inf > - HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf > - > -[LibraryClasses.common.UEFI_DRIVER] > - > ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCo > deLibFramework/DxeReportStatusCodeLib.inf > - > UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustom > DecompressLib/BaseUefiTianoCustomDecompressLib.inf > - > ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeEx > tractGuidedSectionLib.inf > - > PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerforman > ceLib.inf > - > MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemor > yAllocationLib.inf > - > -[LibraryClasses.common.DXE_RUNTIME_DRIVER] > - HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf > - > MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemor > yAllocationLib.inf > - > ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCo > deLibFramework/DxeReportStatusCodeLib.inf > - > CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf > - > -[LibraryClasses.ARM, LibraryClasses.AARCH64] > - # > - # It is not possible to prevent the ARM compiler for generic intrinsic > functions. > - # This library provides the instrinsic functions generate by a given > compiler. > - # [LibraryClasses.ARM] and NULL mean link this library into all ARM images. > - # > - NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf > - > - # Add support for GCC stack protector > - NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf > - > -[BuildOptions] > - XCODE:*_*_ARM_PLATFORM_FLAGS == -arch armv7 > - > - GCC:*_*_ARM_PLATFORM_FLAGS == -march=armv7-a > - > - RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A8 > - > - > ############################################################ > #################### > -# > -# Pcd Section - list of all EDK II PCD Entries defined by this Platform > -# > - > ############################################################ > #################### > - > -[PcdsFeatureFlag.common] > - gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE > - gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE > - gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE > - gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE > - > - # > - # Control what commands are supported from the UI > - # Turn these on and off to add features or save size > - # > - gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE > - gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE > - gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE > - gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE > - gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE > - gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE > - gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE > - > - gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE > - > - # Use the Vector Table location in CpuDxe. We will not copy the Vector > Table at PcdCpuVectorBaseAddress > - gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE > - > - > gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|T > RUE > - > - gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE > - > -[PcdsFixedAtBuild.common] > - gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Platform" > - > - gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmPlatform" > - gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000 > - gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000 > - gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000 > - gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000 > - gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF > - gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1 > - gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0 > - gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320 > - > - # DEBUG_ASSERT_ENABLED 0x01 > - # DEBUG_PRINT_ENABLED 0x02 > - # DEBUG_CODE_ENABLED 0x04 > - # CLEAR_MEMORY_ENABLED 0x08 > - # ASSERT_BREAKPOINT_ENABLED 0x10 > - # ASSERT_DEADLOOP_ENABLED 0x20 > -!if $(TARGET) == RELEASE > - gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21 > -!else > - gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f > -!endif > - > - # DEBUG_INIT 0x00000001 // Initialization > - # DEBUG_WARN 0x00000002 // Warnings > - # DEBUG_LOAD 0x00000004 // Load events > - # DEBUG_FS 0x00000008 // EFI File system > - # DEBUG_POOL 0x00000010 // Alloc & Free's > - # DEBUG_PAGE 0x00000020 // Alloc & Free's > - # DEBUG_INFO 0x00000040 // Verbose > - # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers > - # DEBUG_VARIABLE 0x00000100 // Variable > - # DEBUG_BM 0x00000400 // Boot Manager > - # DEBUG_BLKIO 0x00001000 // BlkIo Driver > - # DEBUG_NET 0x00004000 // SNI Driver > - # DEBUG_UNDI 0x00010000 // UNDI Driver > - # DEBUG_LOADFILE 0x00020000 // UNDI Driver > - # DEBUG_EVENT 0x00080000 // Event messages > - # DEBUG_ERROR 0x80000000 // Error > - gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F > - > - gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07 > - > - gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|"" > - gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07 > - gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000 > - > - # > - # Optional feature to help prevent EFI memory map fragments > - # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob > - # Values are in EFI Pages (4K). DXE Core will make sure that > - # at least this much of each type of memory can be allocated > - # from a single memory range. This way you only end up with > - # maximum of two fragements for each type in the memory map > - # (the memory used, and the free memory that was prereserved > - # but not used). > - # > - gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0 > - gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0 > - gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0 > - gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|50 > - gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|20 > - gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400 > - gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|20000 > - gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20 > - gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0 > - > - # We want to use the Shell Libraries but don't want it to initialise > - # automatically. We initialise the libraries when the command is called by > the > - # Shell. > - gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE > - > - # > - # ARM Pcds > - # > - > gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x000000000000000 > 0 > - > - gArmTokenSpaceGuid.PcdSystemMemoryBase|0 > - gArmTokenSpaceGuid.PcdSystemMemorySize|0 > - > - > ############################################################ > #################### > -# > -# Components Section - list of all EDK II Modules needed by this Platform > -# > - > ############################################################ > #################### > -[Components.common] > - > - # > - # PEI Phase modules > - # > - ArmPlatformPkg/PrePi/PeiUniCore.inf > - > - # > - # DXE > - # > - MdeModulePkg/Core/Dxe/DxeMain.inf { > - <LibraryClasses> > - PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf > - > NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32G > uidedSectionExtractLib.inf > - } > - > - # > - # Architectural Protocols > - # > - ArmPkg/Drivers/CpuDxe/CpuDxe.inf > - MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf > - MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf > - MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf > - MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf > - > MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDx > e.inf > - > EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.i > nf > - > - EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf > - EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf > - EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf > - > - # Simple TextIn/TextOut for UEFI Terminal > - EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf > - > - # > - # > - # Semi-hosting filesystem > - # > - ArmPkg/Filesystem/SemihostFs/SemihostFs.inf > - > - # > - # FAT filesystem + GPT/MBR partitioning > - # > - MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf > - MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf > - MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf > - > - # > - # Application > - # > - EmbeddedPkg/Ebl/Ebl.inf > - > - # > - # Bds > - # > - MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf > - ArmPlatformPkg/Bds/Bds.inf > - > - # Legacy Linux Loader > - ArmPkg/Application/LinuxLoader/LinuxLoader.inf > diff --git a/ArmPlatformPkg/ArmPlatformPkg-2ndstage.fdf > b/ArmPlatformPkg/ArmPlatformPkg-2ndstage.fdf > deleted file mode 100644 > index 9c35ebb..0000000 > --- a/ArmPlatformPkg/ArmPlatformPkg-2ndstage.fdf > +++ /dev/null > @@ -1,263 +0,0 @@ > -# > -# Copyright (c) 2011-2015, ARM Limited. All rights reserved. > -# > -# This program and the accompanying materials > -# are licensed and made available under the terms and conditions of the BSD > License > -# which accompanies this distribution. The full text of the license may be > found at > -# http://opensource.org/licenses/bsd-license.php > -# > -# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" > BASIS, > -# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER > EXPRESS OR IMPLIED. > -# > - > - > ############################################################ > #################### > -# > -# FD Section > -# The [FD] Section is made up of the definition statements and a > -# description of what goes into the Flash Device Image. Each FD section > -# defines one flash "device" image. A flash device image may be one of > -# the following: Removable media bootable image (like a boot floppy > -# image,) an Option ROM image (that would be "flashed" into an add-in > -# card,) a System "Flash" image (that would be burned into a system's > -# flash) or an Update ("Capsule") image that will be used to update and > -# existing system flash. > -# > - > ############################################################ > #################### > - > -[FD.ArmPlatform_EFI] > -BaseAddress = 0xEC200000|gArmTokenSpaceGuid.PcdFdBaseAddress # > The base address of the Firmware in NOR Flash. > -Size = 0x00200000|gArmTokenSpaceGuid.PcdFdSize # The size in > bytes of the FLASH Device > -ErasePolarity = 1 > - > -# This one is tricky, it must be: BlockSize * NumBlocks = Size > -BlockSize = 0x00001000 > -NumBlocks = 0x200 > - > - > ############################################################ > #################### > -# > -# Following are lists of FD Region layout which correspond to the locations > of > different > -# images within the flash device. > -# > -# Regions must be defined in ascending order and may not overlap. > -# > -# A Layout Region start with a eight digit hex offset (leading "0x" required) > followed by > -# the pipe "|" character, followed by the size of the region, also in hex > with > the leading > -# "0x" characters. Like: > -# Offset|Size > -# PcdOffsetCName|PcdSizeCName > -# RegionType <FV, DATA, or FILE> > -# > - > ############################################################ > #################### > - > -0x00000000|0x00200000 > -gArmTokenSpaceGuid.PcdFvBaseAddress|gArmTokenSpaceGuid.PcdFvSize > -FV = FVMAIN_COMPACT > - > - > - > ############################################################ > #################### > -# > -# FV Section > -# > -# [FV] section is used to define what components or modules are placed > within a flash > -# device file. This section also defines order the components and modules > are positioned > -# within the image. The [FV] section consists of define statements, set > statements and > -# module statements. > -# > - > ############################################################ > #################### > - > -[FV.FvMain] > -BlockSize = 0x40 > -NumBlocks = 0 # This FV gets compressed so make it just big > enough > -FvAlignment = 8 # FV alignment and FV attributes setting. > -ERASE_POLARITY = 1 > -MEMORY_MAPPED = TRUE > -STICKY_WRITE = TRUE > -LOCK_CAP = TRUE > -LOCK_STATUS = TRUE > -WRITE_DISABLED_CAP = TRUE > -WRITE_ENABLED_CAP = TRUE > -WRITE_STATUS = TRUE > -WRITE_LOCK_CAP = TRUE > -WRITE_LOCK_STATUS = TRUE > -READ_DISABLED_CAP = TRUE > -READ_ENABLED_CAP = TRUE > -READ_STATUS = TRUE > -READ_LOCK_CAP = TRUE > -READ_LOCK_STATUS = TRUE > -FvNameGuid = 5eda4200-2c5f-43cb-9da3-0baf74b1b30c > - > - INF MdeModulePkg/Core/Dxe/DxeMain.inf > - > - # > - # PI DXE Drivers producing Architectural Protocols (EFI Services) > - # > - INF ArmPkg/Drivers/CpuDxe/CpuDxe.inf > - INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf > - INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf > - INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf > - INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf > - INF > MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDx > e.inf > - INF > EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.i > nf > - INF EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf > - INF > EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf > - INF EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf > - > - # Simple TextIn/TextOut for UEFI Terminal > - INF EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf > - > - # > - # Semi-hosting filesystem (Required the Hardware Debugger to be > connected) > - # > - INF ArmPkg/Filesystem/SemihostFs/SemihostFs.inf > - > - # > - # FAT filesystem + GPT/MBR partitioning > - # > - INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf > - INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf > - INF FatBinPkg/EnhancedFatDxe/Fat.inf > - INF > MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf > - > - # > - # UEFI application (Shell Embedded Boot Loader) > - # > - INF EmbeddedPkg/Ebl/Ebl.inf > - > - # > - # Bds > - # > - INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf > - INF ArmPlatformPkg/Bds/Bds.inf > - > - # Legacy Linux Loader > - INF ArmPkg/Application/LinuxLoader/LinuxLoader.inf > - > -[FV.FVMAIN_COMPACT] > -FvAlignment = 8 > -ERASE_POLARITY = 1 > -MEMORY_MAPPED = TRUE > -STICKY_WRITE = TRUE > -LOCK_CAP = TRUE > -LOCK_STATUS = TRUE > -WRITE_DISABLED_CAP = TRUE > -WRITE_ENABLED_CAP = TRUE > -WRITE_STATUS = TRUE > -WRITE_LOCK_CAP = TRUE > -WRITE_LOCK_STATUS = TRUE > -READ_DISABLED_CAP = TRUE > -READ_ENABLED_CAP = TRUE > -READ_STATUS = TRUE > -READ_LOCK_CAP = TRUE > -READ_LOCK_STATUS = TRUE > - > - INF ArmPlatformPkg/PrePi/PeiUniCore.inf > - > - FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 { > - SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF > PROCESSING_REQUIRED = TRUE { > - SECTION FV_IMAGE = FVMAIN > - } > - } > - > - > - > ############################################################ > #################### > -# > -# Rules are use with the [FV] section's module INF type to define > -# how an FFS file is created for a given INF file. The following Rule are the > default > -# rules for the different module type. User can add the customized rules to > define the > -# content of the FFS file. > -# > - > ############################################################ > #################### > - > - > - > ############################################################ > ################ > -# Example of a DXE_DRIVER FFS file with a Checksum encapsulation section # > - > ############################################################ > ################ > -# > -#[Rule.Common.DXE_DRIVER] > -# FILE DRIVER = $(NAMED_GUID) { > -# DXE_DEPEX DXE_DEPEX Optional > $(INF_OUTPUT)/$(MODULE_NAME).depex > -# COMPRESS PI_STD { > -# GUIDED { > -# PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi > -# UI STRING="$(MODULE_NAME)" Optional > -# VERSION STRING="$(INF_VERSION)" Optional > BUILD_NUM=$(BUILD_NUMBER) > -# } > -# } > -# } > -# > - > ############################################################ > ################ > - > -[Rule.ARM.SEC] > - FILE SEC = $(NAMED_GUID) RELOCS_STRIPPED { > - TE TE Align = 32 $(INF_OUTPUT)/$(MODULE_NAME).efi > - } > - > -# The AArch64 Vector Table requires a 2K alignment that is not supported by > the FDF specification. > -# It is the reason 4K is used instead of 2K for the module alignment. > -[Rule.AARCH64.SEC] > - FILE SEC = $(NAMED_GUID) RELOCS_STRIPPED { > - TE TE Align = 4K $(INF_OUTPUT)/$(MODULE_NAME).efi > - } > - > -[Rule.Common.PEI_CORE] > - FILE PEI_CORE = $(NAMED_GUID) { > - TE TE $(INF_OUTPUT)/$(MODULE_NAME).efi > - UI STRING ="$(MODULE_NAME)" Optional > - } > - > -[Rule.Common.PEIM] > - FILE PEIM = $(NAMED_GUID) { > - PEI_DEPEX PEI_DEPEX Optional > $(INF_OUTPUT)/$(MODULE_NAME).depex > - TE TE $(INF_OUTPUT)/$(MODULE_NAME).efi > - UI STRING="$(MODULE_NAME)" Optional > - } > - > -[Rule.Common.PEIM.TIANOCOMPRESSED] > - FILE PEIM = $(NAMED_GUID) DEBUG_MYTOOLS_IA32 { > - PEI_DEPEX PEI_DEPEX Optional > $(INF_OUTPUT)/$(MODULE_NAME).depex > - GUIDED A31280AD-481E-41B6-95E8-127F4C984779 > PROCESSING_REQUIRED = TRUE { > - PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi > - UI STRING="$(MODULE_NAME)" Optional > - } > - } > - > -[Rule.Common.DXE_CORE] > - FILE DXE_CORE = $(NAMED_GUID) { > - PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi > - UI STRING="$(MODULE_NAME)" Optional > - } > - > -[Rule.Common.UEFI_DRIVER] > - FILE DRIVER = $(NAMED_GUID) { > - DXE_DEPEX DXE_DEPEX Optional > $(INF_OUTPUT)/$(MODULE_NAME).depex > - PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi > - UI STRING="$(MODULE_NAME)" Optional > - } > - > -[Rule.Common.UEFI_DRIVER.BINARY] > - FILE DRIVER = $(NAMED_GUID) { > - DXE_DEPEX DXE_DEPEX Optional |.depex > - PE32 PE32 |.efi > - UI STRING="$(MODULE_NAME)" Optional > - VERSION STRING="$(INF_VERSION)" Optional > BUILD_NUM=$(BUILD_NUMBER) > - } > - > -[Rule.Common.DXE_DRIVER] > - FILE DRIVER = $(NAMED_GUID) { > - DXE_DEPEX DXE_DEPEX Optional > $(INF_OUTPUT)/$(MODULE_NAME).depex > - PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi > - UI STRING="$(MODULE_NAME)" Optional > - } > - > -[Rule.Common.DXE_RUNTIME_DRIVER] > - FILE DRIVER = $(NAMED_GUID) { > - DXE_DEPEX DXE_DEPEX Optional > $(INF_OUTPUT)/$(MODULE_NAME).depex > - PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi > - UI STRING="$(MODULE_NAME)" Optional > - } > - > -[Rule.Common.UEFI_APPLICATION] > - FILE APPLICATION = $(NAMED_GUID) { > - UI STRING ="$(MODULE_NAME)" Optional > - PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi > - } > diff --git a/ArmPlatformPkg/ArmPlatformPkg.dsc > b/ArmPlatformPkg/ArmPlatformPkg.dsc > deleted file mode 100644 > index bacd10f..0000000 > --- a/ArmPlatformPkg/ArmPlatformPkg.dsc > +++ /dev/null > @@ -1,445 +0,0 @@ > -# > -# Copyright (c) 2011-2015, ARM Limited. All rights reserved. > -# > -# This program and the accompanying materials > -# are licensed and made available under the terms and conditions of the BSD > License > -# which accompanies this distribution. The full text of the license may be > found at > -# http://opensource.org/licenses/bsd-license.php > -# > -# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" > BASIS, > -# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER > EXPRESS OR IMPLIED. > -# > -# > - > ############################################################ > #################### > -# > -# Defines Section - statements that will be processed to create a Makefile. > -# > - > ############################################################ > #################### > -[Defines] > - PLATFORM_NAME = ArmPlatform > - PLATFORM_GUID = 4fe82b83-9315-4ff3-8cc0-ab77ca93cb7f > - PLATFORM_VERSION = 0.1 > - DSC_SPECIFICATION = 0x00010005 > - OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME) > - SUPPORTED_ARCHITECTURES = ARM|AARCH64 > - BUILD_TARGETS = DEBUG|RELEASE > - SKUID_IDENTIFIER = DEFAULT > - FLASH_DEFINITION = ArmPlatformPkg/ArmPlatformPkg.fdf > - > -[LibraryClasses.common] > - > ArmPlatformLib|ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLi > bNull.inf > - > -!if $(TARGET) == RELEASE > - DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf > - > UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocation > Lib/UncachedMemoryAllocationLib.inf > -!else > - > DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.i > nf > - > UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocation > Lib/UncachedMemoryAllocationLib.inf > -# > UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAll > ocationLib/DebugUncachedMemoryAllocationLib.inf > -!endif > - > DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/Base > DebugPrintErrorLevelLib.inf > - > - BaseLib|MdePkg/Library/BaseLib/BaseLib.inf > - > SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchroniz > ationLib.inf > - > PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformance > LibNull.inf > - PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf > - > PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePe > CoffGetEntryPointLib.inf > - PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf > - IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf > - > UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDeco > mpressLib.inf > - CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf > - > - UefiLib|MdePkg/Library/UefiLib/UefiLib.inf > - HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf > - > UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/ > UefiRuntimeServicesTableLib.inf > - DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf > - > UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBoo > tServicesTableLib.inf > - > DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTable > Lib.inf > - > UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryP > oint.inf > - > UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiAp > plicationEntryPoint.inf > - HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf > - > UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServices > Lib.inf > - > - UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf > - > - # > - # Assume everything is fixed at build > - # > - PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf > - > - # 1/123 faster than Stm or Vstm version > - #BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf > - > BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf > - > - # ARM Architectural Libraries > - > CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCache > MaintenanceLib.inf > - > DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/De > faultExceptionHandlerLib.inf > - > CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNu > ll/CpuExceptionHandlerLibNull.inf > - > ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerL > ib.inf > - DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf > - ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf > - ArmGicArchLib|ArmPkg/Library/ArmGicArchLib/ArmGicArchLib.inf > - ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf > - > - > SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf > - > TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTempl > ate.inf > - > EfiResetSystemLib|EmbeddedPkg/Library/TemplateResetSystemLib/Template > ResetSystemLib.inf > - > RealTimeClockLib|EmbeddedPkg/Library/TemplateRealTimeClockLib/Templat > eRealTimeClockLib.inf > - > - # Networking Requirements for ArmPlatformPkg/Bds > - NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf > - > - # These libraries are used by the dynamic EFI Shell commands > - ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf > - FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf > - SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf > - > - # EBL Related Libraries > - EblCmdLib|ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.inf > - EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf > - > EblAddExternalCommandLib|EmbeddedPkg/Library/EblAddExternalCommand > Lib/EblAddExternalCommandLib.inf > - EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf > - > - # > - # Uncomment (and comment out the next line) For RealView Debugger. The > Standard IO window > - # in the debugger will show load and unload commands for symbols. You can > cut and paste this > - # into the command window to load symbols. We should be able to use a > script to do this, but > - # the version of RVD I have does not support scripts accessing system > memory. > - # > - > #PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffE > xtraActionLib.inf > - > PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeC > offExtraActionLib.inf > - > #PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BaseP > eCoffExtraActionLibNull.inf > - > - > DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLib > Null.inf > - > DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/Debug > AgentTimerLibNull.inf > - > - SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf > - > - # BDS Libraries > - BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf > - FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf > - > -[LibraryClasses.ARM] > - ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf > - > ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexA9Lib/ArmCortexA9Lib.in > f > - > -[LibraryClasses.AARCH64] > - ArmLib|ArmPkg/Library/ArmLib/AArch64/AArch64Lib.inf > - > ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexAEMv8Lib/ArmCortexAE > Mv8Lib.inf > - > ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterL > ib/ArmGenericTimerPhyCounterLib.inf > - > -[LibraryClasses.common.SEC] > - > ArmPlatformSecLib|ArmPlatformPkg/Library/ArmPlatformSecLibNull/ArmPlat > formLibNullSec.inf > - > ArmPlatformLib|ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLi > bNullSec.inf > - > ArmTrustedMonitorLib|ArmPlatformPkg/Library/ArmTrustedMonitorLibNull/ > ArmTrustedMonitorLibNull.inf > - > - > ArmPlatformSecExtraActionLib|ArmPlatformPkg/Library/DebugSecExtraActio > nLib/DebugSecExtraActionLib.inf > - > - > DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSy > mbolsBaseLib.inf > - > DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/De > faultExceptionHandlerLibBase.inf > - > - ArmGicArchLib|ArmPkg/Library/ArmGicArchSecLib/ArmGicArchSecLib.inf > - > -[LibraryClasses.common.SEC, LibraryClasses.common.PEIM] > - MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf > - > -[LibraryClasses.ARM.SEC] > - ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf > - > -[LibraryClasses.AARCH64.SEC] > - ArmLib|ArmPkg/Library/ArmLib/AArch64/AArch64LibSec.inf > - > -[LibraryClasses.common.PEI_CORE] > - HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf > - PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf > - > MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemory > AllocationLib.inf > - > PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf > - > PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanc > eLib.inf > - > ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiRe > portStatusCodeLib.inf > - > OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull > /OemHookStatusCodeLibNull.inf > - > PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePe > CoffGetEntryPointLib.inf > - > UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDeco > mpressLib.inf > - > ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExt > ractGuidedSectionLib.inf > - > - > PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiS > ervicesTablePointerLib.inf > - > -[LibraryClasses.common.PEIM] > - HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf > - PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf > - > MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemory > AllocationLib.inf > - PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf > - > PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanc > eLib.inf > - > ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiRe > portStatusCodeLib.inf > - > OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull > /OemHookStatusCodeLibNull.inf > - > PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePe > CoffGetEntryPointLib.inf > - > PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiR > esourcePublicationLib.inf > - > UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDeco > mpressLib.inf > - > ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExt > ractGuidedSectionLib.inf > - > - > PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiS > ervicesTablePointerLib.inf > - PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf > - > -[LibraryClasses.common.DXE_CORE] > - HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf > - > MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib > /DxeCoreMemoryAllocationLib.inf > - > DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.i > nf > - > ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCo > deLibFramework/DxeReportStatusCodeLib.inf > - > ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeEx > tractGuidedSectionLib.inf > - > UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDeco > mpressLib.inf > - DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf > - > PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCoreP > erformanceLib.inf > - > -[LibraryClasses.common.DXE_DRIVER] > - > ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCo > deLibFramework/DxeReportStatusCodeLib.inf > - DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf > - > SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLi > b/DxeSecurityManagementLib.inf > - > PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerforman > ceLib.inf > - > MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemor > yAllocationLib.inf > - > -[LibraryClasses.common.UEFI_APPLICATION] > - > UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustom > DecompressLib/BaseUefiTianoCustomDecompressLib.inf > - > PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerforman > ceLib.inf > - > MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemor > yAllocationLib.inf > - HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf > - > -[LibraryClasses.common.UEFI_DRIVER] > - > ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCo > deLibFramework/DxeReportStatusCodeLib.inf > - > UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustom > DecompressLib/BaseUefiTianoCustomDecompressLib.inf > - > ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeEx > tractGuidedSectionLib.inf > - > PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerforman > ceLib.inf > - > MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemor > yAllocationLib.inf > - > -[LibraryClasses.common.DXE_RUNTIME_DRIVER] > - HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf > - > MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemor > yAllocationLib.inf > - > ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCo > deLibFramework/DxeReportStatusCodeLib.inf > - > CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf > - > -[LibraryClasses.ARM, LibraryClasses.AARCH64] > - # > - # It is not possible to prevent the ARM compiler for generic intrinsic > functions. > - # This library provides the instrinsic functions generate by a given > compiler. > - # [LibraryClasses.ARM] and NULL mean link this library into all ARM images. > - # > - NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf > - > - # Add support for GCC stack protector > - NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf > - > -[BuildOptions] > - XCODE:*_*_ARM_PLATFORM_FLAGS == -arch armv7 > - > - GCC:*_*_ARM_PLATFORM_FLAGS == -march=armv7-a > - > - RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A8 > - > - > ############################################################ > #################### > -# > -# Pcd Section - list of all EDK II PCD Entries defined by this Platform > -# > - > ############################################################ > #################### > - > -[PcdsFeatureFlag.common] > - gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE > - gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE > - gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE > - gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE > - > - # > - # Control what commands are supported from the UI > - # Turn these on and off to add features or save size > - # > - gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE > - gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE > - gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE > - gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE > - gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE > - gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE > - gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE > - > - gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE > - > - # Use the Vector Table location in CpuDxe. We will not copy the Vector > Table at PcdCpuVectorBaseAddress > - gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE > - > - > gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|T > RUE > - > - gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE > - > -[PcdsFixedAtBuild.common] > - gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Platform" > - > - gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmPlatform" > - gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000 > - gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000 > - gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000 > - gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000 > - gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF > - gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1 > - gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0 > - gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320 > - > - # DEBUG_ASSERT_ENABLED 0x01 > - # DEBUG_PRINT_ENABLED 0x02 > - # DEBUG_CODE_ENABLED 0x04 > - # CLEAR_MEMORY_ENABLED 0x08 > - # ASSERT_BREAKPOINT_ENABLED 0x10 > - # ASSERT_DEADLOOP_ENABLED 0x20 > -!if $(TARGET) == RELEASE > - gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21 > -!else > - gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f > -!endif > - > - # DEBUG_INIT 0x00000001 // Initialization > - # DEBUG_WARN 0x00000002 // Warnings > - # DEBUG_LOAD 0x00000004 // Load events > - # DEBUG_FS 0x00000008 // EFI File system > - # DEBUG_POOL 0x00000010 // Alloc & Free's > - # DEBUG_PAGE 0x00000020 // Alloc & Free's > - # DEBUG_INFO 0x00000040 // Verbose > - # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers > - # DEBUG_VARIABLE 0x00000100 // Variable > - # DEBUG_BM 0x00000400 // Boot Manager > - # DEBUG_BLKIO 0x00001000 // BlkIo Driver > - # DEBUG_NET 0x00004000 // SNI Driver > - # DEBUG_UNDI 0x00010000 // UNDI Driver > - # DEBUG_LOADFILE 0x00020000 // UNDI Driver > - # DEBUG_EVENT 0x00080000 // Event messages > - # DEBUG_ERROR 0x80000000 // Error > - gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F > - > - gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07 > - > - gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|"" > - gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07 > - gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000 > - > - # > - # Optional feature to help prevent EFI memory map fragments > - # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob > - # Values are in EFI Pages (4K). DXE Core will make sure that > - # at least this much of each type of memory can be allocated > - # from a single memory range. This way you only end up with > - # maximum of two fragements for each type in the memory map > - # (the memory used, and the free memory that was prereserved > - # but not used). > - # > - gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0 > - gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0 > - gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0 > - gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|50 > - gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|20 > - gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400 > - gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|20000 > - gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20 > - gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0 > - > - # We want to use the Shell Libraries but don't want it to initialise > - # automatically. We initialise the libraries when the command is called by > the > - # Shell. > - gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE > - > - # > - # ARM Pcds > - # > - > gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x000000000000000 > 0 > - > - # Stacks for MPCores in Secure World > - gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0 > - # Stacks for MPCores in Monitor Mode > - gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0 > - # Stacks for MPCores in Normal World > - gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0 > - > - gArmTokenSpaceGuid.PcdSystemMemoryBase|0 > - gArmTokenSpaceGuid.PcdSystemMemorySize|0 > - > - > ############################################################ > #################### > -# > -# Components Section - list of all EDK II Modules needed by this Platform > -# > - > ############################################################ > #################### > -[Components.common] > - > - # > - # SEC > - # > - ArmPlatformPkg/Sec/Sec.inf { > - <LibraryClasses> > - # Use the implementation which set the Secure bits > - ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicSecLib.inf > - } > - > - # > - # PEI Phase modules > - # > - ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf > - MdeModulePkg/Core/Pei/PeiMain.inf > - MdeModulePkg/Universal/PCD/Pei/Pcd.inf { > - <LibraryClasses> > - PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf > - } > - ArmPlatformPkg/PlatformPei/PlatformPeim.inf > - ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf > - ArmPkg/Drivers/CpuPei/CpuPei.inf > - IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf > - Nt32Pkg/BootModePei/BootModePei.inf > - MdeModulePkg/Universal/Variable/Pei/VariablePei.inf > - MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf { > - <LibraryClasses> > - > NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDeco > mpressLib.inf > - } > - > - # > - # DXE > - # > - MdeModulePkg/Core/Dxe/DxeMain.inf { > - <LibraryClasses> > - PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf > - > NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32G > uidedSectionExtractLib.inf > - } > - > - # > - # Architectural Protocols > - # > - ArmPkg/Drivers/CpuDxe/CpuDxe.inf > - MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf > - MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf > - MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf > - MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf > - > MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDx > e.inf > - > EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.i > nf > - > - EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf > - EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf > - EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf > - > - # Simple TextIn/TextOut for UEFI Terminal > - EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf > - > - # > - # Semi-hosting filesystem > - # > - ArmPkg/Filesystem/SemihostFs/SemihostFs.inf > - > - # > - # FAT filesystem + GPT/MBR partitioning > - # > - MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf > - MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf > - MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf > - > - # > - # Application > - # > - EmbeddedPkg/Ebl/Ebl.inf > - > - # > - # Bds > - # > - MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf > - ArmPlatformPkg/Bds/Bds.inf > - > - # Legacy Linux Loader > - ArmPkg/Application/LinuxLoader/LinuxLoader.inf > diff --git a/ArmPlatformPkg/ArmPlatformPkg.fdf > b/ArmPlatformPkg/ArmPlatformPkg.fdf > deleted file mode 100644 > index 0dd9849..0000000 > --- a/ArmPlatformPkg/ArmPlatformPkg.fdf > +++ /dev/null > @@ -1,320 +0,0 @@ > -# > -# Copyright (c) 2011-2015, ARM Limited. All rights reserved. > -# > -# This program and the accompanying materials > -# are licensed and made available under the terms and conditions of the BSD > License > -# which accompanies this distribution. The full text of the license may be > found at > -# http://opensource.org/licenses/bsd-license.php > -# > -# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" > BASIS, > -# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER > EXPRESS OR IMPLIED. > -# > - > - > ############################################################ > #################### > -# > -# FD Section > -# The [FD] Section is made up of the definition statements and a > -# description of what goes into the Flash Device Image. Each FD section > -# defines one flash "device" image. A flash device image may be one of > -# the following: Removable media bootable image (like a boot floppy > -# image,) an Option ROM image (that would be "flashed" into an add-in > -# card,) a System "Flash" image (that would be burned into a system's > -# flash) or an Update ("Capsule") image that will be used to update and > -# existing system flash. > -# > - > ############################################################ > #################### > - > -[FD.Sec_ArmPlatform_EFI] > -BaseAddress = > 0xEC000000|gArmTokenSpaceGuid.PcdSecureFdBaseAddress #The base > address of the Secure FLASH Device. > -Size = 0x00020000|gArmTokenSpaceGuid.PcdSecureFdSize #The > size in bytes of the Secure FLASH Device > -ErasePolarity = 1 > -BlockSize = 0x00002000 > -NumBlocks = 0x10 > - > - > ############################################################ > #################### > -# > -# Following are lists of FD Region layout which correspond to the locations > of > different > -# images within the flash device. > -# > -# Regions must be defined in ascending order and may not overlap. > -# > -# A Layout Region start with a eight digit hex offset (leading "0x" required) > followed by > -# the pipe "|" character, followed by the size of the region, also in hex > with > the leading > -# "0x" characters. Like: > -# Offset|Size > -# PcdOffsetCName|PcdSizeCName > -# RegionType <FV, DATA, or FILE> > -# > - > ############################################################ > #################### > - > -0x00000000|0x00020000 > - > gArmTokenSpaceGuid.PcdSecureFvBaseAddress|gArmTokenSpaceGuid.PcdS > ecureFvSize > -FV = FVMAIN_SEC > - > - > -[FD.ArmPlatform_EFI] > -BaseAddress = 0xEC200000|gArmTokenSpaceGuid.PcdFdBaseAddress # > The base address of the Firmware in NOR Flash. > -Size = 0x00200000|gArmTokenSpaceGuid.PcdFdSize # The size in > bytes of the FLASH Device > -ErasePolarity = 1 > - > -# This one is tricky, it must be: BlockSize * NumBlocks = Size > -BlockSize = 0x00001000 > -NumBlocks = 0x200 > - > - > ############################################################ > #################### > -# > -# Following are lists of FD Region layout which correspond to the locations > of > different > -# images within the flash device. > -# > -# Regions must be defined in ascending order and may not overlap. > -# > -# A Layout Region start with a eight digit hex offset (leading "0x" required) > followed by > -# the pipe "|" character, followed by the size of the region, also in hex > with > the leading > -# "0x" characters. Like: > -# Offset|Size > -# PcdOffsetCName|PcdSizeCName > -# RegionType <FV, DATA, or FILE> > -# > - > ############################################################ > #################### > - > -0x00000000|0x00200000 > -gArmTokenSpaceGuid.PcdFvBaseAddress|gArmTokenSpaceGuid.PcdFvSize > -FV = FVMAIN_COMPACT > - > - > - > ############################################################ > #################### > -# > -# FV Section > -# > -# [FV] section is used to define what components or modules are placed > within a flash > -# device file. This section also defines order the components and modules > are positioned > -# within the image. The [FV] section consists of define statements, set > statements and > -# module statements. > -# > - > ############################################################ > #################### > - > -[FV.FVMAIN_SEC] > -FvAlignment = 8 > -ERASE_POLARITY = 1 > -MEMORY_MAPPED = TRUE > -STICKY_WRITE = TRUE > -LOCK_CAP = TRUE > -LOCK_STATUS = TRUE > -WRITE_DISABLED_CAP = TRUE > -WRITE_ENABLED_CAP = TRUE > -WRITE_STATUS = TRUE > -WRITE_LOCK_CAP = TRUE > -WRITE_LOCK_STATUS = TRUE > -READ_DISABLED_CAP = TRUE > -READ_ENABLED_CAP = TRUE > -READ_STATUS = TRUE > -READ_LOCK_CAP = TRUE > -READ_LOCK_STATUS = TRUE > - > - INF ArmPlatformPkg/Sec/Sec.inf > - > - > -[FV.FvMain] > -BlockSize = 0x40 > -NumBlocks = 0 # This FV gets compressed so make it just big > enough > -FvAlignment = 8 # FV alignment and FV attributes setting. > -ERASE_POLARITY = 1 > -MEMORY_MAPPED = TRUE > -STICKY_WRITE = TRUE > -LOCK_CAP = TRUE > -LOCK_STATUS = TRUE > -WRITE_DISABLED_CAP = TRUE > -WRITE_ENABLED_CAP = TRUE > -WRITE_STATUS = TRUE > -WRITE_LOCK_CAP = TRUE > -WRITE_LOCK_STATUS = TRUE > -READ_DISABLED_CAP = TRUE > -READ_ENABLED_CAP = TRUE > -READ_STATUS = TRUE > -READ_LOCK_CAP = TRUE > -READ_LOCK_STATUS = TRUE > -FvNameGuid = 8fa66cd0-f773-4f26-8f9f-5e54d0804c68 > - > - INF MdeModulePkg/Core/Dxe/DxeMain.inf > - > - # > - # PI DXE Drivers producing Architectural Protocols (EFI Services) > - # > - INF ArmPkg/Drivers/CpuDxe/CpuDxe.inf > - INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf > - INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf > - INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf > - INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf > - INF > MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDx > e.inf > - INF > EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.i > nf > - INF EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf > - INF > EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf > - INF EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf > - > - # Simple TextIn/TextOut for UEFI Terminal > - INF EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf > - > - # > - # Semi-hosting filesystem (Required the Hardware Debugger to be > connected) > - # > - INF ArmPkg/Filesystem/SemihostFs/SemihostFs.inf > - > - # > - # FAT filesystem + GPT/MBR partitioning > - # > - INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf > - INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf > - INF FatBinPkg/EnhancedFatDxe/Fat.inf > - INF > MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf > - > - # > - # UEFI application (Shell Embedded Boot Loader) > - # > - INF EmbeddedPkg/Ebl/Ebl.inf > - > - # > - # Bds > - # > - INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf > - INF ArmPlatformPkg/Bds/Bds.inf > - > - # Legacy Linux Loader > - INF ArmPkg/Application/LinuxLoader/LinuxLoader.inf > - > -[FV.FVMAIN_COMPACT] > -FvAlignment = 8 > -ERASE_POLARITY = 1 > -MEMORY_MAPPED = TRUE > -STICKY_WRITE = TRUE > -LOCK_CAP = TRUE > -LOCK_STATUS = TRUE > -WRITE_DISABLED_CAP = TRUE > -WRITE_ENABLED_CAP = TRUE > -WRITE_STATUS = TRUE > -WRITE_LOCK_CAP = TRUE > -WRITE_LOCK_STATUS = TRUE > -READ_DISABLED_CAP = TRUE > -READ_ENABLED_CAP = TRUE > -READ_STATUS = TRUE > -READ_LOCK_CAP = TRUE > -READ_LOCK_STATUS = TRUE > - > - INF ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf > - INF MdeModulePkg/Core/Pei/PeiMain.inf > - INF ArmPlatformPkg/PlatformPei/PlatformPeim.inf > - INF ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf > - INF ArmPkg/Drivers/CpuPei/CpuPei.inf > - INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf > - INF IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf > - INF MdeModulePkg/Universal/Variable/Pei/VariablePei.inf > - INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf > - > - FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 { > - SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF > PROCESSING_REQUIRED = TRUE { > - SECTION FV_IMAGE = FVMAIN > - } > - } > - > - > - > ############################################################ > #################### > -# > -# Rules are use with the [FV] section's module INF type to define > -# how an FFS file is created for a given INF file. The following Rule are the > default > -# rules for the different module type. User can add the customized rules to > define the > -# content of the FFS file. > -# > - > ############################################################ > #################### > - > - > - > ############################################################ > ################ > -# Example of a DXE_DRIVER FFS file with a Checksum encapsulation section # > - > ############################################################ > ################ > -# > -#[Rule.Common.DXE_DRIVER] > -# FILE DRIVER = $(NAMED_GUID) { > -# DXE_DEPEX DXE_DEPEX Optional > $(INF_OUTPUT)/$(MODULE_NAME).depex > -# COMPRESS PI_STD { > -# GUIDED { > -# PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi > -# UI STRING="$(MODULE_NAME)" Optional > -# VERSION STRING="$(INF_VERSION)" Optional > BUILD_NUM=$(BUILD_NUMBER) > -# } > -# } > -# } > -# > - > ############################################################ > ################ > - > -[Rule.ARM.SEC] > - FILE SEC = $(NAMED_GUID) RELOCS_STRIPPED { > - TE TE Align = 32 $(INF_OUTPUT)/$(MODULE_NAME).efi > - } > - > -# The AArch64 Vector Table requires a 2K alignment that is not supported by > the FDF specification. > -# It is the reason 4K is used instead of 2K for the module alignment. > -[Rule.AARCH64.SEC] > - FILE SEC = $(NAMED_GUID) RELOCS_STRIPPED { > - TE TE Align = 4K $(INF_OUTPUT)/$(MODULE_NAME).efi > - } > - > -[Rule.Common.PEI_CORE] > - FILE PEI_CORE = $(NAMED_GUID) { > - TE TE $(INF_OUTPUT)/$(MODULE_NAME).efi > - UI STRING ="$(MODULE_NAME)" Optional > - } > - > -[Rule.Common.PEIM] > - FILE PEIM = $(NAMED_GUID) { > - PEI_DEPEX PEI_DEPEX Optional > $(INF_OUTPUT)/$(MODULE_NAME).depex > - TE TE $(INF_OUTPUT)/$(MODULE_NAME).efi > - UI STRING="$(MODULE_NAME)" Optional > - } > - > -[Rule.Common.PEIM.TIANOCOMPRESSED] > - FILE PEIM = $(NAMED_GUID) DEBUG_MYTOOLS_IA32 { > - PEI_DEPEX PEI_DEPEX Optional > $(INF_OUTPUT)/$(MODULE_NAME).depex > - GUIDED A31280AD-481E-41B6-95E8-127F4C984779 > PROCESSING_REQUIRED = TRUE { > - PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi > - UI STRING="$(MODULE_NAME)" Optional > - } > - } > - > -[Rule.Common.DXE_CORE] > - FILE DXE_CORE = $(NAMED_GUID) { > - PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi > - UI STRING="$(MODULE_NAME)" Optional > - } > - > -[Rule.Common.UEFI_DRIVER] > - FILE DRIVER = $(NAMED_GUID) { > - DXE_DEPEX DXE_DEPEX Optional > $(INF_OUTPUT)/$(MODULE_NAME).depex > - PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi > - UI STRING="$(MODULE_NAME)" Optional > - } > - > -[Rule.Common.UEFI_DRIVER.BINARY] > - FILE DRIVER = $(NAMED_GUID) { > - DXE_DEPEX DXE_DEPEX Optional |.depex > - PE32 PE32 |.efi > - UI STRING="$(MODULE_NAME)" Optional > - VERSION STRING="$(INF_VERSION)" Optional > BUILD_NUM=$(BUILD_NUMBER) > - } > - > -[Rule.Common.DXE_DRIVER] > - FILE DRIVER = $(NAMED_GUID) { > - DXE_DEPEX DXE_DEPEX Optional > $(INF_OUTPUT)/$(MODULE_NAME).depex > - PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi > - UI STRING="$(MODULE_NAME)" Optional > - } > - > -[Rule.Common.DXE_RUNTIME_DRIVER] > - FILE DRIVER = $(NAMED_GUID) { > - DXE_DEPEX DXE_DEPEX Optional > $(INF_OUTPUT)/$(MODULE_NAME).depex > - PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi > - UI STRING="$(MODULE_NAME)" Optional > - } > - > -[Rule.Common.UEFI_APPLICATION] > - FILE APPLICATION = $(NAMED_GUID) { > - UI STRING ="$(MODULE_NAME)" Optional > - PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi > - } > diff --git a/ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNull.c > b/ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNull.c > deleted file mode 100644 > index f80a276..0000000 > --- a/ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNull.c > +++ /dev/null > @@ -1,162 +0,0 @@ > -/** @file > -* > -* Copyright (c) 2011-2012, ARM Limited. All rights reserved. > -* > -* This program and the accompanying materials > -* are licensed and made available under the terms and conditions of the BSD > License > -* which accompanies this distribution. The full text of the license may be > found at > -* http://opensource.org/licenses/bsd-license.php > -* > -* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" > BASIS, > -* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER > EXPRESS OR IMPLIED. > -* > -**/ > - > -#include <Library/ArmLib.h> > -#include <Library/ArmPlatformLib.h> > - > -#include <Ppi/ArmMpCoreInfo.h> > - > - > -ARM_CORE_INFO mArmPlatformNullMpCoreInfoTable[] = { > - { > - // Cluster 0, Core 0 > - 0x0, 0x0, > - > - // MP Core MailBox Set/Get/Clear Addresses and Clear Value > - (EFI_PHYSICAL_ADDRESS)0, > - (EFI_PHYSICAL_ADDRESS)0, > - (EFI_PHYSICAL_ADDRESS)0, > - (UINT64)0xFFFFFFFF > - }, > - { > - // Cluster 0, Core 1 > - 0x0, 0x1, > - > - // MP Core MailBox Set/Get/Clear Addresses and Clear Value > - (EFI_PHYSICAL_ADDRESS)0, > - (EFI_PHYSICAL_ADDRESS)0, > - (EFI_PHYSICAL_ADDRESS)0, > - (UINT64)0xFFFFFFFF > - }, > - { > - // Cluster 0, Core 2 > - 0x0, 0x2, > - > - // MP Core MailBox Set/Get/Clear Addresses and Clear Value > - (EFI_PHYSICAL_ADDRESS)0, > - (EFI_PHYSICAL_ADDRESS)0, > - (EFI_PHYSICAL_ADDRESS)0, > - (UINT64)0xFFFFFFFF > - }, > - { > - // Cluster 0, Core 3 > - 0x0, 0x3, > - > - // MP Core MailBox Set/Get/Clear Addresses and Clear Value > - (EFI_PHYSICAL_ADDRESS)0, > - (EFI_PHYSICAL_ADDRESS)0, > - (EFI_PHYSICAL_ADDRESS)0, > - (UINT64)0xFFFFFFFF > - } > -}; > - > -// This function should be better located into TimerLib implementation > -RETURN_STATUS > -EFIAPI > -TimerConstructor ( > - VOID > - ) > -{ > - return EFI_SUCCESS; > -} > - > -/** > - Return the current Boot Mode > - > - This function returns the boot reason on the platform > - > -**/ > -EFI_BOOT_MODE > -ArmPlatformGetBootMode ( > - VOID > - ) > -{ > - return BOOT_WITH_FULL_CONFIGURATION; > -} > - > -/** > - Initialize controllers that must setup in the normal world > - > - This function is called by the ArmPlatformPkg/PrePi or > ArmPlatformPkg/PlatformPei > - in the PEI phase. > - > -**/ > -RETURN_STATUS > -ArmPlatformInitialize ( > - IN UINTN MpId > - ) > -{ > - if (!ArmPlatformIsPrimaryCore (MpId)) { > - return RETURN_SUCCESS; > - } > - > - //TODO: Implement me > - > - return RETURN_SUCCESS; > -} > - > -/** > - Initialize the system (or sometimes called permanent) memory > - > - This memory is generally represented by the DRAM. > - > -**/ > -VOID > -ArmPlatformInitializeSystemMemory ( > - VOID > - ) > -{ > - //TODO: Implement me > -} > - > -EFI_STATUS > -PrePeiCoreGetMpCoreInfo ( > - OUT UINTN *CoreCount, > - OUT ARM_CORE_INFO **ArmCoreTable > - ) > -{ > - if (ArmIsMpCore()) { > - *CoreCount = sizeof(mArmPlatformNullMpCoreInfoTable) / > sizeof(ARM_CORE_INFO); > - *ArmCoreTable = mArmPlatformNullMpCoreInfoTable; > - return EFI_SUCCESS; > - } else { > - return EFI_UNSUPPORTED; > - } > -} > - > -ARM_MP_CORE_INFO_PPI mMpCoreInfoPpi = { PrePeiCoreGetMpCoreInfo }; > - > -EFI_PEI_PPI_DESCRIPTOR gPlatformPpiTable[] = { > - { > - EFI_PEI_PPI_DESCRIPTOR_PPI, > - &gArmMpCoreInfoPpiGuid, > - &mMpCoreInfoPpi > - } > -}; > - > -VOID > -ArmPlatformGetPlatformPpiList ( > - OUT UINTN *PpiListSize, > - OUT EFI_PEI_PPI_DESCRIPTOR **PpiList > - ) > -{ > - if (ArmIsMpCore()) { > - *PpiListSize = sizeof(gPlatformPpiTable); > - *PpiList = gPlatformPpiTable; > - } else { > - *PpiListSize = 0; > - *PpiList = NULL; > - } > -} > - > diff --git > a/ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNull.inf > b/ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNull.inf > deleted file mode 100644 > index 97b2a4b..0000000 > --- a/ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNull.inf > +++ /dev/null > @@ -1,51 +0,0 @@ > -#/* @file > -# Copyright (c) 2011-2012, ARM Limited. All rights reserved. > -# > -# This program and the accompanying materials > -# are licensed and made available under the terms and conditions of the BSD > License > -# which accompanies this distribution. The full text of the license may be > found at > -# http://opensource.org/licenses/bsd-license.php > -# > -# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" > BASIS, > -# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER > EXPRESS OR IMPLIED. > -# > -#*/ > - > -[Defines] > - INF_VERSION = 0x00010005 > - BASE_NAME = ArmPlatformLibNull > - FILE_GUID = cb494bad-23ff-427e-8608-d7e138d3363b > - MODULE_TYPE = BASE > - VERSION_STRING = 1.0 > - LIBRARY_CLASS = ArmPlatformLib > - > -[Packages] > - MdePkg/MdePkg.dec > - MdeModulePkg/MdeModulePkg.dec > - ArmPkg/ArmPkg.dec > - ArmPlatformPkg/ArmPlatformPkg.dec > - > -[LibraryClasses] > - ArmLib > - DebugLib > - > -[Sources.common] > - ArmPlatformLibNull.c > - ArmPlatformLibNullMem.c > - > -[Sources.Arm] > - Arm/ArmPlatformHelper.S | GCC > - Arm/ArmPlatformHelper.asm | RVCT > - > -[Sources.AArch64] > - AArch64/ArmPlatformHelper.S > - > -[FixedPcd] > - gArmTokenSpaceGuid.PcdSystemMemoryBase > - gArmTokenSpaceGuid.PcdSystemMemorySize > - > - gArmTokenSpaceGuid.PcdArmPrimaryCoreMask > - gArmTokenSpaceGuid.PcdArmPrimaryCore > - > -[Ppis] > - gArmMpCoreInfoPpiGuid > diff --git > a/ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNullMem.c > b/ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNullMem.c > deleted file mode 100644 > index 45a64c6..0000000 > --- a/ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNullMem.c > +++ /dev/null > @@ -1,34 +0,0 @@ > -/** @file > -* > -* Copyright (c) 2011, ARM Limited. All rights reserved. > -* > -* This program and the accompanying materials > -* are licensed and made available under the terms and conditions of the BSD > License > -* which accompanies this distribution. The full text of the license may be > found at > -* http://opensource.org/licenses/bsd-license.php > -* > -* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" > BASIS, > -* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER > EXPRESS OR IMPLIED. > -* > -**/ > - > -#include <Library/ArmPlatformLib.h> > -#include <Library/DebugLib.h> > - > -/** > - Return the Virtual Memory Map of your platform > - > - This Virtual Memory Map is used by MemoryInitPei Module to initialize the > MMU on your platform. > - > - @param[out] VirtualMemoryMap Array of > ARM_MEMORY_REGION_DESCRIPTOR describing a Physical-to- > - Virtual Memory mapping. This array must > be ended by a > zero-filled > - entry > - > -**/ > -VOID > -ArmPlatformGetVirtualMemoryMap ( > - IN ARM_MEMORY_REGION_DESCRIPTOR** VirtualMemoryMap > - ) > -{ > - ASSERT(0); > -} > diff --git > a/ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNullSec.inf > b/ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNullSec.inf > deleted file mode 100644 > index 3cd5fd8..0000000 > --- a/ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNullSec.inf > +++ /dev/null > @@ -1,47 +0,0 @@ > -#/* @file > -# Copyright (c) 2011-2012, ARM Limited. All rights reserved. > -# > -# This program and the accompanying materials > -# are licensed and made available under the terms and conditions of the BSD > License > -# which accompanies this distribution. The full text of the license may be > found at > -# http://opensource.org/licenses/bsd-license.php > -# > -# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" > BASIS, > -# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER > EXPRESS OR IMPLIED. > -# > -#*/ > - > -[Defines] > - INF_VERSION = 0x00010005 > - BASE_NAME = ArmPlatformLibNull > - FILE_GUID = cb494bad-23ff-427e-8608-d7e138d3363b > - MODULE_TYPE = BASE > - VERSION_STRING = 1.0 > - LIBRARY_CLASS = ArmPlatformLib > - > -[Packages] > - MdePkg/MdePkg.dec > - MdeModulePkg/MdeModulePkg.dec > - ArmPkg/ArmPkg.dec > - ArmPlatformPkg/ArmPlatformPkg.dec > - > -[LibraryClasses] > - ArmLib > - DebugLib > - > -[Sources.common] > - ArmPlatformLibNull.c > - > -[Sources.Arm] > - Arm/ArmPlatformHelper.S | GCC > - Arm/ArmPlatformHelper.asm | RVCT > - > -[Sources.AArch64] > - AArch64/ArmPlatformHelper.S > - > -[FixedPcd] > - gArmTokenSpaceGuid.PcdSystemMemoryBase > - gArmTokenSpaceGuid.PcdSystemMemorySize > - > - gArmTokenSpaceGuid.PcdArmPrimaryCoreMask > - gArmTokenSpaceGuid.PcdArmPrimaryCore > -- > 2.1.4 > > _______________________________________________ > edk2-devel mailing list > [email protected] > https://lists.01.org/mailman/listinfo/edk2-devel _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

