X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EdkModulePkg%2FUniversal%2FMonotonicCounter%2FRuntimeDxe%2FMonotonicCounter.c;fp=EdkModulePkg%2FUniversal%2FMonotonicCounter%2FRuntimeDxe%2FMonotonicCounter.c;h=da76b55e459807b0b84e2b5189d7d327f2dd57cb;hp=478729ea82abca8c009e66d6c2ffbecbf71a3e00;hb=8d8daecb5435d879c1b1244d51876f37359759a3;hpb=09caf4071e9224b5a778a7d31c7875af4a0736ba 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; }