EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index
Functions | Variables

spd2dec::StoreDec Namespace Reference

Functions

def StorePackageDefinesSection
 Store Defines section.
def GetPackageIncludeClassItem
 Return a Package Include Class Item.
def StorePackageIncludesSection
 Store Includes section.
def GetPackageLibraryClassItem
 Return a Package Library Class Item.
def StorePackageLibraryClassesSection
 Store Library Classes section.
def GetPackageGuidDeclarationItem
 Return a Package Guid Declaration Item.
def StorePackageProtocolsSection
 Store Protocols section.
def StorePackagePpisSection
 Store Ppis section.
def StorePackageGuidsSection
 Store Guids section.
def GetPackagePcdItem
 Return a Package Pcd Item.
def StorePackagePcdsSection
 Store Pcds section.
def StorePackageUserExtensionsSection
 Store User Extensions section.
def StoreDec
 Store a Package class object to a new DEC file.

Variables

dictionary mDecPcdSectionNameDict
 DEC Pcd Section Name dictionary indexed by PCD Item Type.

Function Documentation

def spd2dec::StoreDec::GetPackageGuidDeclarationItem (   Guid)

Return a Package Guid Declaration Item.

Read the input Guid class object and return one line of Guid Declaration Item.

Parameters:
GuidAn input Guid class object.
Return values:
GuidDeclarationItemA Package Guid Declaration Item.

Definition at line 101 of file StoreDec.py.

def spd2dec::StoreDec::GetPackageIncludeClassItem (   Include)

Return a Package Include Class Item.

Read the input Include class object and return one Include Class Item.

Parameters:
IncludeAn input Include class object.
Return values:
IncludeClassItemA Package Include Class Item.

Definition at line 48 of file StoreDec.py.

def spd2dec::StoreDec::GetPackageLibraryClassItem (   LibraryClass)

Return a Package Library Class Item.

Read the input LibraryClass class object and return one Library Class Item.

Parameters:
LibraryClassAn input LibraryClass class object.
Return values:
LibraryClassItemA Package Library Class Item.

Definition at line 74 of file StoreDec.py.

def spd2dec::StoreDec::GetPackagePcdItem (   Pcd)

Return a Package Pcd Item.

Read the input Pcd class object and return one line of Pcd Item.

Parameters:
PcdAn input Pcd class object.
Return values:
PcdItemA Package Pcd Item.

Definition at line 163 of file StoreDec.py.

def spd2dec::StoreDec::StoreDec (   DecFileName,
  Package 
)

Store a Package class object to a new DEC file.

Read an input Package class object and ave the contents to a new DEC file.

Parameters:
DecFileNameThe output DEC file.
PackageAn input Package class object.

Definition at line 226 of file StoreDec.py.

def spd2dec::StoreDec::StorePackageDefinesSection (   DecFile,
  Package 
)

Store Defines section.

Write [Defines] section to the DecFile based on Package class object. Different CPU architectures are specified in the subsection if possible.

Parameters:
DecFileThe output DEC file to store the Defines section.
PackageAn input Package class object.

Definition at line 31 of file StoreDec.py.

def spd2dec::StoreDec::StorePackageGuidsSection (   DecFile,
  Package 
)

Store Guids section.

Write [Guids] section to the DecFile based on Package class object. Different CPU architectures are specified in the subsection if possible.

Parameters:
DecFileThe output DEC file to store the Guids section.
PackageAn input Package class object.

Definition at line 149 of file StoreDec.py.

def spd2dec::StoreDec::StorePackageIncludesSection (   DecFile,
  Package 
)

Store Includes section.

Write [Includes] section to the DecFile based on Package class object. Different CPU architectures are specified in the subsection if possible.

Parameters:
DecFileThe output DEC file to store the Includes section.
PackageAn input Package class object.

Definition at line 60 of file StoreDec.py.

def spd2dec::StoreDec::StorePackageLibraryClassesSection (   DecFile,
  Package 
)

Store Library Classes section.

Write [LibraryClasses] section to the DecFile based on Package class object. Different CPU architectures are specified in the subsection if possible.

Parameters:
DecFileThe output DEC file to store the Library Classes section.
PackageAn input Package class object.

Definition at line 87 of file StoreDec.py.

def spd2dec::StoreDec::StorePackagePcdsSection (   DecFile,
  Package 
)

Store Pcds section.

Write [Pcds*] section to the DecFile based on Package class object. Different CPU architectures are specified in the subsection if possible.

Parameters:
DecFileThe output DEC file to store the Pcds section.
PackageAn input Package class object.

Definition at line 189 of file StoreDec.py.

def spd2dec::StoreDec::StorePackagePpisSection (   DecFile,
  Package 
)

Store Ppis section.

Write [Ppis] section to the DecFile based on Package class object. Different CPU architectures are specified in the subsection if possible.

Parameters:
DecFileThe output DEC file to store the Ppis section.
PackageAn input Package class object.

Definition at line 135 of file StoreDec.py.

def spd2dec::StoreDec::StorePackageProtocolsSection (   DecFile,
  Package 
)

Store Protocols section.

Write [Protocols] section to the DecFile based on Package class object. Different CPU architectures are specified in the subsection if possible.

Parameters:
DecFileThe output DEC file to store the Protocols section.
PackageAn input Package class object.

Definition at line 121 of file StoreDec.py.

def spd2dec::StoreDec::StorePackageUserExtensionsSection (   DecFile,
  Package 
)

Store User Extensions section.

Write [UserExtensions] section to the DecFile based on Package class object.

Parameters:
DecFileThe output DEC file to store the User Extensions section.
PackageAn input Package class object.

Definition at line 214 of file StoreDec.py.


Variable Documentation

Initial value:
00001 {
00002     "FEATURE_FLAG" : "PcdsFeatureFlag",
00003     "FIXED_AT_BUILD" : "PcdsFixedAtBuild",
00004     "PATCHABLE_IN_MODULE" : "PcdsPatchableInModule",
00005     "DYNAMIC" : "PcdsDynamic",
00006     "DYNAMIC_EX" : "PcdsDynamicEx"
00007     }

DEC Pcd Section Name dictionary indexed by PCD Item Type.

Definition at line 173 of file StoreDec.py.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines