Revision: 19772
          http://sourceforge.net/p/edk2/code/19772
Author:   lzeng14
Date:     2016-01-29 09:15:53 +0000 (Fri, 29 Jan 2016)
Log Message:
-----------
DuetPkg FSVariable: Minor update to the Data parameter for GetVariable()

UEFI 2.6 spec has minor update to the Data parameter for GetVariable(),
and no real functional behavior change.

The modifier of Data parameter:
OUT VOID *Data
->
OUT VOID *Data OPTIONAL

The comments of Data parameter:
Data    The buffer to return the contents of the variable.
->
Data    The buffer to return the contents of the variable. May be NULL
        with a zero DataSize in order to determine the size buffer needed.

The patch is to follow the spec to update the implementation.

Cc: Liming Gao <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <[email protected]>
Reviewed-by: Liming Gao <[email protected]>

Modified Paths:
--------------
    trunk/edk2/DuetPkg/FSVariable/FSVariable.c

Modified: trunk/edk2/DuetPkg/FSVariable/FSVariable.c
===================================================================
--- trunk/edk2/DuetPkg/FSVariable/FSVariable.c  2016-01-29 09:15:43 UTC (rev 
19771)
+++ trunk/edk2/DuetPkg/FSVariable/FSVariable.c  2016-01-29 09:15:53 UTC (rev 
19772)
@@ -6,7 +6,7 @@
 Duet trusts all meta data from disk. If variable code, variable metadata and 
variable
 data is modified in inproper way, the behavior is undefined.
 
-Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
 This program and the accompanying materials
 are licensed and made available under the terms and conditions of the BSD 
License
 which accompanies this distribution.  The full text of the license may be 
found at
@@ -1305,7 +1305,7 @@
   IN      EFI_GUID          *VendorGuid,
   OUT     UINT32            *Attributes OPTIONAL,
   IN OUT  UINTN             *DataSize,
-  OUT     VOID              *Data
+  OUT     VOID              *Data OPTIONAL
   )
 /*++
 
@@ -1320,7 +1320,8 @@
   Attributes OPTIONAL             Attribute value of the variable found
   DataSize                        Size of Data found. If size is less than the
                                   data, this value contains the required size.
-  Data                            Data pointer
+  Data                            The buffer to return the contents of the 
variable. May be NULL
+                                  with a zero DataSize in order to determine 
the size buffer needed.
 
 Returns:
 


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to