summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/DxeCapsuleLibNull
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2009-01-04 03:20:55 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2009-01-04 03:20:55 +0000
commit109e9a6156b2c9540fd4b1b6ce17ac5be1fa03c4 (patch)
treececfbd5ce484c026dd321e384e2609761bd555ea /MdeModulePkg/Library/DxeCapsuleLibNull
parent303ee61d53cde4c064729709fa890ead41bbe00b (diff)
downloadedk2-platforms-109e9a6156b2c9540fd4b1b6ce17ac5be1fa03c4.tar.xz
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
Diffstat (limited to 'MdeModulePkg/Library/DxeCapsuleLibNull')
-rw-r--r--MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.c8
-rw-r--r--MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf3
2 files changed, 7 insertions, 4 deletions
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 <Library/CapsuleLib.h>
/**
- 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.
#