]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveState.c
Follow PI1.2c spec, check empty string and return EFI_INVALID_PARAMETER.
[mirror_edk2.git] / MdeModulePkg / Universal / Acpi / S3SaveStateDxe / S3SaveState.c
index 15c4b6b90f684ec76716b22a36aab10099ec60a2..249fb8caff85196266859acfdec24996fac1bd9d 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Implementation for S3 Boot Script Saver state driver.\r
 \r
-  Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
 \r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions\r
@@ -827,7 +827,8 @@ BootScriptInsert (
   @param  Label                 Points to the label which will be inserted in the boot script table.\r
 \r
   @retval EFI_SUCCESS           The label already exists or was inserted.\r
-  @retval EFI_INVALID_PARAMETER The Opcode is an invalid opcode value or the Position is not a valid position in the boot script table..\r
+  @retval EFI_INVALID_PARAMETER The Label is NULL or points to an empty string.\r
+  @retval EFI_INVALID_PARAMETER The Position is not a valid position in the boot script table.\r
   \r
 **/\r
 EFI_STATUS\r
@@ -856,6 +857,7 @@ BootScriptLabel (
 \r
   @retval EFI_SUCCESS           The operation succeeded. \r
   @retval EFI_INVALID_PARAMETER The Position1 or Position2 is not a valid position in the boot script table.\r
+  @retval EFI_INVALID_PARAMETER The RelativePosition is NULL.\r
 \r
 **/\r
 EFI_STATUS\r