Searched refs:Arch (Results 1 - 25 of 67) sorted by relevance

123

/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/UPT/Object/Parser/
H A DDecObject.py83 # Key is combined with (Arch, SectionType)
133 # @param Arch: arch
135 def _GetItemByArch(self, Arch):
136 Arch = Arch.upper()
137 if Arch not in self.ValueDict:
139 return self.ValueDict[Arch]
146 for Arch in self.ValueDict:
147 for Item in self.ValueDict[Arch]:
168 for Arch i
[all...]
H A DInfCommonObject.py110 # Key is supported Arch
140 # @param Arch: Arch
142 def SetSupArchList(self, Arch):
143 if Arch not in self.SupArchList:
144 self.SupArchList.append(Arch)
H A DInfDepexObject.py58 def SetSupArch(self, Arch):
59 self.SupArch = Arch
96 Arch = KeyItem[0]
101 # Validate Arch
103 if IsValidArch(Arch.strip().upper()):
104 InfDepexItemIns.SetSupArch(Arch)
108 ST.ERR_INF_PARSER_DEFINE_NAME_INVALID % (Arch),
H A DInfPackagesObject.py71 def SetPackages(self, PackageData, Arch = None):
74 for ArchItem in Arch:
76 # Validate Arch
185 def GetPackages(self, Arch = None):
186 if Arch == None:
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/Common/
H A DEdkIIWorkspaceBuild.py377 # @param Arch: Build arch
382 # @var Arch: To store value for Build Arch
391 def __init__(self, Arch, Platform = None, Package = None, Module = None):
392 self.Arch = Arch
429 # { (PcdGuid, PcdCName, Arch) : DecFileName }
453 for Arch in DataType.ARCH_LIST:
454 self.Build[Arch] = ItemBuild(Arch)
[all...]
H A DInfClassObject.py308 Arch = TokenList[1].upper()
310 Arch = TAB_ARCH_COMMON
312 if Arch not in self.Defines:
313 self.Defines[Arch] = InfDefines()
314 GetSingleValueOfKeyFromLines(Lines, self.Defines[Arch].DefinesDictionary,
411 EdkLogger.error("Parser", PARSER_ERROR, "Invalid Arch definition '%s' found" % ItemList[1], File=Filename, Line=LineNo, RaiseError=EdkLogger.IsRaiseError)
448 for Arch in M.Header.keys():
449 print '\nArch =', Arch
450 print 'Filename =', M.Header[Arch].FileName
451 print 'FullPath =', M.Header[Arch]
[all...]
H A DDscClassObject.py213 SqlCommand = """select ID, Value1, Arch, StartLine from %s
222 ID, Value1, Value2, Arch = Record[0], ValueList[0], ValueList[1], Record[2]
230 for Arch in DataType.ARCH_LIST:
233 PlatformHeader.Name = QueryDefinesItem(self.TblDsc, TAB_DSC_DEFINES_PLATFORM_NAME, Arch, self.FileID)[0]
234 PlatformHeader.Guid = QueryDefinesItem(self.TblDsc, TAB_DSC_DEFINES_PLATFORM_GUID, Arch, self.FileID)[0]
235 PlatformHeader.Version = QueryDefinesItem(self.TblDsc, TAB_DSC_DEFINES_PLATFORM_VERSION, Arch, self.FileID)[0]
238 PlatformHeader.DscSpecification = QueryDefinesItem(self.TblDsc, TAB_DSC_DEFINES_DSC_SPECIFICATION, Arch, self.FileID)[0]
240 PlatformHeader.SkuIdName = QueryDefinesItem(self.TblDsc, TAB_DSC_DEFINES_SKUID_IDENTIFIER, Arch, self.FileID)
241 PlatformHeader.SupArchList = QueryDefinesItem(self.TblDsc, TAB_DSC_DEFINES_SUPPORTED_ARCHITECTURES, Arch, self.FileID)
242 PlatformHeader.BuildTargets = QueryDefinesItem(self.TblDsc, TAB_DSC_DEFINES_BUILD_TARGETS, Arch, sel
[all...]
H A DDecClassObject.py218 EdkLogger.error("Parser", PARSER_ERROR, "Invalid Arch definition '%s' found" % ItemList[1], File=Filename, Line=LineNo, RaiseError=EdkLogger.IsRaiseError)
310 ID, Value1, Value2, Arch, LineNo = Record[3], ValueList[0], ValueList[1], Record[1], Record[2]
318 for Arch in self.SupArchList:
321 PackageHeader.Name = QueryDefinesItem(self.TblDec, TAB_DEC_DEFINES_PACKAGE_NAME, Arch, self.FileID)[0]
322 PackageHeader.Guid = QueryDefinesItem(self.TblDec, TAB_DEC_DEFINES_PACKAGE_GUID, Arch, self.FileID)[0]
323 PackageHeader.Version = QueryDefinesItem(self.TblDec, TAB_DEC_DEFINES_PACKAGE_VERSION, Arch, self.FileID)[0]
326 PackageHeader.DecSpecification = QueryDefinesItem(self.TblDec, TAB_DEC_DEFINES_DEC_SPECIFICATION, Arch, self.FileID)[0]
328 self.Package.Header[Arch] = PackageHeader
348 for Arch in self.SupArchList:
350 if Record[1] == Arch o
[all...]
H A DFdfClassObject.py89 (Model, Value1, Value2, Value3, Arch, BelongsToItem, BelongsToFile, StartLine, StartColumn, EndLine, EndColumn, Enabled) = \
100 self.TblFdf.Insert(Model, Value1, Value2, Value3, Arch, BelongsToItem, BelongsToFile, StartLine, StartColumn, EndLine, EndColumn, Enabled)
108 self.TblFdf.Insert(Model, Value1, Value2, Value3, Arch, BelongsToItem, BelongsToFile, StartLine, StartColumn, EndLine, EndColumn, Enabled)
H A DMigrationUtilities.py363 # @param Arch CPU architecture: Ia32, X64, Ipf, ARM, Ebc or Common.
366 def AddToSection(Section, Arch, Item):
367 SectionArch = Section.get(Arch, [])
370 Section[Arch] = SectionArch
396 for Arch in SupportedArches:
397 if Arch.upper() in Arches:
398 AddToSection(SectionDict, Arch, Item)
401 for Arch in SupportedArches:
402 SectionArch = "\n".join(SectionDict.get(Arch, []))
404 Section += "[%s.%s]\n%s\n" % (SectionName, Arch, SectionArc
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/Table/
H A DTableDec.py43 # @param Arch: Arch of a Dec item
58 Arch VarCHAR,
78 # @param Arch: Arch of a Dec item
87 def Insert(self, Model, Value1, Value2, Value3, Value4, Value5, Arch, BelongsToItem, BelongsToFile, StartLine, StartColumn, EndLine, EndColumn, Enabled):
89 (Value1, Value2, Value3, Arch) = ConvertToSqlString((Value1, Value2, Value3, Arch))
91 % (self.Table, self.ID, Model, Value1, Value2, Value3, Arch, BelongsToItem, BelongsToFile, StartLine, StartColumn, EndLine, EndColumn, Enabled)
103 SqlCommand = """select ID, Value1, Value2, Value3, Arch, BelongsToIte
[all...]
H A DTableDsc.py43 # @param Arch: Arch of a Dsc item
58 Arch VarCHAR,
78 # @param Arch: Arch of a Dsc item
87 def Insert(self, Model, Value1, Value2, Value3, Arch, BelongsToItem, BelongsToFile, StartLine, StartColumn, EndLine, EndColumn, Enabled):
89 (Value1, Value2, Value3, Arch) = ConvertToSqlString((Value1, Value2, Value3, Arch))
91 % (self.Table, self.ID, Model, Value1, Value2, Value3, Arch, BelongsToItem, BelongsToFile, StartLine, StartColumn, EndLine, EndColumn, Enabled)
103 SqlCommand = """select ID, Value1, Value2, Value3, Arch, BelongsToIte
[all...]
H A DTableInf.py45 # @param Arch: Arch of a Inf item
62 Arch VarCHAR,
84 # @param Arch: Arch of a Inf item
93 def Insert(self, Model, Value1, Value2, Value3, Value4, Value5, Arch, BelongsToItem, BelongsToFile, StartLine, StartColumn, EndLine, EndColumn, Enabled):
95 (Value1, Value2, Value3, Value4, Value5, Arch) = ConvertToSqlString((Value1, Value2, Value3, Value4, Value5, Arch))
97 % (self.Table, self.ID, Model, Value1, Value2, Value3, Value4, Value5, Arch, BelongsToItem, BelongsToFile, StartLine, StartColumn, EndLine, EndColumn, Enabled)
109 SqlCommand = """select ID, Value1, Value2, Value3, Arch, BelongsToIte
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/UPT/GenMetaFile/
H A DGenMetaFileMisc.py27 # @param Arch: string of source file family field
30 def AddExternToDefineSec(SectionDict, Arch, ExternList):
32 if Arch or ArchList:
41 SectionDict[Arch] = SectionDict[Arch] + [Statement]
51 SectionDict[Arch] = SectionDict[Arch] + [Statement]
61 SectionDict[Arch] = SectionDict[Arch] + [Statement]
71 SectionDict[Arch]
[all...]
H A DGenInfFile.py243 KeyList = [Arch + '.' + ModuleString for Arch in ArchList]
265 for Arch in BinaryFile.SupArchList:
266 if LibraryClassDict.has_key(Arch):
267 LibraryClassDict[Arch].append(Statement)
269 LibraryClassDict[Arch] = ['## @LIB_INSTANCES']
270 LibraryClassDict[Arch].append(Statement)
371 for Arch in SupArchList:
372 KeyList.append(ConvertArchForInstall(Arch) + '.' + ModuleType)
411 KeyList = [CommonPreFix + '.' + Arch fo
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/GenFds/
H A DAprioriSection.py75 Arch = FfsObj.GetCurrentArch()
77 if Arch != None:
78 Dict['$(ARCH)'] = Arch
79 InfFileName = GenFdsGlobalVariable.MacroExtend(InfFileName, Dict, Arch)
81 if Arch != None:
82 Inf = GenFdsGlobalVariable.WorkSpace.BuildObject[PathClass(InfFileName, GenFdsGlobalVariable.WorkSpaceDir), Arch, GenFdsGlobalVariable.TargetName, GenFdsGlobalVariable.ToolChainTag]
H A DSection.py131 if File.Arch == "COMMON" or FfsInf.CurrentArch == File.Arch:
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 DGenFdsGlobalVariable.py110 # @param Arch: current arch
113 def GetBuildRules(Inf, Arch):
114 if not Arch:
115 Arch = 'COMMON'
117 if not Arch in GenFdsGlobalVariable.OutputDirDict:
139 Macro["ARCH" ] = Arch
145 Macro["BUILD_DIR" ] = GenFdsGlobalVariable.OutputDirDict[Arch]
146 Macro["BIN_DIR" ] = os.path.join(GenFdsGlobalVariable.OutputDirDict[Arch], Arch)
147 Macro["LIB_DIR" ] = os.path.join(GenFdsGlobalVariable.OutputDirDict[Arch], Arc
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/Ecc/MetaFileWorkspace/
H A DMetaFileTable.py77 # @param Scope1: Arch of a Inf item
109 # @param Arch: The Arch attribute of Record
114 def Query(self, Model, Arch=None, Platform=None):
118 if Arch != None and Arch != 'COMMON':
119 ConditionString += " AND (Scope1='%s' OR Scope1='COMMON')" % Arch
159 # @param Scope1: Arch of a Dec item
191 # @param Arch: The Arch attribut
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/Workspace/
H A DMetaFileTable.py101 # @param Scope1: Arch of a Inf item
132 # @param Arch: The Arch attribute of Record
137 def Query(self, Model, Arch=None, Platform=None):
141 if Arch != None and Arch != 'COMMON':
142 ConditionString += " AND (Scope1='%s' OR Scope1='COMMON')" % Arch
181 # @param Scope1: Arch of a Dec item
212 # @param Arch: The Arch attribut
[all...]
H A DWorkspaceDatabase.py91 # @param Arch The target architecture
95 def __init__(self, FilePath, RawData, BuildDataBase, Arch='COMMON', Target=None, Toolchain=None):
99 self._Arch = Arch
456 ModuleFile = PathClass(NormPath(Record[0], Macros), GlobalData.gWorkspace, Arch=self._Arch)
489 LibraryPath = PathClass(NormPath(Record[1], Macros), GlobalData.gWorkspace, Arch=self._Arch)
564 LibraryClass, LibraryInstance, Dummy, Arch, ModuleType, Dummy, LineNo = Record
568 EdkLogger.verbose("Found forced library for arch=%s\n\t%s [%s]" % (Arch, LibraryInstance, LibraryClass))
570 LibraryInstance = PathClass(NormPath(LibraryInstance, Macros), GlobalData.gWorkspace, Arch=self._Arch)
580 LibraryClassDict[Arch, ModuleType, LibraryClass] = LibraryInstance
598 File = PathClass(NormPath(Record[0], Macros), GlobalData.gWorkspace, Arch
872 Arch = property(_GetArch, _SetArch) variable in class:DscBuildData
1217 Arch = property(_GetArch, _SetArch) variable in class:DecBuildData
2206 Arch = property(_GetArch, _SetArch) variable in class:InfBuildData
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/Eot/
H A DInfParserLite.py92 Arch = ArchList[Index]
94 if Arch == '':
95 Arch = TAB_ARCH_COMMON
100 self.TblInf.Insert(MODEL_META_DATA_HEADER, Name, Value, Third, '', '', Arch, -1, self.FileID, Item[1], -1, Item[1], -1, 0)
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/UPT/Parser/
H A DInfDefineSectionParser.py51 for Arch in ArchList:
52 if IsValidArch(Arch):
53 NewArchList.append(Arch)
196 InfSectionObject.SetDefines(_ContentList, Arch=ArchList)
H A DInfGuidPpiProtocolSectionParser.py115 if not InfSectionObject.SetGuid(GuidList, Arch=ArchList):
200 if not InfSectionObject.SetPpi(PpiList, Arch=ArchList):
244 Arch = Item[3]
246 if not IsValidArch(Arch):
250 ST.ERR_INF_PARSER_DEFINE_FROMAT_INVALID % (Arch),
255 if (UserId, IdString, Arch) not in IdContentList:
273 IdContentList.append((UserId, IdString, Arch))
277 # of UserId, IdString and Arch values.
279 # section header, provided the IdString or Arch values are
281 # one section header if the UserId or Arch value
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/AutoGen/
H A DAutoGen.py108 # @param Arch Target arch
112 def __new__(Class, Workspace, MetaFile, Target, Toolchain, Arch, *args, **kwargs):
115 if Key not in Class._CACHE_ or Arch not in Class._CACHE_[Key] \
116 or MetaFile not in Class._CACHE_[Key][Arch]:
119 if not AutoGenObject._Init(Workspace, MetaFile, Target, Toolchain, Arch, *args, **kwargs):
123 if Arch not in Class._CACHE_[Key]:
124 Class._CACHE_[Key][Arch] = {}
125 Class._CACHE_[Key][Arch][MetaFile] = AutoGenObject
127 AutoGenObject = Class._CACHE_[Key][Arch][MetaFile]
210 # Merge Arch
[all...]

Completed in 311 milliseconds

123