]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmVirtPkg/Library/ArmXenRelocatablePlatformLib/AARCH64/RelocatableVirtHelper.S
ArmVirtPkg/RelocatableVirtHelper: use correct FindMemNode argument order
[mirror_edk2.git] / ArmVirtPkg / Library / ArmXenRelocatablePlatformLib / AARCH64 / RelocatableVirtHelper.S
index ae77492bf363253514703632abaf6a2cb7d7a286..940bcb2d257ade70409312e92a4e06fb30fa4df9 100644 (file)
@@ -81,8 +81,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