]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.c
Update the copyright notice format
[mirror_edk2.git] / MdeModulePkg / Library / DxeCapsuleLibNull / DxeCapsuleLibNull.c
index a74bf75ced0804cdc1d50cb46d762e90997d5853..fb5c25536f74a0c17dff1c190276774429bf33e2 100644 (file)
@@ -1,8 +1,8 @@
-/**@file\r
-  Capsule Library Null instance. \r
+/** @file\r
+  Null Dxe Capsule Library instance does nothing and returns unsupport status.\r
 \r
-Copyright (c) 2007 Intel Corporation\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2007 - 2008, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
 http://opensource.org/licenses/bsd-license.php\r
@@ -11,13 +11,15 @@ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
 **/\r
-#include <PiDxe.h>\r
+#include <Uefi.h>\r
 #include <Library/CapsuleLib.h>\r
 \r
 /**\r
-  Those capsules supported by the firmwares.\r
+  The firmware checks whether the capsule image is supported \r
+  by the CapsuleGuid in CapsuleHeader or other specific information in capsule image.\r
+  \r
+  @param  CapsuleHeader    Point to the UEFI capsule image to be checked.\r
   \r
-  @retval EFI_SUCESS       Input capsule is supported by firmware.\r
   @retval EFI_UNSUPPORTED  Input capsule is not supported by the firmware.\r
 **/\r
 EFI_STATUS\r
@@ -30,9 +32,11 @@ SupportCapsuleImage (
 }\r
 \r
 /**\r
-  The firmware implements to process the capsule image.\r
+  The firmware specific implementation processes the capsule image\r
+  if it recognized the format of this capsule image.\r
   \r
-  @retval EFI_SUCESS       Process Capsule Image successfully. \r
+  @param  CapsuleHeader    Point to the UEFI capsule image to be processed. \r
+   \r
   @retval EFI_UNSUPPORTED  Capsule image is not supported by the firmware.\r
 **/\r
 EFI_STATUS\r