]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Universal/MonotonicCounter/RuntimeDxe/MonotonicCounter.c
Clean up the following module msa files, they are edkmodule package ftwlit, Crc32Sect...
[mirror_edk2.git] / EdkModulePkg / Universal / MonotonicCounter / RuntimeDxe / MonotonicCounter.c
index 478729ea82abca8c009e66d6c2ffbecbf71a3e00..da76b55e459807b0b84e2b5189d7d327f2dd57cb 100644 (file)
@@ -1,6 +1,6 @@
 /*++\r
 \r
-Copyright (c) 2006, Intel Corporation                                                         \r
+Copyright (c) 2006 - 2007, Intel Corporation                                                         \r
 All rights reserved. This program and the accompanying materials                          \r
 are licensed and made available under the terms and conditions of the BSD License         \r
 which accompanies this distribution.  The full text of the license may be found at        \r
@@ -256,13 +256,13 @@ Returns:
   // Read the last high part\r
   //\r
   BufferSize = sizeof (UINT32);\r
-  Status = gRT->GetVariable (\r
-                  mEfiMtcName,\r
-                  &mEfiMtcGuid,\r
-                  NULL,\r
-                  &BufferSize,\r
-                  &HighCount\r
-                  );\r
+  Status = EfiGetVariable (\r
+             mEfiMtcName,\r
+             &mEfiMtcGuid,\r
+             NULL,\r
+             &BufferSize,\r
+             &HighCount\r
+             );\r
   if (EFI_ERROR (Status)) {\r
     HighCount = 0;\r
   }\r