]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmVirtPkg/Library/ArmQemuRelocatablePlatformLib/AARCH64/RelocatableVirtHelper.S
ArmVirtPkg/RelocatableVirtHelper: use correct FindMemNode argument order
[mirror_edk2.git] / ArmVirtPkg / Library / ArmQemuRelocatablePlatformLib / AARCH64 / RelocatableVirtHelper.S
index 0980a387207fec123899818ffb41d99b8602e36d..27ad07a1a1976bfb7fb98e0e617037bb0e9a084d 100644 (file)
@@ -82,8 +82,8 @@ ASM_PFX(ArmPlatformPeiBootAction):
   // encountered. Since we are calling a C function, use the window at the\r
   // beginning of the FD image as a temp stack.\r
   //\r
-  adr   x1, PcdGet64 (PcdSystemMemorySize)\r
-  adr   x2, PcdGet64 (PcdSystemMemoryBase)\r
+  adr   x1, PcdGet64 (PcdSystemMemoryBase)\r
+  adr   x2, PcdGet64 (PcdSystemMemorySize)\r
   mov   sp, x7\r
   bl    FindMemnode\r
   cbz   x0, .Lout\r