Lines Matching refs:Arch

108     #   @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
292 for Arch in self.ArchList:
293 Platform = self.BuildDatabase[self.MetaFile, Arch, Target, Toolchain]
296 PGen = PlatformAutoGen(self, self.MetaFile, Target, Toolchain, Arch)
315 Pa = PlatformAutoGen(self, self.MetaFile, Target, Toolchain, Arch)
512 UnusedPcd.setdefault(Pcd, []).append(Pa.Arch)
737 # @param Arch arch of the platform supports
739 def _Init(self, Workspace, PlatformFile, Target, Toolchain, Arch):
740 EdkLogger.debug(EdkLogger.DEBUG_9, "AutoGen platform [%s] [%s]" % (PlatformFile, Arch))
741 GlobalData.gProcessingFile = "%s [%s, %s, %s]" % (PlatformFile, Arch, Toolchain, Target)
748 self.Arch = Arch
793 return "%s [%s]" % (self.MetaFile, self.Arch)
823 self.ToolChain, self.Arch, self.MetaFile)
835 (self.MetaFile, self.Arch))
838 (self.MetaFile, self.Arch))
852 M = ModuleAutoGen(self.Workspace, F, self.BuildTarget, self.ToolChain, self.Arch, self.MetaFile)
906 if (self.Workspace.ArchList[-1] == self.Arch):
1063 self._Platform = self.BuildDatabase[self.MetaFile, self.Arch, self.BuildTarget, self.ToolChain]
1113 self._MakeFileDir = path.join(self.BuildDir, self.Arch)
1144 Target, Tag, Arch, Tool, Attr = Def.split("_")
1145 if Target != self.BuildTarget or Tag != self.ToolChain or Arch != self.Arch:
1200 self._ToolDefFile = os.path.join(self.MakeFileDir, "TOOLS_DEF." + self.Arch)
1364 self.Arch,
1430 EdkLogger.verbose("Library instances of module [%s] [%s]:" % (str(Module), self.Arch))
1446 ExtraData="in [%s] [%s]\n\tconsumed by module [%s]" % (str(M), self.Arch, str(Module)))
1448 LibraryModule = self.BuildDatabase[LibraryPath, self.Arch, self.BuildTarget, self.ToolChain]
1680 EdkLogger.verbose("Library instances of module [%s] [%s]:" % (str(Module), self.Arch))
1698 ExtraData="\t%s [%s]" % (str(Module), self.Arch))
1714 Target, ToolChain, Arch, CommandType, Attr = Key.split('_')
1720 if Arch == "*":
1751 Target, ToolChain, Arch, CommandType, Attr = Key[1].split('_')
1754 if Arch == self.Arch or Arch == "*":
1796 Target, Tag, Arch, Tool, Attr = Key[1].split("_")
1809 if Arch == "*" or Arch == self.Arch:
1830 Target, Tag, Arch, Tool, Attr = Key[1].split("_")
1841 if Arch == "*" or Arch == self.Arch:
1942 # @param Arch The arch the module supports
1945 def _Init(self, Workspace, ModuleFile, Target, Toolchain, Arch, PlatformFile):
1946 EdkLogger.debug(EdkLogger.DEBUG_9, "AutoGen module [%s] [%s]" % (ModuleFile, Arch))
1947 GlobalData.gProcessingFile = "%s [%s, %s, %s]" % (ModuleFile, Arch, Toolchain, Target)
1953 self.PlatformInfo = PlatformAutoGen(Workspace, PlatformFile, Target, Toolchain, Arch)
1957 % (self.MetaFile, Arch))
1968 self.Arch = Arch
2025 return "%s [%s]" % (self.MetaFile, self.Arch)
2043 self._Macro["ARCH" ] = self.Arch
2050 self._Macro["BIN_DIR" ] = os.path.join(self.PlatformInfo.BuildDir, self.Arch)
2051 self._Macro["LIB_DIR" ] = os.path.join(self.PlatformInfo.BuildDir, self.Arch)
2060 self._Module = self.Workspace.BuildDatabase[self.MetaFile, self.Arch, self.BuildTarget, self.ToolChain]
2117 self.Arch,
2202 for D in M.Depex[self.Arch, ModuleType]:
2238 for D in M.DepexExpression[self.Arch, ModuleType]:
2393 RuleObject = BuildRuleDatabase[Type, self.BuildType, self.Arch, self.BuildRuleFamily]
2397 RuleObject = BuildRuleDatabase[Type, self.ModuleType, self.Arch, self.BuildRuleFamily]
2400 RuleObject = BuildRuleDatabase[Type, self.BuildType, self.Arch, self.ToolChainFamily]
2404 RuleObject = BuildRuleDatabase[Type, self.ModuleType, self.Arch, self.ToolChainFamily]
2644 Inc = path.join(Inc, self.Arch.capitalize())
2712 'module_arch' : self.Arch,
2754 AsBuiltInfDict['flags_item'] += ['%s:%s_%s_%s_%s_FLAGS = %s' % (self.ToolChainFamily, self.BuildTarget, self.ToolChain, self.Arch, Item, self.BuildOption[Item]['FLAGS'].strip())]
2782 (self.Name, self.Arch))
2785 (self.Name, self.Arch))
2837 (" ".join(AutoGenList), self.Name, self.Arch))
2840 (" ".join(IgoredAutoGenList), self.Name, self.Arch))
2843 (" ".join(AutoGenList), " ".join(IgoredAutoGenList), self.Name, self.Arch))
2858 self.Arch,