summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Universal/MonotonicCounter/RuntimeDxe/MonotonicCounter.c
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2007-04-05 09:00:46 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2007-04-05 09:00:46 +0000
commit8d8daecb5435d879c1b1244d51876f37359759a3 (patch)
tree3d6029d477ad22be730704962fc14764b2ed97f1 /EdkModulePkg/Universal/MonotonicCounter/RuntimeDxe/MonotonicCounter.c
parent09caf4071e9224b5a778a7d31c7875af4a0736ba (diff)
downloadedk2-platforms-8d8daecb5435d879c1b1244d51876f37359759a3.tar.xz
Clean up the following module msa files, they are edkmodule package ftwlit, Crc32SectionExtract, NullMemoryTest, PeiMemoryTest, MonotonicCounter modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2542 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg/Universal/MonotonicCounter/RuntimeDxe/MonotonicCounter.c')
-rw-r--r--EdkModulePkg/Universal/MonotonicCounter/RuntimeDxe/MonotonicCounter.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/EdkModulePkg/Universal/MonotonicCounter/RuntimeDxe/MonotonicCounter.c b/EdkModulePkg/Universal/MonotonicCounter/RuntimeDxe/MonotonicCounter.c
index 478729ea82..da76b55e45 100644
--- a/EdkModulePkg/Universal/MonotonicCounter/RuntimeDxe/MonotonicCounter.c
+++ b/EdkModulePkg/Universal/MonotonicCounter/RuntimeDxe/MonotonicCounter.c
@@ -1,6 +1,6 @@
/*++
-Copyright (c) 2006, Intel Corporation
+Copyright (c) 2006 - 2007, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -256,13 +256,13 @@ Returns:
// Read the last high part
//
BufferSize = sizeof (UINT32);
- Status = gRT->GetVariable (
- mEfiMtcName,
- &mEfiMtcGuid,
- NULL,
- &BufferSize,
- &HighCount
- );
+ Status = EfiGetVariable (
+ mEfiMtcName,
+ &mEfiMtcGuid,
+ NULL,
+ &BufferSize,
+ &HighCount
+ );
if (EFI_ERROR (Status)) {
HighCount = 0;
}