Revision: 16217
          http://sourceforge.net/p/edk2/code/16217
Author:   ydong10
Date:     2014-10-15 05:19:08 +0000 (Wed, 15 Oct 2014)
Log Message:
-----------
Add comments for FSVariable driver which used by Duet platform only, trust all 
meta data for this platform.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <[email protected]>
Reviewed-by: Ruiyu Ni <[email protected]>

Modified Paths:
--------------
    trunk/edk2/DuetPkg/FSVariable/FSVariable.c
    trunk/edk2/DuetPkg/FSVariable/FSVariable.h
    trunk/edk2/DuetPkg/FSVariable/FileStorage.c
    trunk/edk2/DuetPkg/FSVariable/MemStorage.c
    trunk/edk2/DuetPkg/FSVariable/VariableStorage.h

Modified: trunk/edk2/DuetPkg/FSVariable/FSVariable.c
===================================================================
--- trunk/edk2/DuetPkg/FSVariable/FSVariable.c  2014-10-15 05:17:41 UTC (rev 
16216)
+++ trunk/edk2/DuetPkg/FSVariable/FSVariable.c  2014-10-15 05:19:08 UTC (rev 
16217)
@@ -1,6 +1,12 @@
 /*++
 
-Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
+Caution: This file is used for Duet platform only, do not use them in real 
platform.
+All variable code, variable metadata, and variable data used by Duet platform 
are on 
+disk. They can be changed by user. BIOS is not able to protoect those.
+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>
 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

Modified: trunk/edk2/DuetPkg/FSVariable/FSVariable.h
===================================================================
--- trunk/edk2/DuetPkg/FSVariable/FSVariable.h  2014-10-15 05:17:41 UTC (rev 
16216)
+++ trunk/edk2/DuetPkg/FSVariable/FSVariable.h  2014-10-15 05:19:08 UTC (rev 
16217)
@@ -1,6 +1,12 @@
 /*++
 
-Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
+Caution: This file is used for Duet platform only, do not use them in real 
platform.
+All variable code, variable metadata, and variable data used by Duet platform 
are on 
+disk. They can be changed by user. BIOS is not able to protoect those.
+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>
 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        

Modified: trunk/edk2/DuetPkg/FSVariable/FileStorage.c
===================================================================
--- trunk/edk2/DuetPkg/FSVariable/FileStorage.c 2014-10-15 05:17:41 UTC (rev 
16216)
+++ trunk/edk2/DuetPkg/FSVariable/FileStorage.c 2014-10-15 05:19:08 UTC (rev 
16217)
@@ -1,6 +1,12 @@
 /*++
 
-Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
+Caution: This file is used for Duet platform only, do not use them in real 
platform.
+All variable code, variable metadata, and variable data used by Duet platform 
are on 
+disk. They can be changed by user. BIOS is not able to protoect those.
+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>
 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

Modified: trunk/edk2/DuetPkg/FSVariable/MemStorage.c
===================================================================
--- trunk/edk2/DuetPkg/FSVariable/MemStorage.c  2014-10-15 05:17:41 UTC (rev 
16216)
+++ trunk/edk2/DuetPkg/FSVariable/MemStorage.c  2014-10-15 05:19:08 UTC (rev 
16217)
@@ -1,6 +1,12 @@
 /*++
 
-Copyright (c) 2006 - 2007, Intel Corporation. All rights reserved.<BR>
+Caution: This file is used for Duet platform only, do not use them in real 
platform.
+All variable code, variable metadata, and variable data used by Duet platform 
are on 
+disk. They can be changed by user. BIOS is not able to protoect those.
+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>
 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

Modified: trunk/edk2/DuetPkg/FSVariable/VariableStorage.h
===================================================================
--- trunk/edk2/DuetPkg/FSVariable/VariableStorage.h     2014-10-15 05:17:41 UTC 
(rev 16216)
+++ trunk/edk2/DuetPkg/FSVariable/VariableStorage.h     2014-10-15 05:19:08 UTC 
(rev 16217)
@@ -1,6 +1,12 @@
 /*++
 
-Copyright (c) 2006 - 2007, Intel Corporation. All rights reserved.<BR>
+Caution: This file is used for Duet platform only, do not use them in real 
platform.
+All variable code, variable metadata, and variable data used by Duet platform 
are on 
+disk. They can be changed by user. BIOS is not able to protoect those.
+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>
 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        


------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to