#\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
#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
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