Fv.frombuffer(Buf, 0, len(Buf))\r
\r
self.BasicInfo.append([Fv.Name, Fv.FileSystemGuid, Fv.Size])\r
- self.FfsDict.append(Fv.FfsDict) \r
+ self.FfsDict.append(Fv.FfsDict)\r
\r
## Class Eot\r
#\r
# Version and Copyright\r
self.VersionNumber = ("0.02" + " " + gBUILD_VERSION)\r
self.Version = "%prog Version " + self.VersionNumber\r
- self.Copyright = "Copyright (c) 2008 - 2010, Intel Corporation All rights reserved."\r
+ self.Copyright = "Copyright (c) 2008 - 2018, Intel Corporation All rights reserved."\r
self.Report = Report\r
\r
self.IsInit = IsInit\r
self.FvFileList = FvFileList\r
self.MapFileList = MapFileList\r
self.Dispatch = Dispatch\r
- \r
+\r
# Check workspace environment\r
if "EFI_SOURCE" not in os.environ:\r
if "EDK_SOURCE" not in os.environ:\r
if not os.path.isfile(MapFile):\r
EdkLogger.error("Eot", EdkLogger.EOT_ERROR, "Can not find file %s " % MapFile)\r
EotGlobalData.gMAP_FILE.append(MapFile)\r
- \r
+\r
# Generate source file list\r
self.GenerateSourceFileList(self.SourceFileList, self.IncludeDirList)\r
\r
# Generate guid list of dec file list\r
self.ParseDecFile(self.DecFileList)\r
- \r
+\r
# Generate guid list from GUID list file\r
self.ParseGuidList(self.GuidList)\r
\r
if len(list) == 2:\r
EotGlobalData.gGuidDict[list[0].strip()] = GuidStructureStringToGuidString(list[1].strip())\r
\r
- \r
+\r
## ParseGuidList() method\r
#\r
# Parse Guid list and get all GUID names with GUID values as {GuidName : GuidValue}\r
for Line in open(Path):\r
(GuidName, GuidValue) = Line.split()\r
EotGlobalData.gGuidDict[GuidName] = GuidValue\r
- \r
+\r
## ConvertLogFile() method\r
#\r
# Parse a real running log file to get real dispatch order\r
\r
if Options.FvFileList:\r
self.FvFileList = Options.FvFileList\r
- \r
+\r
if Options.MapFileList:\r
self.MapFileList = Options.FvMapFileList\r
\r
\r
if Options.DecFileList:\r
self.DecFileList = Options.DecFileList\r
- \r
+\r
if Options.GuidList:\r
self.GuidList = Options.GuidList\r
\r