From 42eedea958591087603bbacd1c2227d2494026af Mon Sep 17 00:00:00 2001 From: yshang1 Date: Fri, 25 Jul 2008 12:21:57 +0000 Subject: Code Scrub for MdePkg. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5567 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/UefiRuntimeLib/RuntimeLib.c | 11 +++++++---- MdePkg/Library/UefiRuntimeLib/RuntimeService.c | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) (limited to 'MdePkg/Library/UefiRuntimeLib') diff --git a/MdePkg/Library/UefiRuntimeLib/RuntimeLib.c b/MdePkg/Library/UefiRuntimeLib/RuntimeLib.c index ec7eacc769..4565955690 100644 --- a/MdePkg/Library/UefiRuntimeLib/RuntimeLib.c +++ b/MdePkg/Library/UefiRuntimeLib/RuntimeLib.c @@ -1,4 +1,4 @@ -/**@file +/** @file Library utility functions for Runtime driver. Copyright (c) 2006 Intel Corporation.
@@ -25,7 +25,7 @@ STATIC BOOLEAN mEfiAtRuntime = FALSE; EFI_RUNTIME_SERVICES *mRT; /** - Set AtRuntime flag as TRUE after ExitBootServices + Set AtRuntime flag as TRUE after ExitBootServices. @param[in] Event The Event that is being processed @param[in] Context Event Context @@ -120,6 +120,9 @@ RuntimeDriverLibConstruct ( EfiInitializeRuntimeDriverLib(). If a runtime driver exits with an error, it must call this routine to free the allocated resource before the exiting. + @param[in] ImageHandle The firmware allocated handle for the EFI image. + @param[in] SystemTable A pointer to the EFI System Table. + @retval EFI_SUCCESS Shutdown the Runtime Driver Lib successfully @retval EFI_UNSUPPORTED Runtime Driver lib was not initialized at all **/ @@ -146,7 +149,7 @@ RuntimeDriverLibDeconstruct ( } /** - Return TRUE if ExitBootServices () has been called + Return TRUE if ExitBootServices () has been called. @retval TRUE If ExitBootServices () has been called **/ @@ -160,7 +163,7 @@ EfiAtRuntime ( } /** - Return TRUE if SetVirtualAddressMap () has been called + Return TRUE if SetVirtualAddressMap () has been called. @retval TRUE If SetVirtualAddressMap () has been called **/ diff --git a/MdePkg/Library/UefiRuntimeLib/RuntimeService.c b/MdePkg/Library/UefiRuntimeLib/RuntimeService.c index a14b99e7b2..941426e0a4 100644 --- a/MdePkg/Library/UefiRuntimeLib/RuntimeService.c +++ b/MdePkg/Library/UefiRuntimeLib/RuntimeService.c @@ -411,7 +411,7 @@ EfiUpdateCapsule ( stored in contiguous virtual memory. @param CapsuleCount Number of pointers to EFI_CAPSULE_HEADER in CaspuleHeaderArray. - @param MaxiumCapsuleSize On output the maximum size that UpdateCapsule() can + @param MaximumCapsuleSize On output the maximum size that UpdateCapsule() can support as an argument to UpdateCapsule() via CapsuleHeaderArray and ScatterGatherList. Undefined on input. -- cgit v1.2.3