<?xml version="1.0" encoding="UTF-8"?>\r
-<!--Copyright (c) 2006, Intel Corporation\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
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+<!--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.-->\r
-<ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0">\r
+<ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0">\r
<MsaHeader>\r
<ModuleName>Variable</ModuleName>\r
<ModuleType>DXE_RUNTIME_DRIVER</ModuleType>\r
<GuidValue>CBD2E4D5-7068-4FF5-B462-9822B4AD8D60</GuidValue>\r
<Version>1.0</Version>\r
- <Abstract>Component description file for DiskIo module.</Abstract>\r
- <Description>FIX ME!</Description>\r
- <Copyright>Copyright (c) 2004-2006, Intel Corporation</Copyright>\r
- <License>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
- http://opensource.org/licenses/bsd-license.php\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+ <Abstract>Component description file for Variable module.</Abstract>\r
+ <Description>This module installs three EFI_RUNTIME_SERVICES: SetVariable, GetVariable, GetNextVariableName.</Description>\r
+ <Copyright>Copyright (c) 2006, Intel Corporation</Copyright>\r
+ <License>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.</License>\r
<Specification>FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052</Specification>\r
</MsaHeader>\r
<OutputFileBasename>Variable</OutputFileBasename>\r
</ModuleDefinitions>\r
<LibraryClassDefinitions>\r
+ <LibraryClass Usage="ALWAYS_CONSUMED">\r
+ <Keyword>PcdLib</Keyword>\r
+ </LibraryClass> \r
<LibraryClass Usage="ALWAYS_CONSUMED">\r
<Keyword>BaseLib</Keyword>\r
</LibraryClass>\r
<Keyword>DxeServicesTableLib</Keyword>\r
</LibraryClass>\r
<LibraryClass Usage="ALWAYS_CONSUMED">\r
- <Keyword>DxeRuntimeDriverLib</Keyword>\r
+ <Keyword>UefiRuntimeLib</Keyword>\r
</LibraryClass>\r
<LibraryClass Usage="ALWAYS_CONSUMED">\r
<Keyword>DebugLib</Keyword>\r
</LibraryClass>\r
</LibraryClassDefinitions>\r
<SourceFiles>\r
+ <Filename>Variable.h</Filename>\r
<Filename>Variable.c</Filename>\r
+ <Filename>reclaim.h</Filename>\r
<Filename>reclaim.c</Filename>\r
<Filename SupArchList="IA32">InitVariable.c</Filename>\r
<Filename SupArchList="IA32">Ia32Variable.dxs</Filename>\r
</PackageDependencies>\r
<Protocols>\r
<Protocol Usage="ALWAYS_CONSUMED">\r
- <ProtocolCName>Variable</ProtocolCName>\r
+ <ProtocolCName>gEfiVariableArchProtocolGuid</ProtocolCName>\r
</Protocol>\r
<Protocol Usage="ALWAYS_CONSUMED">\r
- <ProtocolCName>VariableWrite</ProtocolCName>\r
+ <ProtocolCName>gEfiVariableWriteArchProtocolGuid</ProtocolCName>\r
</Protocol>\r
<Protocol Usage="ALWAYS_CONSUMED">\r
- <ProtocolCName>FaultTolerantWriteLite</ProtocolCName>\r
+ <ProtocolCName>gEfiFaultTolerantWriteLiteProtocolGuid</ProtocolCName>\r
</Protocol>\r
<Protocol Usage="ALWAYS_CONSUMED">\r
- <ProtocolCName>CpuIo</ProtocolCName>\r
+ <ProtocolCName>gEfiCpuIoProtocolGuid</ProtocolCName>\r
</Protocol>\r
<Protocol Usage="ALWAYS_CONSUMED">\r
- <ProtocolCName>FvbExtension</ProtocolCName>\r
+ <ProtocolCName>gEfiFvbExtensionProtocolGuid</ProtocolCName>\r
</Protocol>\r
<Protocol Usage="ALWAYS_CONSUMED">\r
- <ProtocolCName>FirmwareVolumeBlock</ProtocolCName>\r
+ <ProtocolCName>gEfiFirmwareVolumeBlockProtocolGuid</ProtocolCName>\r
</Protocol>\r
<Protocol Usage="ALWAYS_CONSUMED">\r
- <ProtocolCName>Variable</ProtocolCName>\r
+ <ProtocolCName>gEfiVariableArchProtocolGuid</ProtocolCName>\r
</Protocol>\r
<Protocol Usage="ALWAYS_CONSUMED">\r
- <ProtocolCName>VariableWrite</ProtocolCName>\r
+ <ProtocolCName>gEfiVariableWriteArchProtocolGuid</ProtocolCName>\r
</Protocol>\r
<Protocol Usage="ALWAYS_CONSUMED">\r
- <ProtocolCName>FaultTolerantWriteLite</ProtocolCName>\r
+ <ProtocolCName>gEfiFaultTolerantWriteLiteProtocolGuid</ProtocolCName>\r
</Protocol>\r
<Protocol Usage="ALWAYS_CONSUMED">\r
- <ProtocolCName>CpuIo</ProtocolCName>\r
+ <ProtocolCName>gEfiCpuIoProtocolGuid</ProtocolCName>\r
</Protocol>\r
<Protocol Usage="ALWAYS_CONSUMED">\r
- <ProtocolCName>FvbExtension</ProtocolCName>\r
+ <ProtocolCName>gEfiFvbExtensionProtocolGuid</ProtocolCName>\r
</Protocol>\r
<Protocol Usage="ALWAYS_CONSUMED">\r
- <ProtocolCName>FirmwareVolumeBlock</ProtocolCName>\r
+ <ProtocolCName>gEfiFirmwareVolumeBlockProtocolGuid</ProtocolCName>\r
</Protocol>\r
<Protocol Usage="ALWAYS_CONSUMED">\r
- <ProtocolCName>ExtendedSalBootService</ProtocolCName>\r
+ <ProtocolCName>gEfiExtendedSalBootServiceProtocolGuid</ProtocolCName>\r
</Protocol>\r
<Protocol Usage="ALWAYS_CONSUMED">\r
- <ProtocolCName>ExtendedSalVariableServices</ProtocolCName>\r
+ <ProtocolCName>gEfiExtendedSalVariableServicesProtocolGuid</ProtocolCName>\r
</Protocol>\r
</Protocols>\r
<Guids>\r
<GuidCNames Usage="ALWAYS_CONSUMED">\r
- <GuidCName>FlashMapHob</GuidCName>\r
+ <GuidCName>gEfiFlashMapHobGuid</GuidCName>\r
</GuidCNames>\r
- <!--<GuidCNames Usage="ALWAYS_CONSUMED">\r
- <GuidCName>Hob</GuidCName>\r
+ <!--<GuidCNames Usage="ALWAYS_CONSUMED">
+ <GuidCName>Hob</GuidCName>
</GuidCNames>-->\r
- <!--<GuidCNames Usage="ALWAYS_CONSUMED">\r
- <GuidCName>SystemNvData</GuidCName>\r
+ <!--<GuidCNames Usage="ALWAYS_CONSUMED">
+ <GuidCName>SystemNvData</GuidCName>
</GuidCNames>-->\r
<GuidCNames Usage="ALWAYS_CONSUMED">\r
- <GuidCName>AlternateFvBlock</GuidCName>\r
+ <GuidCName>gEfiAlternateFvBlockGuid</GuidCName>\r
</GuidCNames>\r
</Guids>\r
<Externs>\r
<SetVirtualAddressMapCallBack>VariableClassAddressChangeEvent</SetVirtualAddressMapCallBack>\r
</Extern>\r
</Externs>\r
+ <PcdCoded>\r
+ <PcdEntry PcdItemType="DYNAMIC">\r
+ <C_Name>PcdFlashNvStorageVariableBase</C_Name>\r
+ <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>\r
+ <HelpText>\r
+ The driver gets the Variable store base address from this PCD. This base address point to\r
+ an EFI_FIRMWARE_VOLUMN_HEADER struct.\r
+ </HelpText>\r
+ </PcdEntry> \r
+ <PcdEntry PcdItemType="DYNAMIC">\r
+ <C_Name>PcdFlashNvStorageVariableSize</C_Name>\r
+ <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>\r
+ <HelpText>\r
+ The driver gets the NvStorage Variable Size from this PCD.\r
+ </HelpText> \r
+ </PcdEntry> \r
+ </PcdCoded> \r
</ModuleSurfaceArea>
\ No newline at end of file