diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-07-11 15:00:30 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-07-11 15:00:30 +0000 |
commit | 5094fb09f8d56b5623ccbf9a6a898283b29f2396 (patch) | |
tree | af3a87390181a9f99e3117693e73e9377baec6cc /EdkModulePkg/Universal/Variable/Pei | |
parent | af25df1662fe283b6215086799b3915131575ce2 (diff) | |
download | edk2-platforms-5094fb09f8d56b5623ccbf9a6a898283b29f2396.tar.xz |
Add necessary files (such as *.h) in module msa and remove unused msa files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@882 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg/Universal/Variable/Pei')
-rw-r--r-- | EdkModulePkg/Universal/Variable/Pei/Ebc/VarMachine.h | 27 | ||||
-rw-r--r-- | EdkModulePkg/Universal/Variable/Pei/Variable.c | 3 | ||||
-rw-r--r-- | EdkModulePkg/Universal/Variable/Pei/Variable.h | 3 | ||||
-rw-r--r-- | EdkModulePkg/Universal/Variable/Pei/Variable.msa | 8 |
4 files changed, 36 insertions, 5 deletions
diff --git a/EdkModulePkg/Universal/Variable/Pei/Ebc/VarMachine.h b/EdkModulePkg/Universal/Variable/Pei/Ebc/VarMachine.h new file mode 100644 index 0000000000..83031e9788 --- /dev/null +++ b/EdkModulePkg/Universal/Variable/Pei/Ebc/VarMachine.h @@ -0,0 +1,27 @@ +/*++
+
+Copyright (c) 2006, 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
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ VarMachine.h
+
+Abstract:
+
+ Variable Machine Type
+
+--*/
+
+#ifndef _VAR_MACHINE_H
+#define _VAR_MACHINE_H
+
+#define ALIGNMENT 1
+
+#endif
diff --git a/EdkModulePkg/Universal/Variable/Pei/Variable.c b/EdkModulePkg/Universal/Variable/Pei/Variable.c index b2286c1860..9561ad13d6 100644 --- a/EdkModulePkg/Universal/Variable/Pei/Variable.c +++ b/EdkModulePkg/Universal/Variable/Pei/Variable.c @@ -19,10 +19,7 @@ Abstract: --*/
-
-#include <Ppi/ReadOnlyVariable.h>
#include <Variable.h>
-#include <Library/BaseLib.h>
//
// Module globals
diff --git a/EdkModulePkg/Universal/Variable/Pei/Variable.h b/EdkModulePkg/Universal/Variable/Pei/Variable.h index 2a6f861def..ac7c579029 100644 --- a/EdkModulePkg/Universal/Variable/Pei/Variable.h +++ b/EdkModulePkg/Universal/Variable/Pei/Variable.h @@ -26,8 +26,7 @@ Abstract: // BugBug: We need relcate the head file.
//
#include <Common/Variable.h>
-
-#define ALIGNMENT 1
+#include <VarMachine.h>
//
// Define GET_PAD_SIZE to optimize compiler
diff --git a/EdkModulePkg/Universal/Variable/Pei/Variable.msa b/EdkModulePkg/Universal/Variable/Pei/Variable.msa index 3889f0deaf..88adcda4a9 100644 --- a/EdkModulePkg/Universal/Variable/Pei/Variable.msa +++ b/EdkModulePkg/Universal/Variable/Pei/Variable.msa @@ -31,6 +31,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.--> </ModuleDefinitions>
<LibraryClassDefinitions>
<LibraryClass Usage="ALWAYS_CONSUMED">
+ <Keyword>BaseLib</Keyword>
+ </LibraryClass>
+ <LibraryClass Usage="ALWAYS_CONSUMED">
<Keyword>DebugLib</Keyword>
</LibraryClass>
<LibraryClass Usage="ALWAYS_CONSUMED">
@@ -44,8 +47,13 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.--> </LibraryClass>
</LibraryClassDefinitions>
<SourceFiles>
+ <Filename>Variable.h</Filename>
<Filename>Variable.c</Filename>
<Filename>Variable.dxs</Filename>
+ <Filename SupArchList="IA32">Ia32/VarMachine.h</Filename>
+ <Filename SupArchList="EBC">Ebc/VarMachine.h</Filename>
+ <Filename SupArchList="X64">x64/VarMachine.h</Filename>
+ <Filename SupArchList="IPF">Ipf/VarMachine.h</Filename>
</SourceFiles>
<PackageDependencies>
<Package PackageGuid="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>
|