]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
MdeModulePkg: Clean up source files
[mirror_edk2.git] / MdeModulePkg / Universal / CapsuleRuntimeDxe / CapsuleRuntimeDxe.inf
index 3e0d992cc19febbbb5bcc9e7325bf49c178a8491..3849bc84a853074c8da03e2d9f96a9ca8961afb5 100644 (file)
@@ -1,24 +1,24 @@
-#/** @file\r
-#  \r
-#  Capsule Runtime Driver produces two UEFI capsule runtime services.\r
-#  (UpdateCapsule, QueryCapsuleCapabilities)\r
-#  It installs the Capsule Architectural Protocol (EDKII extension definition) to signify \r
+## @file\r
+#  Capsule Runtime Driver produces two UEFI capsule runtime services: (UpdateCapsule, QueryCapsuleCapabilities).\r
+#\r
+#  It installs the Capsule Architectural Protocol defined in PI1.0a to signify\r
 #  the capsule runtime services are ready.\r
-#  \r
-#  Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
-#  All rights reserved. This program and the accompanying materials\r
+#\r
+#  Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+#  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
 #  which accompanies this distribution.  The full text of the license may be found at\r
 #  http://opensource.org/licenses/bsd-license.php\r
-#  \r
+#\r
 #  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
 #  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#  \r
-#**/\r
+#\r
+##\r
 \r
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
   BASE_NAME                      = CapsuleRuntimeDxe\r
+  MODULE_UNI_FILE                = CapsuleRuntimeDxe.uni\r
   FILE_GUID                      = 42857F0A-13F2-4B21-8A23-53D3F714B840\r
   MODULE_TYPE                    = DXE_RUNTIME_DRIVER\r
   VERSION_STRING                 = 1.0\r
 #\r
 # The following information is for reference only and not required by the build tools.\r
 #\r
-#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC\r
+#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC ARM AARCH64\r
 #\r
 \r
-[Sources.common]\r
+[Sources]\r
   CapsuleService.c\r
+  CapsuleService.h\r
+\r
+[Sources.Ia32, Sources.IPF, Sources.EBC]\r
+  SaveLongModeContext.c\r
+  CapsuleReset.c\r
+\r
+[Sources.X64]\r
+  X64/SaveLongModeContext.c\r
+  CapsuleReset.c\r
+\r
+[Sources.ARM, Sources.AARCH64]\r
+  SaveLongModeContext.c\r
+  Arm/CapsuleReset.c\r
 \r
 [Packages]\r
   MdePkg/MdePkg.dec\r
   UefiDriverEntryPoint\r
   CapsuleLib\r
   UefiRuntimeLib\r
+  BaseLib\r
+  PrintLib\r
+  BaseMemoryLib\r
+\r
+[LibraryClasses.X64]\r
+  UefiLib\r
+  BaseMemoryLib\r
+\r
+[LibraryClasses.ARM, LibraryClasses.AARCH64]\r
+  CacheMaintenanceLib\r
 \r
 [Guids]\r
-  gEfiCapsuleVendorGuid                         ## SOMETIMES_PRODUCED (Process across reset capsule image) ## Variable:L"CapsuleUpdateData" for capsule updated data\r
+  ## SOMETIMES_PRODUCES   ## Variable:L"CapsuleUpdateData" # (Process across reset capsule image) for capsule updated data\r
+  ## SOMETIMES_PRODUCES   ## Variable:L"CapsuleLongModeBuffer" # The long mode buffer used by IA32 Capsule PEIM to call X64 CapsuleCoalesce code to handle >4GB capsule blocks\r
+  gEfiCapsuleVendorGuid\r
+  gEfiFmpCapsuleGuid                            ## SOMETIMES_CONSUMES   ## GUID # FMP capsule GUID\r
 \r
 [Protocols]\r
-  gEfiCapsuleArchProtocolGuid                   ## PRODUCED\r
+  gEfiCapsuleArchProtocolGuid                   ## PRODUCES\r
+\r
+[Protocols.X64]\r
+  ## UNDEFINED ## NOTIFY\r
+  ## SOMETIMES_CONSUMES\r
+  gEdkiiVariableLockProtocolGuid\r
 \r
 [FeaturePcd]\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset   ## CONSUMES\r
+\r
+[FeaturePcd.X64]\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode      ## CONSUMES\r
 \r
-[FixedPcd]\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule\r
+[Pcd]\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule   ## SOMETIMES_CONSUMES\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule      ## SOMETIMES_CONSUMES # Populate Image requires reset support.\r
+\r
+[Pcd.X64]\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdCapsulePeiLongModeStackSize   ## SOMETIMES_CONSUMES\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable                ## SOMETIMES_CONSUMES\r
 \r
 [Depex]\r
-  gEfiVariableWriteArchProtocolGuid             ## Depends on variable write functionality to produce capsule data variable\r
+  gEfiVariableWriteArchProtocolGuid             # Depends on variable write functionality to produce capsule data variable\r
+\r
+# [Hob.X64]\r
+# UNDEFINED                 ## SOMETIMES_CONSUMES # CPU\r
+\r
+[UserExtensions.TianoCore."ExtraFiles"]\r
+  CapsuleRuntimeDxeExtra.uni\r