summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Dong <eric.dong@intel.com>2014-10-15 05:19:08 +0000
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2014-10-15 05:19:08 +0000
commit741a1e5895a2f617acb2e391a48c653f7dbe44ab (patch)
tree37b186bb3eeb023ba32f19b4e1d70ab77e47d46a
parent55501e13510038786f735a681c43a3354b363355 (diff)
downloadedk2-741a1e5895a2f617acb2e391a48c653f7dbe44ab.zip
edk2-741a1e5895a2f617acb2e391a48c653f7dbe44ab.tar.gz
edk2-741a1e5895a2f617acb2e391a48c653f7dbe44ab.tar.bz2
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 <eric.dong@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16217 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--DuetPkg/FSVariable/FSVariable.c8
-rw-r--r--DuetPkg/FSVariable/FSVariable.h8
-rw-r--r--DuetPkg/FSVariable/FileStorage.c8
-rw-r--r--DuetPkg/FSVariable/MemStorage.c8
-rw-r--r--DuetPkg/FSVariable/VariableStorage.h8
5 files changed, 35 insertions, 5 deletions
diff --git a/DuetPkg/FSVariable/FSVariable.c b/DuetPkg/FSVariable/FSVariable.c
index 5072906..5e72f9f 100644
--- a/DuetPkg/FSVariable/FSVariable.c
+++ b/DuetPkg/FSVariable/FSVariable.c
@@ -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
diff --git a/DuetPkg/FSVariable/FSVariable.h b/DuetPkg/FSVariable/FSVariable.h
index 5021514..cc39323 100644
--- a/DuetPkg/FSVariable/FSVariable.h
+++ b/DuetPkg/FSVariable/FSVariable.h
@@ -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
diff --git a/DuetPkg/FSVariable/FileStorage.c b/DuetPkg/FSVariable/FileStorage.c
index 4bf0a89..d07c0bb 100644
--- a/DuetPkg/FSVariable/FileStorage.c
+++ b/DuetPkg/FSVariable/FileStorage.c
@@ -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
diff --git a/DuetPkg/FSVariable/MemStorage.c b/DuetPkg/FSVariable/MemStorage.c
index 88709b7..cc0d546 100644
--- a/DuetPkg/FSVariable/MemStorage.c
+++ b/DuetPkg/FSVariable/MemStorage.c
@@ -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
diff --git a/DuetPkg/FSVariable/VariableStorage.h b/DuetPkg/FSVariable/VariableStorage.h
index 5121009..48cbd5d 100644
--- a/DuetPkg/FSVariable/VariableStorage.h
+++ b/DuetPkg/FSVariable/VariableStorage.h
@@ -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