From 741a1e5895a2f617acb2e391a48c653f7dbe44ab Mon Sep 17 00:00:00 2001 From: Eric Dong Date: Wed, 15 Oct 2014 05:19:08 +0000 Subject: 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 Reviewed-by: Ruiyu Ni git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16217 6f19259b-4bc3-4df7-8a09-765794883524 --- DuetPkg/FSVariable/FSVariable.c | 8 +++++++- DuetPkg/FSVariable/FSVariable.h | 8 +++++++- DuetPkg/FSVariable/FileStorage.c | 8 +++++++- DuetPkg/FSVariable/MemStorage.c | 8 +++++++- DuetPkg/FSVariable/VariableStorage.h | 8 +++++++- 5 files changed, 35 insertions(+), 5 deletions(-) (limited to 'DuetPkg/FSVariable') diff --git a/DuetPkg/FSVariable/FSVariable.c b/DuetPkg/FSVariable/FSVariable.c index 50729060c..5e72f9f2a 100644 --- a/DuetPkg/FSVariable/FSVariable.c +++ b/DuetPkg/FSVariable/FSVariable.c @@ -1,6 +1,12 @@ /*++ -Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.
+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.
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 50215147e..cc39323e9 100644 --- a/DuetPkg/FSVariable/FSVariable.h +++ b/DuetPkg/FSVariable/FSVariable.h @@ -1,6 +1,12 @@ /*++ -Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
+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.
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 4bf0a89d7..d07c0bb25 100644 --- a/DuetPkg/FSVariable/FileStorage.c +++ b/DuetPkg/FSVariable/FileStorage.c @@ -1,6 +1,12 @@ /*++ -Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
+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.
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 88709b7f7..cc0d54619 100644 --- a/DuetPkg/FSVariable/MemStorage.c +++ b/DuetPkg/FSVariable/MemStorage.c @@ -1,6 +1,12 @@ /*++ -Copyright (c) 2006 - 2007, Intel Corporation. All rights reserved.
+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.
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 512100969..48cbd5d80 100644 --- a/DuetPkg/FSVariable/VariableStorage.h +++ b/DuetPkg/FSVariable/VariableStorage.h @@ -1,6 +1,12 @@ /*++ -Copyright (c) 2006 - 2007, Intel Corporation. All rights reserved.
+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.
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 -- cgit v1.2.3