X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ArmPkg%2FLibrary%2FBdsLib%2FAArch64%2FBdsLinuxLoader.c;h=19177c8e4e3b62d16a508b6d805156f50e2b2f72;hb=c357fd6a1f79e2d7b0a1bd01994b8d33925bfff5;hp=887058bafe60b0be73589617e3f68798904bd2b0;hpb=18b24f924f06f2345c0410d145d14e1a9a500dc8;p=mirror_edk2.git diff --git a/ArmPkg/Library/BdsLib/AArch64/BdsLinuxLoader.c b/ArmPkg/Library/BdsLib/AArch64/BdsLinuxLoader.c index 887058bafe..19177c8e4e 100644 --- a/ArmPkg/Library/BdsLib/AArch64/BdsLinuxLoader.c +++ b/ArmPkg/Library/BdsLib/AArch64/BdsLinuxLoader.c @@ -223,7 +223,7 @@ BdsBootLinuxFdt ( // Try to put the kernel at the start of RAM so as to give it access to all memory. // If that fails fall back to try loading it within LINUX_KERNEL_MAX_OFFSET of memory start. - LinuxImage = PcdGet32(PcdSystemMemoryBase) + 0x80000; + LinuxImage = PcdGet64 (PcdSystemMemoryBase) + 0x80000; Status = BdsLoadImage (LinuxKernelDevicePath, AllocateAddress, &LinuxImage, &LinuxImageSize); if (EFI_ERROR(Status)) { // Try again but give the loader more freedom of where to put the image.