From 03195ad324c19bbd1bbc221c6642df4de7a41514 Mon Sep 17 00:00:00 2001 From: "Yao, Jiewen" Date: Tue, 27 Oct 2015 04:15:39 +0000 Subject: [PATCH] Fix issue that calling GetS3MemoryInfo() with wrong order. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Yao, Jiewen" Reviewed-by: "Ma, Maurice" Reviewed-by: "Rangarajan, Ravi P" git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18679 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Library/PeiFspHobProcessLibSample/FspHobProcessLibSample.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IntelFspWrapperPkg/Library/PeiFspHobProcessLibSample/FspHobProcessLibSample.c b/IntelFspWrapperPkg/Library/PeiFspHobProcessLibSample/FspHobProcessLibSample.c index 82af87fea7..099980e525 100644 --- a/IntelFspWrapperPkg/Library/PeiFspHobProcessLibSample/FspHobProcessLibSample.c +++ b/IntelFspWrapperPkg/Library/PeiFspHobProcessLibSample/FspHobProcessLibSample.c @@ -246,7 +246,7 @@ FspHobProcessForMemoryResource ( S3PeiMemBase = 0; S3PeiMemSize = 0; - Status = GetS3MemoryInfo (&S3PeiMemBase, &S3PeiMemSize); + Status = GetS3MemoryInfo (&S3PeiMemSize, &S3PeiMemBase); ASSERT_EFI_ERROR (Status); DEBUG((DEBUG_INFO, "S3 memory %Xh - %Xh bytes\n", S3PeiMemBase, S3PeiMemSize));