Searched defs:GenFdsGlobalVariable (Results 1 - 24 of 24) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/GenFds/
H A DOptRomFileStatement.py20 from GenFdsGlobalVariable import GenFdsGlobalVariable namespace
45 self.FileName = GenFdsGlobalVariable.ReplaceWorkspaceMacro(self.FileName)
H A DCapsuleData.py19 from GenFdsGlobalVariable import GenFdsGlobalVariable namespace
79 if self.FvName.upper() in GenFdsGlobalVariable.FdfParser.Profile.FvDict.keys():
80 FvObj = GenFdsGlobalVariable.FdfParser.Profile.FvDict.get(self.FvName.upper())
88 FvFile = GenFdsGlobalVariable.ReplaceWorkspaceMacro(self.FvName)
111 if self.FdName.upper() in GenFdsGlobalVariable.FdfParser.Profile.FdDict.keys():
112 FdObj = GenFdsGlobalVariable.FdfParser.Profile.FdDict.get(self.FdName.upper())
116 FdFile = GenFdsGlobalVariable.ReplaceWorkspaceMacro(self.FdName)
H A DCompressSection.py22 from GenFdsGlobalVariable import GenFdsGlobalVariable namespace
81 GenFdsGlobalVariable.GenerateSection(OutputFile, SectFiles, Section.Section.SectionType['COMPRESS'],
H A DRegion.py19 from GenFdsGlobalVariable import GenFdsGlobalVariable namespace
57 GenFdsGlobalVariable.InfLogger('\nGenerate Region at Offset 0x%X' % self.Offset)
58 GenFdsGlobalVariable.InfLogger(" Region Size = 0x%X" %Size)
59 GenFdsGlobalVariable.SharpCounter = 0
71 RegionData = GenFdsGlobalVariable.MacroExtend(RegionData, MacroDict)
72 GenFdsGlobalVariable.InfLogger(' Region FV File Name = .fv : %s'%RegionData)
74 RegionData = os.path.join (GenFdsGlobalVariable.WorkSpaceDir, RegionData)
80 GenFdsGlobalVariable.InfLogger(' Region Name = FV')
87 if RegionData.upper() in GenFdsGlobalVariable
[all...]
H A DUiSection.py22 from GenFdsGlobalVariable import GenFdsGlobalVariable namespace
64 FileNameStr = GenFdsGlobalVariable.ReplaceWorkspaceMacro(self.FileName)
65 FileNameStr = GenFdsGlobalVariable.MacroExtend(FileNameStr, Dict)
73 GenFdsGlobalVariable.GenerateSection(OutputFile, None, 'EFI_SECTION_USER_INTERFACE', Ui=NameString)
H A DVerSection.py22 from GenFdsGlobalVariable import GenFdsGlobalVariable namespace
69 FileNameStr = GenFdsGlobalVariable.ReplaceWorkspaceMacro(self.FileName)
70 FileNameStr = GenFdsGlobalVariable.MacroExtend(FileNameStr, Dict)
78 GenFdsGlobalVariable.GenerateSection(OutputFile, None, 'EFI_SECTION_VERSION',
H A DAprioriSection.py22 from GenFdsGlobalVariable import GenFdsGlobalVariable namespace
57 OutputAprFilePath = os.path.join (GenFdsGlobalVariable.WorkSpaceDir, \
58 GenFdsGlobalVariable.FfsDir,\
79 InfFileName = GenFdsGlobalVariable.MacroExtend(InfFileName, Dict, Arch)
82 Inf = GenFdsGlobalVariable.WorkSpace.BuildObject[PathClass(InfFileName, GenFdsGlobalVariable.WorkSpaceDir), Arch, GenFdsGlobalVariable.TargetName, GenFdsGlobalVariable.ToolChainTag]
86 Inf = GenFdsGlobalVariable
[all...]
H A DCapsule.py18 from GenFdsGlobalVariable import GenFdsGlobalVariable namespace
54 GenFdsGlobalVariable.InfLogger( "\nGenerate %s Capsule" %self.UiCapsuleName)
71 CapOutputFile = os.path.join(GenFdsGlobalVariable.FvDir, self.UiCapsuleName)
73 GenFdsGlobalVariable.GenerateFirmwareVolume(
80 GenFdsGlobalVariable.VerboseLogger( "\nGenerate %s Capsule Successfully" %self.UiCapsuleName)
81 GenFdsGlobalVariable.SharpCounter = 0
91 self.CapInfFileName = os.path.join(GenFdsGlobalVariable.FvDir,
H A DDataSection.py19 from GenFdsGlobalVariable import GenFdsGlobalVariable namespace
56 self.SectFileName = GenFdsGlobalVariable.ReplaceWorkspaceMacro(self.SectFileName)
57 self.SectFileName = GenFdsGlobalVariable.MacroExtend(self.SectFileName, Dict, FfsFile.CurrentArch)
59 self.SectFileName = GenFdsGlobalVariable.ReplaceWorkspaceMacro(self.SectFileName)
60 self.SectFileName = GenFdsGlobalVariable.MacroExtend(self.SectFileName, Dict)
65 self.SectFileName = os.path.join (GenFdsGlobalVariable.WorkSpaceDir,
69 Filename = GenFdsGlobalVariable.MacroExtend(self.SectFileName)
97 GenFdsGlobalVariable.GenerateFirmwareImage(
99 [GenFdsGlobalVariable
[all...]
H A DDepexSection.py19 from GenFdsGlobalVariable import GenFdsGlobalVariable namespace
41 for Arch in GenFdsGlobalVariable.ArchList:
42 for PkgDb in GenFdsGlobalVariable.WorkSpace.GetPackageList(GenFdsGlobalVariable.ActivePlatform,
44 GenFdsGlobalVariable.TargetName,
45 GenFdsGlobalVariable.ToolChainTag):
110 GenFdsGlobalVariable.GenerateSection(OutputFile, [InputFile], Section.Section.SectionType.get (SecType))
H A DEfiSection.py20 from GenFdsGlobalVariable import GenFdsGlobalVariable namespace
58 self.FileName = GenFdsGlobalVariable.GetPcdValue(self.FileName)
82 Filename = GenFdsGlobalVariable.MacroExtend(Filename, Dict)
119 GenFdsGlobalVariable.GenerateSection(OutputFile, [], 'EFI_SECTION_VERSION',
135 GenFdsGlobalVariable.GenerateSection(OutputFile, [], 'EFI_SECTION_VERSION',
151 GenFdsGlobalVariable.VerboseLogger( "Optional Section don't exist!")
157 GenFdsGlobalVariable.GenerateSection(OutputFile, [], 'EFI_SECTION_VERSION',
175 GenFdsGlobalVariable.GenerateSection(OutputFile, [], 'EFI_SECTION_USER_INTERFACE',
187 GenFdsGlobalVariable
[all...]
H A DFd.py24 from GenFdsGlobalVariable import GenFdsGlobalVariable namespace
55 GenFdsGlobalVariable.InfLogger("Fd File Name:%s" %self.FdUiName)
61 GenFdsGlobalVariable.VerboseLogger('Following Fv will be add to Fd !!!')
62 for FvObj in GenFdsGlobalVariable.FdfParser.Profile.FvDict:
63 GenFdsGlobalVariable.VerboseLogger(FvObj)
65 GenFdsGlobalVariable.VerboseLogger('################### Gen VTF ####################')
80 GenFdsGlobalVariable.InfLogger('Padding region starting from offset 0x%X, with size 0x%X' %(PreviousRegionStart + PreviousRegionSize, RegionObj.Offset - (PreviousRegionStart + PreviousRegionSize)))
92 GenFdsGlobalVariable.VerboseLogger('Call each region\'s AddToBuffer function')
108 GenFdsGlobalVariable
[all...]
H A DFfsFileStatement.py24 from GenFdsGlobalVariable import GenFdsGlobalVariable namespace
60 PcdValue = GenFdsGlobalVariable.GetPcdValue(self.NameGuid)
72 OutputDir = os.path.join(GenFdsGlobalVariable.FfsDir, self.NameGuid)
80 if self.FvName.upper() not in GenFdsGlobalVariable.FdfParser.Profile.FvDict.keys():
82 Fv = GenFdsGlobalVariable.FdfParser.Profile.FvDict.get(self.FvName.upper())
87 if self.FdName.upper() not in GenFdsGlobalVariable.FdfParser.Profile.FdDict.keys():
89 Fd = GenFdsGlobalVariable.FdfParser.Profile.FdDict.get(self.FdName.upper())
94 self.FileName = GenFdsGlobalVariable.ReplaceWorkspaceMacro(self.FileName)
95 SectionFiles = [GenFdsGlobalVariable
[all...]
H A DFv.py26 from GenFdsGlobalVariable import GenFdsGlobalVariable namespace
76 for FdName in GenFdsGlobalVariable.FdfParser.Profile.FdDict.keys():
77 FdObj = GenFdsGlobalVariable.FdfParser.Profile.FdDict[FdName]
86 GenFdsGlobalVariable.ErrorLogger("Capsule %s in FD region can't contain a FV %s in FD region." % (self.CapsuleName, self.UiFvName.upper()))
88 GenFdsGlobalVariable.InfLogger( "\nGenerating %s FV" %self.UiFvName)
99 GenFdsGlobalVariable.VerboseLogger('First generate Apriori file !')
122 FvOutputFile = os.path.join(GenFdsGlobalVariable.FvDir, self.UiFvName)
128 FvInfoFileName = os.path.join(GenFdsGlobalVariable.FfsDir, self.UiFvName + '.inf')
129 shutil.copy(GenFdsGlobalVariable
[all...]
H A DFvImageSection.py22 from GenFdsGlobalVariable import GenFdsGlobalVariable namespace
65 GenFdsGlobalVariable.GenerateSection(OutputFile, [FvFileName], 'EFI_SECTION_FIRMWARE_VOLUME_IMAGE')
73 Fv = GenFdsGlobalVariable.FdfParser.Profile.FvDict.get(self.FvName)
81 if GenFdsGlobalVariable.GetAlignment (Fv.FvAlignment) > GenFdsGlobalVariable.GetAlignment (self.Alignment):
85 FvFileName = GenFdsGlobalVariable.ReplaceWorkspaceMacro(self.FvFileName)
93 GenFdsGlobalVariable.GenerateSection(OutputFile, [FvFileName], 'EFI_SECTION_FIRMWARE_VOLUME_IMAGE')
H A DGuidSection.py22 from GenFdsGlobalVariable import GenFdsGlobalVariable namespace
60 self.CurrentArchList = GenFdsGlobalVariable.ArchList
103 if GenFdsGlobalVariable.GetAlignment (align) > GenFdsGlobalVariable.GetAlignment (MaxAlign):
116 if GenFdsGlobalVariable.GetAlignment (MaxAlign) > GenFdsGlobalVariable.GetAlignment (self.Alignment):
137 GenFdsGlobalVariable.VerboseLogger( "Use GenSection function Generate CRC32 Section")
138 GenFdsGlobalVariable.GenerateSection(OutputFile, SectFile, Section.Section.SectionType[self.SectionType], InputAlign=SectAlign)
150 GenFdsGlobalVariable
[all...]
H A DOptRomInfStatement.py27 from GenFdsGlobalVariable import GenFdsGlobalVariable namespace
56 GenFdsGlobalVariable.ErrorLogger( "Expected TRUE/FALSE for PCI_COMPRESS: %s" %self.InfFileName)
72 # InfObj = GenFdsGlobalVariable.WorkSpace.BuildObject[self.PathClassObj, self.CurrentArch]
95 GenFdsGlobalVariable.VerboseLogger( "Packing binaries from inf file : %s" %self.InfFileName)
H A DOptionRom.py24 from GenFdsGlobalVariable import GenFdsGlobalVariable namespace
55 GenFdsGlobalVariable.InfLogger( "\nGenerating %s Option ROM ..." %self.DriverName)
71 TmpOutputDir = os.path.join(GenFdsGlobalVariable.FvDir, self.DriverName)
76 GenFdsGlobalVariable.GenerateOptionRom(TmpOutputFile,
89 TmpOutputDir = os.path.join(GenFdsGlobalVariable.FvDir, self.DriverName)
94 GenFdsGlobalVariable.GenerateOptionRom(TmpOutputFile,
112 OutputFile = os.path.join(GenFdsGlobalVariable.FvDir, self.DriverName)
115 GenFdsGlobalVariable.GenerateOptionRom(
121 GenFdsGlobalVariable
[all...]
H A DSection.py19 from GenFdsGlobalVariable import GenFdsGlobalVariable namespace
136 GenFdsGlobalVariable.InfLogger ("\nBuild Target \'%s\' of File %s is not in the Scope of %s specified by INF %s in FDF" %(File.Target, File.File, FfsInf.TargetOverrideList, FfsInf.InfFileName))
138 GenFdsGlobalVariable.VerboseLogger ("\nFile Type \'%s\' of File %s in %s is not same with file type \'%s\' from Rule in FDF" %(File.Type, File.File, FfsInf.InfFileName, FileType))
140 GenFdsGlobalVariable.InfLogger ("\nCurrent ARCH \'%s\' of File %s is not in the Support Arch Scope of %s specified by INF %s in FDF" %(FfsInf.CurrentArch, File.File, File.Arch, FfsInf.InfFileName))
H A DVtf.py18 from GenFdsGlobalVariable import GenFdsGlobalVariable namespace
45 OutputFile = os.path.join(GenFdsGlobalVariable.FvDir, self.UiName + '.Vtf')
55 GenFdsGlobalVariable.CallExternalTool(Cmd, "GenFv -Vtf Failed!")
56 GenFdsGlobalVariable.SharpCounter = 0
68 self.BsfInfName = os.path.join(GenFdsGlobalVariable.FvDir, self.UiName + '.inf')
74 GenFdsGlobalVariable.MacroExtend(GenFdsGlobalVariable.ReplaceWorkspaceMacro(self.ResetBin)) + \
124 BinPath = GenFdsGlobalVariable.MacroExtend(GenFdsGlobalVariable
[all...]
H A DFfsInfStatement.py23 from GenFdsGlobalVariable import GenFdsGlobalVariable namespace
71 FinalBuildTargetList = GenFdsGlobalVariable.GetModuleCodaTargetList(self.InfModule, self.CurrentArch)
79 PlatformDataBase = GenFdsGlobalVariable.WorkSpace.BuildObject[GenFdsGlobalVariable.ActivePlatform, self.CurrentArch, GenFdsGlobalVariable.TargetName, GenFdsGlobalVariable.ToolChainTag]
122 LibraryModule = GenFdsGlobalVariable.WorkSpace.BuildObject[LibraryPath, self.CurrentArch, GenFdsGlobalVariable.TargetName, GenFdsGlobalVariable
[all...]
H A DGenFds.py24 from GenFdsGlobalVariable import GenFdsGlobalVariable namespace
68 GenFdsGlobalVariable.VerboseMode = True
71 GenFdsGlobalVariable.FixedLoadAddress = True
77 GenFdsGlobalVariable.DebugLevel = Options.debug
89 GenFdsGlobalVariable.WorkSpaceDir = Workspace
91 GenFdsGlobalVariable.EdkSourceDir = os.path.normcase(os.environ['EDK_SOURCE'])
93 GenFdsGlobalVariable.VerboseLogger( "Using Workspace:" + Workspace)
94 os.chdir(GenFdsGlobalVariable.WorkSpaceDir)
98 FdfFilename = GenFdsGlobalVariable
[all...]
H A DGenFdsGlobalVariable.py37 class GenFdsGlobalVariable: class in inherits:
75 if GenFdsGlobalVariable.__BuildRuleDatabase:
76 return GenFdsGlobalVariable.__BuildRuleDatabase
77 BuildConfigurationFile = os.path.normpath(os.path.join(GenFdsGlobalVariable.WorkSpaceDir, "Conf/target.txt"))
89 GenFdsGlobalVariable.__BuildRuleDatabase = BuildRule(BuildRuleFile)
98 and GenFdsGlobalVariable.ToolChainTag in ToolDefinition[DataType.TAB_TOD_DEFINES_BUILDRULEFAMILY] \
99 and ToolDefinition[DataType.TAB_TOD_DEFINES_BUILDRULEFAMILY][GenFdsGlobalVariable.ToolChainTag]:
100 GenFdsGlobalVariable.BuildRuleFamily = ToolDefinition[DataType.TAB_TOD_DEFINES_BUILDRULEFAMILY][GenFdsGlobalVariable.ToolChainTag]
103 and GenFdsGlobalVariable
[all...]
H A DFdfParser.py45 from GenFdsGlobalVariable import GenFdsGlobalVariable namespace
228 if GenFdsGlobalVariable.WorkSpaceDir == '':
229 GenFdsGlobalVariable.WorkSpaceDir = os.getenv("WORKSPACE")
595 if GenFdsGlobalVariable.ActivePlatform:
596 PlatformDir = GenFdsGlobalVariable.ActivePlatform.Dir
1401 FdName = GenFdsGlobalVariable.PlatformName
2323 ErrorCode, ErrorInfo = PathClass(NormPath(ffsInf.InfFileName), GenFdsGlobalVariable.WorkSpaceDir).Validate()
2548 ErrorCode, ErrorInfo = PathClass(NormPath(FfsFileObj.FileName), GenFdsGlobalVariable.WorkSpaceDir).Validate()
2554 ErrorCode, ErrorInfo = PathClass(NormPath(FfsFileObj.FileName), GenFdsGlobalVariable
[all...]

Completed in 59 milliseconds