summaryrefslogtreecommitdiffstats
path: root/IntelFspWrapperPkg
diff options
context:
space:
mode:
authorYao, Jiewen <jiewen.yao@intel.com>2015-10-27 04:15:39 +0000
committerjyao1 <jyao1@Edk2>2015-10-27 04:15:39 +0000
commit03195ad324c19bbd1bbc221c6642df4de7a41514 (patch)
treed57e83825405f986c56f12fab729805663ad71c6 /IntelFspWrapperPkg
parente620b72924b189c2741d700a6885fec71ea36e74 (diff)
downloadedk2-03195ad324c19bbd1bbc221c6642df4de7a41514.tar.gz
edk2-03195ad324c19bbd1bbc221c6642df4de7a41514.tar.bz2
edk2-03195ad324c19bbd1bbc221c6642df4de7a41514.zip
Fix issue that calling GetS3MemoryInfo() with wrong order.
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
Diffstat (limited to 'IntelFspWrapperPkg')
-rw-r--r--IntelFspWrapperPkg/Library/PeiFspHobProcessLibSample/FspHobProcessLibSample.c2
1 files changed, 1 insertions, 1 deletions
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));