Home
last modified time | relevance | path

Searched refs:Arch (Results 1 – 25 of 89) sorted by relevance

1234

/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DEdkIIWorkspaceBuild.py391 def __init__(self, Arch, Platform = None, Package = None, Module = None): argument
392 self.Arch = Arch
453 for Arch in DataType.ARCH_LIST:
454 self.Build[Arch] = ItemBuild(Arch)
482 for Arch in DataType.ARCH_LIST:
483 for Item in Platform.Header[Arch].SupArchList:
487 for Arch in DataType.ARCH_LIST:
488 for Item in Platform.Header[Arch].BuildTargets:
491 for Arch in self.SupArchList:
492 self.SkuId = Platform.Header[Arch].SkuIdName
[all …]
DInfClassObject.py309 Arch = TokenList[1].upper()
311 Arch = TAB_ARCH_COMMON
313 if Arch not in self.Defines:
314 self.Defines[Arch] = InfDefines()
315 GetSingleValueOfKeyFromLines(Lines, self.Defines[Arch].DefinesDictionary,
449 for Arch in M.Header.keys():
450 print '\nArch =', Arch
451 print 'Filename =', M.Header[Arch].FileName
452 print 'FullPath =', M.Header[Arch].FullPath
453 print 'BaseName =', M.Header[Arch].Name
[all …]
DDscClassObject.py222 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.File…
234 …PlatformHeader.Guid = QueryDefinesItem(self.TblDsc, TAB_DSC_DEFINES_PLATFORM_GUID, Arch, self.File…
235 …der.Version = QueryDefinesItem(self.TblDsc, TAB_DSC_DEFINES_PLATFORM_VERSION, Arch, self.FileID)[0]
238 …cification = QueryDefinesItem(self.TblDsc, TAB_DSC_DEFINES_DSC_SPECIFICATION, Arch, self.FileID)[0]
240 …ader.SkuIdName = QueryDefinesItem(self.TblDsc, TAB_DSC_DEFINES_SKUID_IDENTIFIER, Arch, self.FileID)
241 …rchList = QueryDefinesItem(self.TblDsc, TAB_DSC_DEFINES_SUPPORTED_ARCHITECTURES, Arch, self.FileID)
242 …ader.BuildTargets = QueryDefinesItem(self.TblDsc, TAB_DSC_DEFINES_BUILD_TARGETS, Arch, self.FileID)
243 …y = NormPath(QueryDefinesItem(self.TblDsc, TAB_DSC_DEFINES_OUTPUT_DIRECTORY, Arch, self.FileID)[0])
[all …]
DDecClassObject.py311 … ID, Value1, Value2, Arch, LineNo = Record[3], ValueList[0], ValueList[1], Record[1], Record[2]
319 for Arch in self.SupArchList:
322 …PackageHeader.Name = QueryDefinesItem(self.TblDec, TAB_DEC_DEFINES_PACKAGE_NAME, Arch, self.FileID…
323 …PackageHeader.Guid = QueryDefinesItem(self.TblDec, TAB_DEC_DEFINES_PACKAGE_GUID, Arch, self.FileID…
324 …ader.Version = QueryDefinesItem(self.TblDec, TAB_DEC_DEFINES_PACKAGE_VERSION, Arch, self.FileID)[0]
327 …cification = QueryDefinesItem(self.TblDec, TAB_DEC_DEFINES_DEC_SPECIFICATION, Arch, self.FileID)[0]
329 self.Package.Header[Arch] = PackageHeader
349 for Arch in self.SupArchList:
351 if Record[1] == Arch or Record[1] == TAB_ARCH_COMMON:
352 MergeArches(Includes, Record[0], Arch)
[all …]
DMigrationUtilities.py367 def AddToSection(Section, Arch, Item): argument
368 SectionArch = Section.get(Arch, [])
371 Section[Arch] = SectionArch
397 for Arch in SupportedArches:
398 if Arch.upper() in Arches:
399 AddToSection(SectionDict, Arch, Item)
402 for Arch in SupportedArches:
403 SectionArch = "\n".join(SectionDict.get(Arch, []))
405 Section += "[%s.%s]\n%s\n" % (SectionName, Arch, SectionArch)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Object/Parser/
DDecObject.py135 def _GetItemByArch(self, Arch): argument
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 in self.ArchAndModuleType:
169 ArchSet.add(Arch)
273 def GetIncludes(self, Arch=TAB_ARCH_COMMON): argument
274 return self._GetItemByArch(Arch)
[all …]
DInfDepexObject.py58 def SetSupArch(self, Arch): argument
59 self.SupArch = Arch
96 Arch = KeyItem[0]
103 if IsValidArch(Arch.strip().upper()):
104 InfDepexItemIns.SetSupArch(Arch)
108 ST.ERR_INF_PARSER_DEFINE_NAME_INVALID % (Arch),
DInfCommonObject.py142 def SetSupArchList(self, Arch): argument
143 if Arch not in self.SupArchList:
144 self.SupArchList.append(Arch)
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/
Dbld_vlv.sh31 Arch=X64
106 Arch=X64
126 if [ $Arch == "IA32" ]; then
202 ACTIVE_PLATFORM=$PLATFORM_PACKAGE/PlatformPkgGcc"$Arch".dsc
209 if [ $Arch == "IA32" ]; then
221 if [ ! -d "$BUILD_PATH/$Arch" ]; then
222 mkdir -p $BUILD_PATH/$Arch
224 if [ -e "$BUILD_PATH/$Arch/BiosId.bin" ]; then
225 rm -f $BUILD_PATH/$Arch/BiosId.bin
229 ./$PLATFORM_PACKAGE/GenBiosId -i Conf/BiosId.env -o $BUILD_PATH/$Arch/BiosId.bin
[all …]
Dbld_vlv.bat28 set Arch=X64 variable
97 set Arch=X64 variable
102 set Arch=IA32 variable
111 if "%Arch%"=="IA32" (
114 ) else if "%Arch%"=="X64" (
186 if "%Arch%"=="IA32" (
188 ) else if "%Arch%"=="X64" (
194 echo ACTIVE_PLATFORM = %PLATFORM_PACKAGE%/PlatformPkg%Arch%.dsc >> Conf\target.txt.tmp
196 echo ACTIVE_PLATFORM = %PLATFORM_PACKAGE%/PlatformPkg%Arch%Source.dsc >> Conf\target.txt.tmp
210 if "%Arch%"=="X64" (
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/GenMetaFile/
DGenMetaFileMisc.py30 def AddExternToDefineSec(SectionDict, Arch, ExternList): argument
33 if Arch or ArchList:
42 SectionDict[Arch] = SectionDict[Arch] + [Statement]
53 SectionDict[Arch] = SectionDict[Arch] + [Statement]
64 SectionDict[Arch] = SectionDict[Arch] + [Statement]
75 SectionDict[Arch] = SectionDict[Arch] + [Statement]
DGenInfFile.py422 KeyList = [Arch + '.' + ModuleString for Arch in ArchList]
444 for Arch in BinaryFile.SupArchList:
445 if LibraryClassDict.has_key(Arch):
446 if Statement not in LibraryClassDict[Arch]:
447 LibraryClassDict[Arch].append(Statement)
451 LibraryClassDict[Arch] = ['## @LIB_INSTANCES']
452 LibraryClassDict[Arch].append(Statement)
547 for Arch in SupArchList:
548 KeyList.append(ConvertArchForInstall(Arch) + '.' + ModuleType)
585 KeyList = [CommonPreFix + '.' + Arch for Arch in ArchList]
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/
DGenFdsGlobalVariable.py126 def GetBuildRules(Inf, Arch): argument
127 if not Arch:
128 Arch = 'COMMON'
130 if not Arch in GenFdsGlobalVariable.OutputDirDict:
152 Macro["ARCH" ] = Arch
158 Macro["BUILD_DIR" ] = GenFdsGlobalVariable.OutputDirDict[Arch]
159 … Macro["BIN_DIR" ] = os.path.join(GenFdsGlobalVariable.OutputDirDict[Arch], Arch)
160 … Macro["LIB_DIR" ] = os.path.join(GenFdsGlobalVariable.OutputDirDict[Arch], Arch)
162 GenFdsGlobalVariable.OutputDirDict[Arch],
163 Arch,
[all …]
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 …ce.BuildObject[PathClass(InfFileName, GenFdsGlobalVariable.WorkSpaceDir), Arch, GenFdsGlobalVariab…
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Workspace/
DWorkspaceCommon.py28 def GetPackageList(Platform, BuildDatabase, Arch, Target, Toolchain): argument
31 Data = BuildDatabase[ModuleFile, Arch, Target, Toolchain]
33 for Lib in GetLiabraryInstances(Data, Platform, BuildDatabase, Arch, Target, Toolchain):
46 def GetDeclaredPcd(Platform, BuildDatabase, Arch, Target, Toolchain): argument
47 PkgList = GetPackageList(Platform, BuildDatabase, Arch, Target, Toolchain)
72 def GetLiabraryInstances(Module, Platform, BuildDatabase, Arch, Target, Toolchain): argument
74 return _GetModuleLibraryInstances(Module, Platform, BuildDatabase, Arch, Target, Toolchain)
78 def _GetModuleLibraryInstances(Module, Platform, BuildDatabase, Arch, Target, Toolchain): argument
119 LibraryModule = BuildDatabase[LibraryPath, Arch, Target, Toolchain]
DMetaFileTable.py138 def Query(self, Model, Arch=None, Platform=None, BelongsToItem=None): argument
142 if Arch != None and Arch != 'COMMON':
143 ConditionString += " AND (Scope1='%s' OR Scope1='COMMON')" % Arch
219 def Query(self, Model, Arch=None): argument
223 if Arch != None and Arch != 'COMMON':
224 ConditionString += " AND (Scope1='%s' OR Scope1='COMMON')" % Arch
DWorkspaceDatabase.py103 … def __init__(self, FilePath, RawData, BuildDataBase, Arch='COMMON', Target=None, Toolchain=None): argument
107 self._Arch = Arch
170 ModuleFile = PathClass(NormPath(Record[0]), GlobalData.gWorkspace, Arch=self._Arch)
560 … ModuleFile = PathClass(NormPath(Record[0], Macros), GlobalData.gWorkspace, Arch=self._Arch)
581 … LibraryPath = PathClass(NormPath(Record[1], Macros), GlobalData.gWorkspace, Arch=self._Arch)
641 ModuleFile.Arch = self._Arch
666 LibraryClass, LibraryInstance, Dummy, Arch, ModuleType, Dummy, LineNo = Record
670 …EdkLogger.verbose("Found forced library for arch=%s\n\t%s [%s]" % (Arch, LibraryInstance, LibraryC…
672 …raryInstance = PathClass(NormPath(LibraryInstance, Macros), GlobalData.gWorkspace, Arch=self._Arch)
682 LibraryClassDict[Arch, ModuleType, LibraryClass] = LibraryInstance
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Table/
DTableDsc.py87 …def Insert(self, Model, Value1, Value2, Value3, Arch, BelongsToItem, BelongsToFile, StartLine, Sta… argument
89 (Value1, Value2, Value3, Arch) = ConvertToSqlString((Value1, Value2, Value3, Arch))
91 …% (self.Table, self.ID, Model, Value1, Value2, Value3, Arch, BelongsToItem, BelongsToFile, StartLi…
DTableDec.py87 …def Insert(self, Model, Value1, Value2, Value3, Value4, Value5, Arch, BelongsToItem, BelongsToFile… argument
89 (Value1, Value2, Value3, Arch) = ConvertToSqlString((Value1, Value2, Value3, Arch))
91 …% (self.Table, self.ID, Model, Value1, Value2, Value3, Arch, BelongsToItem, BelongsToFile, StartLi…
DTableInf.py93 …def Insert(self, Model, Value1, Value2, Value3, Value4, Value5, Arch, BelongsToItem, BelongsToFile… argument
95 …Value1, Value2, Value3, Value4, Value5, Arch) = ConvertToSqlString((Value1, Value2, Value3, Value4…
97 …% (self.Table, self.ID, Model, Value1, Value2, Value3, Value4, Value5, Arch, BelongsToItem, Belong…
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/MetaFileWorkspace/
DMetaFileTable.py116 def Query(self, Model, Arch=None, Platform=None): argument
120 if Arch != None and Arch != 'COMMON':
121 ConditionString += " AND (Scope1='%s' OR Scope1='COMMON')" % Arch
197 def Query(self, Model, Arch=None): argument
201 if Arch != None and Arch != 'COMMON':
202 ConditionString += " AND (Scope1='%s' OR Scope1='COMMON')" % Arch
/device/linaro/bootloader/edk2/PcAtChipsetPkg/8254TimerDxe/
DTimer.uni2 // 8254 timer driver that provides Timer Arch protocol.
4 // 8254 timer driver that provides Timer Arch protocol.
19 #string STR_MODULE_ABSTRACT #language en-US "8254 timer driver that provides Timer Arch
21 #string STR_MODULE_DESCRIPTION #language en-US "8254 timer driver that provides Timer Arch
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/
DAutoGen.py169 def __new__(Class, Workspace, MetaFile, Target, Toolchain, Arch, *args, **kwargs): argument
172 if Key not in Class._CACHE_ or Arch not in Class._CACHE_[Key] \
173 or MetaFile not in Class._CACHE_[Key][Arch]:
176 … if not AutoGenObject._Init(Workspace, MetaFile, Target, Toolchain, Arch, *args, **kwargs):
180 if Arch not in Class._CACHE_[Key]:
181 Class._CACHE_[Key][Arch] = {}
182 Class._CACHE_[Key][Arch][MetaFile] = AutoGenObject
184 AutoGenObject = Class._CACHE_[Key][Arch][MetaFile]
340 for Arch in self.ArchList:
341 … Platform_cache[Arch] = self.BuildDatabase[self.MetaFile, Arch, Target, Toolchain]
[all …]
/device/linaro/bootloader/edk2/DuetPkg/
DReadMe.txt33 …3). run "CreateBootDisk.bat floppy a: FAT12 IA32" if floppy drive is a: disk and Arch to boot is I…
35 … run "CreateBootDisk.bat floppy a: FAT12 X64" if floppy drive is a: disk and Arch to boot is X64.
39 …ootDisk.bat usb e: FAT16 IA32" if usb drive is e: and FAT format is FAT16 and Arch to boot is IA32.
40 …or "CreateBootDisk.bat usb e: FAT16 X64" if usb drive is e: and FAT format is FAT16 and Arch to bo…
41 …or "CreateBootDisk.bat usb e: FAT32 IA32" if usb drive is e: and FAT format is FAT32 and Arch to b…
42 …or "CreateBootDisk.bat usb e: FAT32 X64" if usb drive is e: and FAT format is FAT32 and Arch to bo…
44 …k.bat usb e: FAT16 IA32 step2" if usb drive is e: and FAT format is FAT16 and Arch to boot is IA32.
45 …isk.bat usb e: FAT16 X64 step2" if usb drive is e: and FAT format is FAT16 and Arch to boot is X64.
46 …k.bat usb e: FAT32 IA32 step2" if usb drive is e: and FAT format is FAT32 and Arch to boot is IA32.
47 …isk.bat usb e: FAT32 X64 step2" if usb drive is e: and FAT format is FAT32 and Arch to boot is X64.
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/
DInfGuidPpiProtocolSectionParser.py115 if not InfSectionObject.SetGuid(GuidList, Arch=ArchList):
200 if not InfSectionObject.SetPpi(PpiList, Arch=ArchList):
235 Arch = Item[3]
237 if not IsValidArch(Arch):
241 ST.ERR_INF_PARSER_DEFINE_FROMAT_INVALID % (Arch),
246 if (UserId, IdString, Arch) not in IdContentList:
264 IdContentList.append((UserId, IdString, Arch))
369 if not InfSectionObject.SetProtocol(ProtocolList, Arch=ArchList):

1234