diff options
author | Yao, Jiewen <jiewen.yao@intel.com> | 2015-11-16 08:09:06 +0000 |
---|---|---|
committer | vanjeff <vanjeff@Edk2> | 2015-11-16 08:09:06 +0000 |
commit | 772941091a71af0e6b0bfbdd27b3bd958b82aa62 (patch) | |
tree | 977b91c7ab803a7224aa72924dbadebce4bca6e1 /IntelFspWrapperPkg | |
parent | e78223628741b988c3a26baade6b684ac27492a7 (diff) | |
download | edk2-platforms-772941091a71af0e6b0bfbdd27b3bd958b82aa62.tar.xz |
Fix issue that calling GetS3MemoryInfo() with wrong order.
(Sync patch r18679 from main trunk.)
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/branches/UDK2015@18810 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFspWrapperPkg')
-rw-r--r-- | IntelFspWrapperPkg/Library/PeiFspHobProcessLibSample/FspHobProcessLibSample.c | 2 |
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));
|