]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPlatformPkg/ArmPlatformPkg-2ndstage.fdf
Add VS2013 tool chain in BaseTools\Conf\tools_def.template. Also, two issues came...
[mirror_edk2.git] / ArmPlatformPkg / ArmPlatformPkg-2ndstage.fdf
index a88818ecbdf7b94a31e1d177e3d94fb3f364d9be..de6ad0bed3f30b8c6ae6b855650a4154534f6e61 100644 (file)
@@ -1,13 +1,13 @@
 #\r
-#  Copyright (c) 2011, ARM Limited. All rights reserved.\r
-#  \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
+#  Copyright (c) 2011-2014, ARM Limited. All rights reserved.\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
+#  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
+#  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
@@ -114,7 +114,7 @@ READ_LOCK_STATUS   = TRUE
   #\r
   INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
   INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
-  INF FatPkg/EnhancedFatDxe/Fat.inf\r
+  INF FatBinPkg/EnhancedFatDxe/Fat.inf\r
   INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
   \r
   #\r
@@ -184,11 +184,18 @@ READ_LOCK_STATUS   = TRUE
 #\r
 ############################################################################\r
 \r
-[Rule.Common.SEC]\r
+[Rule.ARM.SEC]\r
   FILE SEC = $(NAMED_GUID) RELOCS_STRIPPED {\r
     TE  TE    Align = 32                $(INF_OUTPUT)/$(MODULE_NAME).efi\r
   }\r
 \r
+# The AArch64 Vector Table requires a 2K alignment that is not supported by the FDF specification.\r
+# It is the reason 4K is used instead of 2K for the module alignment.\r
+[Rule.AARCH64.SEC]\r
+  FILE SEC = $(NAMED_GUID) RELOCS_STRIPPED {\r
+    TE  TE    Align = 4K                $(INF_OUTPUT)/$(MODULE_NAME).efi\r
+  }\r
+\r
 [Rule.Common.PEI_CORE]\r
   FILE PEI_CORE = $(NAMED_GUID) {\r
     TE     TE                           $(INF_OUTPUT)/$(MODULE_NAME).efi\r
@@ -224,6 +231,14 @@ READ_LOCK_STATUS   = TRUE
     UI           STRING="$(MODULE_NAME)" Optional\r
   }\r
 \r
+[Rule.Common.UEFI_DRIVER.BINARY]\r
+  FILE DRIVER = $(NAMED_GUID) {\r
+    DXE_DEPEX DXE_DEPEX Optional      |.depex\r
+    PE32      PE32                    |.efi\r
+    UI        STRING="$(MODULE_NAME)" Optional\r
+    VERSION   STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
+  }\r
+\r
 [Rule.Common.DXE_DRIVER]\r
   FILE DRIVER = $(NAMED_GUID) {\r
     DXE_DEPEX    DXE_DEPEX              Optional $(INF_OUTPUT)/$(MODULE_NAME).depex\r