-/*++\r
-\r
-Copyright (c) 2006, Intel Corporation \r
+/**@file\r
+ Header file for EFI Variable Services.\r
+ \r
+Copyright (c) 2006 - 2007 Intel Corporation. <BR>\r
All rights reserved. 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
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
\r
-Module Name:\r
-\r
- EfiVariable.h\r
- \r
-Abstract:\r
- \r
- Header file for EFI Variable Services\r
-\r
---*/\r
+**/\r
\r
#ifndef _EFI_VARIABLE_H_\r
#define _EFI_VARIABLE_H_\r
#define VARIABLE_STORE_FORMATTED 0x5a\r
#define VARIABLE_STORE_HEALTHY 0xfe\r
\r
+//\r
+// The alignment of variable's start offset.\r
+//\r
+#if defined (MDE_CPU_IPF)\r
+#define ALIGNMENT 8\r
+#else\r
+#define ALIGNMENT 2\r
+#endif\r
+\r
//\r
// Variable Store Status\r
//\r
-/*++\r
-\r
-Copyright (c) 2006, Intel Corporation \r
+/**@file\r
+ Variable Machine Type\r
+ \r
+Copyright (c) 2006 - 2007 Intel Corporation. <BR>\r
All rights reserved. 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
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
\r
-Module Name:\r
-\r
- VarMachine.h\r
- \r
-Abstract:\r
-\r
- Variable Machine Type\r
-\r
---*/\r
+**/\r
\r
#ifndef _VAR_MACHINE_H\r
#define _VAR_MACHINE_H\r
\r
-#define ALIGNMENT 1\r
\r
#endif\r
-/*++\r
+/**@file\r
+ Variable Machine Type\r
\r
-Copyright (c) 2006, Intel Corporation \r
+Copyright (c) 2006 - 2007 Intel Corporation. <BR>\r
All rights reserved. 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
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
\r
-Module Name:\r
-\r
- VarMachine.h\r
- \r
-Abstract:\r
-\r
- Variable Machine Type\r
-\r
---*/\r
+**/\r
\r
#ifndef _VAR_MACHINE_H\r
#define _VAR_MACHINE_H\r
\r
-#define ALIGNMENT 1\r
\r
#endif\r
-/*++\r
-\r
-Copyright (c) 2006, Intel Corporation \r
+/**@file\r
+ Variable Machine Type\r
+ \r
+Copyright (c) 2006 - 2007 Intel Corporation. <BR>\r
All rights reserved. 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
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
\r
-Module Name:\r
-\r
- VarMachine.h\r
- \r
-Abstract:\r
-\r
- Variable Machine Type\r
-\r
---*/\r
+**/\r
\r
#ifndef _VAR_MACHINE_H\r
#define _VAR_MACHINE_H\r
\r
-#define ALIGNMENT 8\r
+\r
\r
#endif\r
-/*++\r
-\r
-Copyright (c) 2006, Intel Corporation \r
+/**@file\r
+ Variable Machine Type\r
+ \r
+Copyright (c) 2006 - 2007 Intel Corporation. <BR>\r
All rights reserved. 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
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
\r
-Module Name:\r
-\r
- VarMachine.h\r
- \r
-Abstract:\r
-\r
- Variable Machine Type\r
-\r
---*/\r
+**/\r
\r
#ifndef _VAR_MACHINE_H\r
#define _VAR_MACHINE_H\r
\r
-#define ALIGNMENT 1\r
-\r
#endif\r
//\r
#include <Common/Variable.h>\r
\r
-#if defined (MDE_CPU_IPF)\r
-#define ALIGNMENT 8\r
-#else\r
-#define ALIGNMENT 1\r
-#endif\r
-\r
#define VARIABLE_RECLAIM_THRESHOLD (1024)\r
\r
#define VARIABLE_STORE_SIZE (64 * 1024)\r