]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UnixPkg/UnixPkg.fdf
Add in commented out hooks for Shell and FatPkg.
[mirror_edk2.git] / UnixPkg / UnixPkg.fdf
index 1de2dc52fcca9641a31c7c3a0f0a574cedeeb4ce..a967ba334b60b0d8b36a8cadf881d5e5905b54e0 100644 (file)
 #\r
 ################################################################################\r
 [FD.Fv_Recovery]\r
-BaseAddress   = 0x0|gEfiUnixPkgTokenSpaceGuid.PcdUnixFdBaseAddress  #The base address of the FLASH Device.\r
-Size          = 0x002a0000                                           #The size in bytes of the FLASH Device\r
+#\r
+# In OS X PEIMs are really XIP, so we need to make this address match the malloced \r
+# buffer for the FD (0x41000000). If this address does not match the FV will get\r
+# relocated in place (works, but not a great idea).\r
+#\r
+BaseAddress   = 0x41000000|gEfiUnixPkgTokenSpaceGuid.PcdUnixFdBaseAddress   #The base address of the FLASH Device.\r
+Size          = 0x002a0000|gEfiUnixPkgTokenSpaceGuid.PcdUnixFirmwareFdSize  #The size in bytes of the FLASH Device\r
 ErasePolarity = 1\r
 BlockSize     = 0x10000\r
 NumBlocks     = 0x2a\r
@@ -238,6 +243,8 @@ INF  MdeModulePkg/Application/HelloWorld/HelloWorld.inf
 #INF  MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf\r
 #INF  UnixPkg/SnpUnixDxe/SnpUnixDxe.inf\r
 \r
+#INF FatPkg/EnhancedFatDxe/Fat.inf\r
+\r
 \r
    \r
 ################################################################################\r
@@ -252,6 +259,7 @@ FILE APPLICATION = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile) {
     SECTION COMPRESS PI_STD {\r
       SECTION GUIDED {\r
         SECTION PE32 = EdkShellBinPkg/FullShell/Ia32/Shell_Full.efi\r
+#        SECTION PE32 =Build/GccShellPkg/DEBUG_XCODE32/IA32/ShellFull.efi\r
       }\r
     }\r
   }\r