From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.88; helo=mga01.intel.com; envelope-from=dandan.bi@intel.com; receiver=edk2-devel@lists.01.org Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C35602095609C for ; Thu, 15 Mar 2018 22:19:49 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Mar 2018 22:26:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,313,1517904000"; d="scan'208";a="34336715" Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.157.135]) by FMSMGA003.fm.intel.com with ESMTP; 15 Mar 2018 22:26:13 -0700 From: Dandan Bi To: edk2-devel@lists.01.org Cc: Star Zeng Date: Fri, 16 Mar 2018 13:25:51 +0800 Message-Id: <1521177951-75328-1-git-send-email-dandan.bi@intel.com> X-Mailer: git-send-email 1.9.5.msysgit.1 Subject: [patch] MdeModulePkg: Fix coding style issues in file/function comments X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Mar 2018 05:19:50 -0000 Cc: Star Zeng Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi --- MdeModulePkg/Include/Protocol/BootLogo2.h | 2 +- MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf | 1 + MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmp.c | 12 +++++++++--- MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmpDebugPrint.c | 4 ++-- 4 files changed, 13 insertions(+), 6 deletions(-) diff --git a/MdeModulePkg/Include/Protocol/BootLogo2.h b/MdeModulePkg/Include/Protocol/BootLogo2.h index 583a253..905197a 100644 --- a/MdeModulePkg/Include/Protocol/BootLogo2.h +++ b/MdeModulePkg/Include/Protocol/BootLogo2.h @@ -1,6 +1,6 @@ -/** +/** @file Boot Logo 2 Protocol is used to convey information of Logo dispayed during boot. The Boot Logo 2 Protocol is a replacement for the Boot Logo Protocol. If a platform produces both the Boot Logo 2 Protocol and the Boot Logo Protocol then the Boot Logo 2 Protocol must be used instead of the Boot Logo Protocol. diff --git a/MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf b/MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf index 02c3fae..2ee2e7e 100644 --- a/MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf +++ b/MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf @@ -1,6 +1,7 @@ ## @file +# Base library to support BMP graphics image conversion. # # Provides services to convert a BMP graphics image to a GOP BLT buffer and # from a GOP BLT buffer to a BMP graphics image. # # Copyright (c) 2017, Microsoft Corporation diff --git a/MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmp.c b/MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmp.c index b98430e..3da4a62 100644 --- a/MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmp.c +++ b/MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmp.c @@ -36,13 +36,16 @@ #include #include #include #include -// -// Print ESRT to debug console -// +/** + Print ESRT to debug console. + + @param[in] Table Pointer to the ESRT table. + +**/ VOID EFIAPI PrintTable ( IN EFI_SYSTEM_RESOURCE_TABLE *Table ); @@ -130,10 +133,13 @@ IsSystemFmp ( /** Function to create a single ESRT Entry and add it to the ESRT given a FMP descriptor. If the guid is already in the ESRT it will be ignored. The ESRT will grow if it does not have enough room. + @param[in] FmpImageInfoBuf Pointer to the EFI_FIRMWARE_IMAGE_DESCRIPTOR. + @param[in] FmpVersion FMP Version. + @return Status code. **/ EFI_STATUS EFIAPI diff --git a/MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmpDebugPrint.c b/MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmpDebugPrint.c index b4e5135..8e60385 100644 --- a/MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmpDebugPrint.c +++ b/MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmpDebugPrint.c @@ -32,11 +32,11 @@ #include #include #include /** - Function to print a single ESRT Entry (ESRE) to the debug console + Function to print a single ESRT Entry (ESRE) to the debug console. Print Format: | 00000000-0000-0000-0000-000000000000 | SSSSSSSSSSSS | 0x00000000 | 0x00000000 | 0x00000000 | 0x00000000 | 0x00000000 | @param[in] Entry - Pointer to an ESRE entry @@ -99,11 +99,11 @@ PrintOutEsrtEntry ( return EFI_SUCCESS; } /** - Function to print the ESRT table to the debug console + Function to print the ESRT table to the debug console. @param[in] Table - Pointer to the ESRT table **/ VOID EFIAPI -- 1.9.5.msysgit.1