From 109e9a6156b2c9540fd4b1b6ce17ac5be1fa03c4 Mon Sep 17 00:00:00 2001 From: lgao4 Date: Sun, 4 Jan 2009 03:20:55 +0000 Subject: Code scrub for the following drivers and librarys. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7172 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.c | 8 +++++--- MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf | 3 ++- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'MdeModulePkg/Library/DxeCapsuleLibNull') diff --git a/MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.c b/MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.c index 1d45729eed..d2895778b2 100644 --- a/MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.c +++ b/MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.c @@ -1,5 +1,5 @@ /** @file - Null Dxe Capsule Library instance. + Null Dxe Capsule Library instance does nothing and returns unsupport status. Copyright (c) 2007 - 2008 Intel Corporation All rights reserved. This program and the accompanying materials @@ -15,7 +15,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include /** - Check those capsules are supported by the firmwares. + The firmware checks whether the capsule image is supported + by the CapsuleGuid in CapsuleHeader or other specific information in capsule image. @param CapsuleHeader Point to the UEFI capsule image to be checked. @@ -31,7 +32,8 @@ SupportCapsuleImage ( } /** - The firmware implements to process the capsule image. + The firmware specific implementation processes the capsule image + if it recognized the format of this capsule image. @param CapsuleHeader Point to the UEFI capsule image to be processed. diff --git a/MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf b/MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf index dd2a95083e..1e7a967421 100644 --- a/MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf +++ b/MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf @@ -1,5 +1,6 @@ #/** @file -# Capsule library NULL instance for DXE_DRIVER, DXE_RUNTIME_DRIVER +# NULL Dxe Capsule library instance. +# It can make core modules pass package level build. # # Copyright (c) 2006 - 2008, Intel Corporation. # -- cgit v1.2.3