From ed7752ec44001d317f79c8631dccd9650c396617 Mon Sep 17 00:00:00 2001 From: klu2 Date: Thu, 10 Apr 2008 07:13:54 +0000 Subject: Add some function/header comments. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5037 6f19259b-4bc3-4df7-8a09-765794883524 --- .../ReportStatusCodeLib.c | 2 +- .../SmmRuntimeDxeSupport.c | 14 ++++++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) (limited to 'IntelFrameworkModulePkg/Library/SmmRuntimeDxeReportStatusCodeLibFramework') diff --git a/IntelFrameworkModulePkg/Library/SmmRuntimeDxeReportStatusCodeLibFramework/ReportStatusCodeLib.c b/IntelFrameworkModulePkg/Library/SmmRuntimeDxeReportStatusCodeLibFramework/ReportStatusCodeLib.c index d4f0daddc4..eca0fdcf0f 100644 --- a/IntelFrameworkModulePkg/Library/SmmRuntimeDxeReportStatusCodeLibFramework/ReportStatusCodeLib.c +++ b/IntelFrameworkModulePkg/Library/SmmRuntimeDxeReportStatusCodeLibFramework/ReportStatusCodeLib.c @@ -1,5 +1,5 @@ /** @file - Report Status Code Library for DXE Phase. + Report Status Code Library for SMM Runtime driver. Copyright (c) 2006 - 2007, Intel Corporation
All rights reserved. This program and the accompanying materials diff --git a/IntelFrameworkModulePkg/Library/SmmRuntimeDxeReportStatusCodeLibFramework/SmmRuntimeDxeSupport.c b/IntelFrameworkModulePkg/Library/SmmRuntimeDxeReportStatusCodeLibFramework/SmmRuntimeDxeSupport.c index 882cad677f..dcd0b38c72 100644 --- a/IntelFrameworkModulePkg/Library/SmmRuntimeDxeReportStatusCodeLibFramework/SmmRuntimeDxeSupport.c +++ b/IntelFrameworkModulePkg/Library/SmmRuntimeDxeReportStatusCodeLibFramework/SmmRuntimeDxeSupport.c @@ -42,7 +42,7 @@ STATIC BOOLEAN mHaveExitedBootServices = FALSE; /** - Locatet he report status code service. + Locate he report status code service. @return EFI_REPORT_STATUS_CODE function point to ReportStatusCode. @@ -92,7 +92,7 @@ ReportStatusCodeLibVirtualAddressChange ( } /** - Updatet the In Runtime Indicator. + Update the In Runtime Indicator. @param[in] Event The Event that is being processed @param[in] Context Event Context @@ -191,7 +191,13 @@ ReportStatusCodeLibConstruct ( return Status; } - +/** + Desctructor of library will close events. + + @param ImageHandle callder module's image handle + @param SystemTable pointer to EFI system table. + @return the status of close event. +**/ EFI_STATUS EFIAPI ReportStatusCodeLibDestruct ( @@ -215,7 +221,6 @@ ReportStatusCodeLibDestruct ( return Status; } - /** Reports a status code with full parameters. @@ -299,3 +304,4 @@ InternalReportStatusCodeEx ( } return InternalReportStatusCode (Type, Value, Instance, CallerId, mStatusCodeData); } + -- cgit v1.2.3