Fix issue that calling GetS3MemoryInfo() with wrong order.
authorYao, Jiewen <jiewen.yao@intel.com>
Tue, 27 Oct 2015 04:15:39 +0000 (04:15 +0000)
committerjyao1 <jyao1@Edk2>
Tue, 27 Oct 2015 04:15:39 +0000 (04:15 +0000)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <jiewen.yao@intel.com>
Reviewed-by: "Ma, Maurice" <maurice.ma@intel.com>
Reviewed-by: "Rangarajan, Ravi P" <ravi.p.rangarajan@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18679 6f19259b-4bc3-4df7-8a09-765794883524

IntelFspWrapperPkg/Library/PeiFspHobProcessLibSample/FspHobProcessLibSample.c

index 82af87f..099980e 100644 (file)
@@ -246,7 +246,7 @@ FspHobProcessForMemoryResource (
 \r
     S3PeiMemBase = 0;\r
     S3PeiMemSize = 0;\r
-    Status = GetS3MemoryInfo (&S3PeiMemBase, &S3PeiMemSize);\r
+    Status = GetS3MemoryInfo (&S3PeiMemSize, &S3PeiMemBase);\r
     ASSERT_EFI_ERROR (Status);\r
     DEBUG((DEBUG_INFO, "S3 memory %Xh - %Xh bytes\n", S3PeiMemBase, S3PeiMemSize));\r
 \r