From 8d8daecb5435d879c1b1244d51876f37359759a3 Mon Sep 17 00:00:00 2001 From: lgao4 Date: Thu, 5 Apr 2007 09:00:46 +0000 Subject: 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 --- .../MonotonicCounter/RuntimeDxe/MonotonicCounter.c | 16 ++++++++-------- .../MonotonicCounter/RuntimeDxe/MonotonicCounter.msa | 20 ++++---------------- 2 files changed, 12 insertions(+), 24 deletions(-) (limited to 'EdkModulePkg/Universal/MonotonicCounter/RuntimeDxe') 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; } diff --git a/EdkModulePkg/Universal/MonotonicCounter/RuntimeDxe/MonotonicCounter.msa b/EdkModulePkg/Universal/MonotonicCounter/RuntimeDxe/MonotonicCounter.msa index 375a9feb2d..291f2ea680 100644 --- a/EdkModulePkg/Universal/MonotonicCounter/RuntimeDxe/MonotonicCounter.msa +++ b/EdkModulePkg/Universal/MonotonicCounter/RuntimeDxe/MonotonicCounter.msa @@ -6,8 +6,8 @@ AD608272-D07F-4964-801E-7BD3B7888652 1.0 Component description file for MonotonicCounter module. - This module Produced the Monotonic Counter Services as defined in the DXE CIS. - Copyright (c) 2006, Intel Corporation + This module produces UEFI Monotonic Counter Boot and Runtime Services. + 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 @@ -25,20 +25,15 @@ BaseLib - - UefiLib - UefiDriverEntryPoint UefiRuntimeLib - + DebugLib - - - MemoryAllocationLib + Recommended libary Instance is PeiDxeDebugLibReportStatusCode instance in MdePkg. UefiBootServicesTableLib @@ -54,19 +49,12 @@ - gEfiMonotonicCounterArchProtocolGuid - - - 0x004D 0x0054 0x0043 - gMTCGuid - - EFI_SPECIFICATION_VERSION 0x00020000 EDK_RELEASE_VERSION 0x00020000 -- cgit v1.2.3