X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;ds=sidebyside;f=UnixPkg%2FUnixPkg.fdf;h=7fe962d1e24c67705f09fdf70beb937dd8ede501;hb=7ee3b61338de1fa592227c719eca20f7813ea606;hp=1de2dc52fcca9641a31c7c3a0f0a574cedeeb4ce;hpb=2ef2b01e07c02db339f34004445734a2dbdd80e1;p=mirror_edk2.git diff --git a/UnixPkg/UnixPkg.fdf b/UnixPkg/UnixPkg.fdf index 1de2dc52fc..7fe962d1e2 100644 --- a/UnixPkg/UnixPkg.fdf +++ b/UnixPkg/UnixPkg.fdf @@ -25,8 +25,13 @@ # ################################################################################ [FD.Fv_Recovery] -BaseAddress = 0x0|gEfiUnixPkgTokenSpaceGuid.PcdUnixFdBaseAddress #The base address of the FLASH Device. -Size = 0x002a0000 #The size in bytes of the FLASH Device +# +# In OS X PEIMs are really XIP, so we need to make this address match the malloced +# buffer for the FD (0x41000000). If this address does not match the FV will get +# relocated in place (works, but not a great idea). +# +BaseAddress = 0x41000000|gEfiUnixPkgTokenSpaceGuid.PcdUnixFdBaseAddress #The base address of the FLASH Device. +Size = 0x002a0000|gEfiUnixPkgTokenSpaceGuid.PcdUnixFirmwareFdSize #The size in bytes of the FLASH Device ErasePolarity = 1 BlockSize = 0x10000 NumBlocks = 0x2a