]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/IScsiDxe/IScsiInitiatorName.c
Create PCDs in MdeModulePkg for ACPI table OEM_ID/OEM_TABLE_ID/OEM_REVISION/CREATOR_I...
[mirror_edk2.git] / MdeModulePkg / Universal / Network / IScsiDxe / IScsiInitiatorName.c
index 5867935fa49a950350137b0985f1d92c858efcfb..e753d9eebdbe3320d5e1e38062b13d0df49b1b58 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Implementation for EFI iSCSI Initiator Name Protocol.\r
 \r
-Copyright (c) 2004 - 2008, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2004 - 2011, 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
@@ -25,7 +25,8 @@ EFI_ISCSI_INITIATOR_NAME_PROTOCOL gIScsiInitiatorName = {
   @param[in]       This       Pointer to the EFI_ISCSI_INITIATOR_NAME_PROTOCOL instance.\r
   @param[in, out]  BufferSize Size of the buffer in bytes pointed to by Buffer / Actual size of the\r
                               variable data buffer.\r
-  @param[out]      Buffer     Pointer to the buffer for data to be read.\r
+  @param[out]      Buffer     Pointer to the buffer for data to be read. The data is a null-terminated UTF-8 encoded string.\r
+                              The maximum length is 223 characters, including the null-terminator.\r
 \r
   @retval EFI_SUCCESS           Data was successfully retrieved into the provided buffer and the\r
                                 BufferSize was sufficient to handle the iSCSI initiator name.\r
@@ -64,7 +65,8 @@ IScsiGetInitiatorName (
 \r
   @param[in]       This       Pointer to the EFI_ISCSI_INITIATOR_NAME_PROTOCOL instance.\r
   @param[in, out]  BufferSize Size of the buffer in bytes pointed to by Buffer.\r
-  @param[in]       Buffer     Pointer to the buffer for data to be written.\r
+  @param[in]       Buffer     Pointer to the buffer for data to be written. The data is a null-terminated UTF-8 encoded string.\r
+                              The maximum length is 223 characters, including the null-terminator.\r
 \r
   @retval EFI_SUCCESS           Data was successfully stored by the protocol.\r
   @retval EFI_UNSUPPORTED       Platform policies do not allow for data to be written.\r