summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/Acpi/SmmS3SaveState
diff options
context:
space:
mode:
authorjyao1 <jyao1@6f19259b-4bc3-4df7-8a09-765794883524>2011-11-14 06:28:40 +0000
committerjyao1 <jyao1@6f19259b-4bc3-4df7-8a09-765794883524>2011-11-14 06:28:40 +0000
commit960729473e14c847526af94c430bc38f93105ec7 (patch)
tree7f2673d72b7bf6bf090a6bbe294ccc81cb87bd1b /MdeModulePkg/Universal/Acpi/SmmS3SaveState
parent4efa9e594a7726769907628ce0ca7a320d7f159b (diff)
downloadedk2-960729473e14c847526af94c430bc38f93105ec7.zip
edk2-960729473e14c847526af94c430bc38f93105ec7.tar.gz
edk2-960729473e14c847526af94c430bc38f93105ec7.tar.bz2
Follow PI1.2c spec, check empty string and return EFI_INVALID_PARAMETER.
Clean up comment according to PI1.2c spec. signed-off-by: jyao1 reviewed-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12690 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Acpi/SmmS3SaveState')
-rw-r--r--MdeModulePkg/Universal/Acpi/SmmS3SaveState/SmmS3SaveState.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/Acpi/SmmS3SaveState/SmmS3SaveState.c b/MdeModulePkg/Universal/Acpi/SmmS3SaveState/SmmS3SaveState.c
index 9879143..d0652d3 100644
--- a/MdeModulePkg/Universal/Acpi/SmmS3SaveState/SmmS3SaveState.c
+++ b/MdeModulePkg/Universal/Acpi/SmmS3SaveState/SmmS3SaveState.c
@@ -1,7 +1,7 @@
/** @file
Implementation for S3 SMM Boot Script Saver state driver.
- Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions
@@ -825,7 +825,8 @@ BootScriptInsert (
@param Label Points to the label which will be inserted in the boot script table.
@retval EFI_SUCCESS The label already exists or was inserted.
- @retval EFI_INVALID_PARAMETER The Opcode is an invalid opcode value or the Position is not a valid position in the boot script table..
+ @retval EFI_INVALID_PARAMETER The Label is NULL or points to an empty string.
+ @retval EFI_INVALID_PARAMETER The Position is not a valid position in the boot script table.
**/
EFI_STATUS
@@ -854,6 +855,7 @@ BootScriptLabel (
@retval EFI_SUCCESS The operation succeeded.
@retval EFI_INVALID_PARAMETER The Position1 or Position2 is not a valid position in the boot script table.
+ @retval EFI_INVALID_PARAMETER The RelativePosition is NULL.
**/
EFI_STATUS