summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Protocol/FormCallback.h
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-20 09:08:37 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-20 09:08:37 +0000
commit0647c9adf92c6a8712091607a73b2768327a865d (patch)
tree41c00f087dea23a35388100f5b9895753555ac3c /MdePkg/Include/Protocol/FormCallback.h
parent151c1ccdcd6960c550fa491bd0ed467416bb2b74 (diff)
downloadedk2-platforms-0647c9adf92c6a8712091607a73b2768327a865d.tar.xz
Remove BugBug in comments and adjust function header according to code style doc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1055 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Protocol/FormCallback.h')
-rw-r--r--MdePkg/Include/Protocol/FormCallback.h107
1 files changed, 43 insertions, 64 deletions
diff --git a/MdePkg/Include/Protocol/FormCallback.h b/MdePkg/Include/Protocol/FormCallback.h
index 7a1c5398b8..2f3a527873 100644
--- a/MdePkg/Include/Protocol/FormCallback.h
+++ b/MdePkg/Include/Protocol/FormCallback.h
@@ -88,31 +88,22 @@ typedef struct {
/**
Returns the value of a variable.
- @param This A pointer to the EFI_FORM_CALLBACK_PROTOCOL instance.
-
- @param VariableName A NULL-terminated Unicode string that is the
- name of the vendor¡¯s variable.
-
- @param VendorGuid A unique identifier for the vendor.
-
- @param Attributes If not NULL, a pointer to the memory location to
- return the attribute's bit-mask for the variable.
-
- @param DataSize The size in bytes of the Buffer. A size of zero causes
- the variable to be deleted.
-
- @param Buffer The buffer to return the contents of the variable.
-
- @retval EFI_SUCCESS The function completed successfully.
-
- @retval EFI_NOT_FOUND The variable was not found.
-
- @retval EFI_BUFFER_TOO_SMALL The DataSize is too small for the result.
- DataSize has been updated with the size needed to complete the request.
-
- @retval EFI_INVALID_PARAMETER One of the parameters has an invalid value.
-
- @retval EFI_DEVICE_ERROR The variable could not be saved due to a hardware failure.
+ @param This A pointer to the EFI_FORM_CALLBACK_PROTOCOL instance.
+ @param VariableName A NULL-terminated Unicode string that is the
+ name of the vendor¡¯s variable.
+ @param VendorGuid A unique identifier for the vendor.
+ @param Attributes If not NULL, a pointer to the memory location to
+ return the attribute's bit-mask for the variable.
+ @param DataSize The size in bytes of the Buffer. A size of zero causes
+ the variable to be deleted.
+ @param Buffer The buffer to return the contents of the variable.
+
+ @retval EFI_SUCCESS The function completed successfully.
+ @retval EFI_NOT_FOUND The variable was not found.
+ @retval EFI_BUFFER_TOO_SMALL The DataSize is too small for the result.
+ DataSize has been updated with the size needed to complete the request.
+ @retval EFI_INVALID_PARAMETER One of the parameters has an invalid value.
+ @retval EFI_DEVICE_ERROR The variable could not be saved due to a hardware failure.
**/
typedef
@@ -129,35 +120,26 @@ EFI_STATUS
/**
Sets the value of a variable.
- @param This A pointer to the EFI_FORM_CALLBACK_PROTOCOL instance.
-
- @param VariableName A NULL-terminated Unicode string that is the
- name of the vendor's variable. Each VariableName is unique for each VendorGuid.
-
- @param VendorGuid A unique identifier for the vendor.
-
- @param Attributes Attributes bit-mask to set for the variable.
-
- @param DataSize The size in bytes of the Buffer. A size of zero causes
- the variable to be deleted.
-
- @param Buffer The buffer containing the contents of the variable.
-
- @param ResetRequired Returns a value from the driver that abstracts
- this information and will enable a system to know if a system reset
- is required to achieve the configuration changes being enabled through
- this function.
-
- @retval EFI_SUCCESS The firmware has successfully stored the variable and
- its data as defined by the Attributes.
-
- @retval EFI_OUT_OF_RESOURCES Not enough storage is available to hold
- the variable and its data.
-
- @retval EFI_INVALID_PARAMETER An invalid combination of Attributes bits
- was supplied, or the DataSize exceeds the maximum allowed.
-
- @retval EFI_DEVICE_ERROR The variable could not be saved due to a hardware failure.
+ @param This A pointer to the EFI_FORM_CALLBACK_PROTOCOL instance.
+ @param VariableName A NULL-terminated Unicode string that is the
+ name of the vendor's variable. Each VariableName is unique for each VendorGuid.
+ @param VendorGuid A unique identifier for the vendor.
+ @param Attributes Attributes bit-mask to set for the variable.
+ @param DataSize The size in bytes of the Buffer. A size of zero causes
+ the variable to be deleted.
+ @param Buffer The buffer containing the contents of the variable.
+ @param ResetRequired Returns a value from the driver that abstracts
+ this information and will enable a system to know if a system reset
+ is required to achieve the configuration changes being enabled through
+ this function.
+
+ @retval EFI_SUCCESS The firmware has successfully stored the variable and
+ its data as defined by the Attributes.
+ @retval EFI_OUT_OF_RESOURCES Not enough storage is available to hold
+ the variable and its data.
+ @retval EFI_INVALID_PARAMETER An invalid combination of Attributes bits
+ was supplied, or the DataSize exceeds the maximum allowed.
+ @retval EFI_DEVICE_ERROR The variable could not be saved due to a hardware failure.
**/
typedef
@@ -175,16 +157,13 @@ EFI_STATUS
/**
This function is called to provide results data to the driver.
- @param This A pointer to the EFI_FORM_CALLBACK_PROTOCOL instance.
-
- @param KeyValue A unique value which is sent to the original exporting
- driver so that it can identify the type of data to expect. The format of
- the data tends to vary based on the opcode that generated the callback.
-
- @param Data A pointer to the data being sent to the original exporting driver.
-
- @param Packet A pointer to a packet of information which a driver passes
- back to the browser.
+ @param This A pointer to the EFI_FORM_CALLBACK_PROTOCOL instance.
+ @param KeyValue A unique value which is sent to the original exporting
+ driver so that it can identify the type of data to expect. The format of
+ the data tends to vary based on the opcode that generated the callback.
+ @param Data A pointer to the data being sent to the original exporting driver.
+ @param Packet A pointer to a packet of information which a driver passes
+ back to the browser.
@return Status Code