Home
last modified time | relevance | path

Searched refs:GlobalData (Results 1 – 25 of 65) sorted by relevance

123

/device/linaro/bootloader/edk2/Nt32Pkg/SnpNt32Dxe/
DSnpNt32.c480 SNPNT32_GLOBAL_DATA *GlobalData; in SnpNt32DriverBindingSupported() local
484 GlobalData = &gSnpNt32GlobalData; in SnpNt32DriverBindingSupported()
486 NET_LIST_FOR_EACH (Entry, &GlobalData->InstanceList) { in SnpNt32DriverBindingSupported()
696 SNPNT32_GLOBAL_DATA *GlobalData; in SnpNt32ReceiveFilters() local
701 GlobalData = Instance->GlobalData; in SnpNt32ReceiveFilters()
703 if (EFI_ERROR (EfiAcquireLockOrFail (&GlobalData->Lock))) { in SnpNt32ReceiveFilters()
707 ReturnValue = GlobalData->NtNetUtilityTable.SetReceiveFilter ( in SnpNt32ReceiveFilters()
714 EfiReleaseLock (&GlobalData->Lock); in SnpNt32ReceiveFilters()
868 SNPNT32_GLOBAL_DATA *GlobalData; in SnpNt32GetStatus() local
872 GlobalData = Instance->GlobalData; in SnpNt32GetStatus()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/
DTestInstall.py20 from Library import GlobalData
45 DataBase = GlobalData.gDB
46 WorkspaceDir = GlobalData.gWORKSPACE
93 if GlobalData.gUNPACK_DIR:
94 shutil.rmtree(GlobalData.gUNPACK_DIR)
95 GlobalData.gUNPACK_DIR = None
DReplacePkg.py33 from Library import GlobalData
50 DataBase = GlobalData.gDB
51 WorkspaceDir = GlobalData.gWORKSPACE
102 if GlobalData.gUNPACK_DIR:
103 rmtree(GlobalData.gUNPACK_DIR)
104 GlobalData.gUNPACK_DIR = None
DMkPkg.py48 from Library import GlobalData
79 DataBase = GlobalData.gDB
81 WorkspaceDir = GlobalData.gWORKSPACE
108 ContentFile = PackageFile(GlobalData.gCONTENT_FILE, "w")
211 DistPkgFile.PackData(DistPkgXml.ToXml(DistPkg), GlobalData.gDESC_FILE)
241 if os.path.exists(GlobalData.gCONTENT_FILE):
244 os.remove(GlobalData.gCONTENT_FILE)
259 WorkspaceDir = GlobalData.gWORKSPACE
DUPT.py51 from Library import GlobalData
176 GlobalData.gWORKSPACE, GlobalData.gPACKAGE_PATH = GetWorkspace()
188 os.system('subst b: "%s"' % GlobalData.gWORKSPACE)
189 GlobalData.gWORKSPACE = 'B:\\'
192 WorkspaceDir = GlobalData.gWORKSPACE
199 GlobalData.gDB = IpiDatabase(os.path.normpath(os.path.join(WorkspaceDir, \
201 GlobalData.gDB.InitDatabase(Opt.SkipLock)
298 GlobalData.gDB.RollBack()
302 GlobalData.gDB.Commit()
306 GlobalData.gDB.CloseDb()
DRmPkg.py31 from Library import GlobalData
66 … LogFilePath = os.path.normpath(os.path.join(WorkspaceDir, GlobalData.gINVALID_MODULE_FILE))
130 DataBase = GlobalData.gDB
135 WorkspaceDir = GlobalData.gWORKSPACE
209 … StoredDistFile = os.path.normpath(os.path.join(WorkspaceDir, GlobalData.gUPT_DIR, NewDpFileName))
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Core/
DFileHook.py24 from Library import GlobalData
164 if GlobalData.gRECOVERMGR:
165 GlobalData.gRECOVERMGR.bkrmfile(path)
170 if GlobalData.gRECOVERMGR:
171 GlobalData.gRECOVERMGR.bkmkdir(path, mode)
176 if GlobalData.gRECOVERMGR:
177 GlobalData.gRECOVERMGR.bkrmdir(path)
182 if GlobalData.gRECOVERMGR:
183 return GlobalData.gRECOVERMGR.bkmkfile(path, mode, bufsize)
187 if GlobalData.gRECOVERMGR:
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/build/
Dbuild.py52 import Common.GlobalData as GlobalData namespace
124 os.environ["ECP_SOURCE"] = mws.join(WorkspaceDir, GlobalData.gEdkCompatibilityPkg)
189 GlobalData.gWorkspace = WorkspaceDir
190 GlobalData.gEfiSource = EfiSourceDir
191 GlobalData.gEdkSource = EdkSourceDir
192 GlobalData.gEcpSource = EcpSourceDir
194 GlobalData.gGlobalDefines["WORKSPACE"] = WorkspaceDir
195 GlobalData.gGlobalDefines["EFI_SOURCE"] = EfiSourceDir
196 GlobalData.gGlobalDefines["EDK_SOURCE"] = EdkSourceDir
197 GlobalData.gGlobalDefines["ECP_SOURCE"] = EcpSourceDir
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Object/Parser/
DInfLibraryClassesObject.py22 from Library import GlobalData
133 if not GlobalData.gIS_BINARY_INF:
150 File=GlobalData.gINF_MODULE_NAME,
157 File=GlobalData.gINF_MODULE_NAME,
164 File=GlobalData.gINF_MODULE_NAME,
172 File=GlobalData.gINF_MODULE_NAME,
183 File=GlobalData.gINF_MODULE_NAME,
195 File=GlobalData.gINF_MODULE_NAME,
DInfBinaryObject.py23 from Library import GlobalData
151 GlobalData.gINF_CURRENT_LINE = VerCurrentLine
191 … FullFileName = os.path.normpath(os.path.realpath(os.path.join(GlobalData.gINF_MODULE_DIR,
203 if IsValidPath(VerContent[1], GlobalData.gINF_MODULE_DIR):
215 GlobalData.gINF_MODULE_DIR)
298 GlobalData.gINF_CURRENT_LINE = CurrentLineOfItem
379 … FullFileName = os.path.normpath(os.path.realpath(os.path.join(GlobalData.gINF_MODULE_DIR,
391 if IsValidPath(FileName, GlobalData.gINF_MODULE_DIR):
402 … ItemContent[0] = ConvPathFromAbsToRel(ItemContent[0], GlobalData.gINF_MODULE_DIR)
556 GlobalData.gINF_CURRENT_LINE = deepcopy(UiItem[2])
[all …]
DInfBuildOptionObject.py19 from Library import GlobalData
72 if not GlobalData.gIS_BINARY_INF:
DInfPackagesObject.py22 from Library import GlobalData
96 elif IsValidPath(PackageItem[0], GlobalData.gINF_MODULE_DIR):
98 elif IsValidPath(PackageItem[0], GlobalData.gWORKSPACE):
DInfDepexObject.py20 from Library import GlobalData
109 File=GlobalData.gINF_MODULE_NAME,
122 File=GlobalData.gINF_MODULE_NAME,
DInfPcdObject.py24 from Library import GlobalData
56 File=GlobalData.gINF_MODULE_NAME,
313 if GlobalData.gIS_BINARY_INF:
336 File=GlobalData.gINF_MODULE_NAME,
486 PackageInfoList = GetPackageListInfo(InfFileName, GlobalData.gWORKSPACE, -1)
500 …FullFileName = os.path.normpath(os.path.realpath(os.path.join(GlobalData.gWORKSPACE, PackageName)))
503 if FullFileName not in GlobalData.gPackageDict:
505 GlobalData.gPackageDict[FullFileName] = DecParser
507 DecParser = GlobalData.gPackageDict[FullFileName]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/
DGenFds.py34 import Common.GlobalData as GlobalData namespace
184 GlobalData.gIgnoreSource = Options.IgnoreSources
197 GlobalData.gEfiSource = List[1].strip()
198 GlobalData.gGlobalDefines["EFI_SOURCE"] = GlobalData.gEfiSource
201 GlobalData.gEdkSource = List[1].strip()
202 GlobalData.gGlobalDefines["EDK_SOURCE"] = GlobalData.gEdkSource
205 GlobalData.gGlobalDefines[List[0].strip()] = List[1].strip()
207 GlobalData.gCommandLineDefines[List[0].strip()] = List[1].strip()
209 GlobalData.gCommandLineDefines[List[0].strip()] = "TRUE"
213 if "TARGET" not in GlobalData.gGlobalDefines.keys():
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/GenMetaFile/
DGenMetaFileMisc.py21 from Library import GlobalData
92 for PkgInfo in GlobalData.gWSPKG_LIST:
99 if Path not in GlobalData.gPackageDict:
101 GlobalData.gPackageDict[Path] = DecFile
103 DecFile = GlobalData.gPackageDict[Path]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DVpdInfoFile.py23 import Common.GlobalData as GlobalData namespace
136 for PcdItem in GlobalData.MixedPcd:
137 if (Pcd.TokenCName, Pcd.TokenSpaceGuidCName) in GlobalData.MixedPcd[PcdItem]:
183 for PcdItem in GlobalData.MixedPcd:
184 … if (VpdObject.TokenCName, VpdObject.TokenSpaceGuidCName) in GlobalData.MixedPcd[PcdItem]:
DToolDefClassObject.py27 import Common.GlobalData as GlobalData namespace
28 from Common import GlobalData
68 mws.setWs(GlobalData.gWorkspace, PackagesPath)
141 IncFileTmp = PathClass(IncFile, GlobalData.gWorkspace)
147 IncFileTmp = mws.join(GlobalData.gWorkspace, IncFile)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/
DEcc.py25 import Common.GlobalData as GlobalData namespace
81 os.environ["ECP_SOURCE"] = mws.join(WorkspaceDir, GlobalData.gEdkCompatibilityPkg)
98 GlobalData.gWorkspace = WorkspaceDir
99 GlobalData.gEfiSource = EfiSourceDir
100 GlobalData.gEdkSource = EdkSourceDir
101 GlobalData.gEcpSource = EcpSourceDir
103 GlobalData.gGlobalDefines["WORKSPACE"] = WorkspaceDir
104 GlobalData.gGlobalDefines["EFI_SOURCE"] = EfiSourceDir
105 GlobalData.gGlobalDefines["EDK_SOURCE"] = EdkSourceDir
106 GlobalData.gGlobalDefines["ECP_SOURCE"] = EcpSourceDir
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Workspace/
DWorkspaceCommon.py17 import Common.GlobalData as GlobalData namespace
53 if GlobalData.MixedPcd:
54 for PcdItem in GlobalData.MixedPcd.keys():
55 if (PcdCName, PcdTokenName) in GlobalData.MixedPcd[PcdItem]:
DWorkspaceDatabase.py24 import Common.GlobalData as GlobalData namespace
44 import Common.GlobalData as GlobalData namespace
166 Macros["EDK_SOURCE"] = GlobalData.gEcpSource
170 ModuleFile = PathClass(NormPath(Record[0]), GlobalData.gWorkspace, Arch=self._Arch)
173 SourceOverridePath = mws.join(GlobalData.gWorkspace, NormPath(RecordList[0][0]))
180 GlobalData.gOverrideDir[ModuleFile.Key] = SourceOverridePath
186 self.__Macros.update(GlobalData.gPlatformDefines)
187 self.__Macros.update(GlobalData.gGlobalDefines)
188 self.__Macros.update(GlobalData.gCommandLineDefines)
228 … self._FlashDefinition = PathClass(NormPath(Record[2], self._Macros), GlobalData.gWorkspace)
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/
DInfGuidPpiProtocolSectionParser.py26 from Library import GlobalData
242 File=GlobalData.gINF_MODULE_NAME,
254 File=GlobalData.gINF_MODULE_NAME,
262 File=GlobalData.gINF_MODULE_NAME, Line=SectionLineNo,
281 File=GlobalData.gINF_MODULE_NAME,
DInfAsBuiltProcess.py21 from Library import GlobalData
249 if InfFile not in GlobalData.gLIBINSTANCEDICT:
251 GlobalData.gLIBINSTANCEDICT[InfFile] = InfFileObj
253 InfFileObj = GlobalData.gLIBINSTANCEDICT[InfFile]
DInfPcdSectionParser.py28 from Library import GlobalData
58 Item[0].upper() == DT.TAB_INF_PCD.upper()) and GlobalData.gIS_BINARY_INF:
65 if not GlobalData.gIS_BINARY_INF:
DInfLibrarySectionParser.py29 from Library import GlobalData
42 if not GlobalData.gIS_BINARY_INF:
179 … LibGuid, LibVer = GetLibInstanceInfo(LineContent, GlobalData.gWORKSPACE, LineNo, FileName)

123