import time\r
import platform\r
import traceback\r
+import encodings.ascii \r
\r
from struct import *\r
from threading import *\r
\r
## str() method\r
#\r
- # It just returns the string representaion of self.BuildObject\r
+ # It just returns the string representation of self.BuildObject\r
#\r
# @param self The object pointer\r
#\r
self.LoadFixAddress = 0\r
self.UniFlag = UniFlag\r
\r
- # print dot charater during doing some time-consuming work\r
+ # print dot character during doing some time-consuming work\r
self.Progress = Utils.Progressor()\r
\r
# parse target.txt, tools_def.txt, and platform file\r
\r
## Build a module or platform\r
#\r
- # Create autogen code and makfile for a module or platform, and the launch\r
+ # Create autogen code and makefile for a module or platform, and the launch\r
# "make" command to build it\r
#\r
# @param Target The target of build command\r
if len (SmmModuleList) > 0:\r
MapBuffer.write('SMM_CODE_PAGE_NUMBER = 0x%x\n' % (SmmSize/0x1000))\r
\r
- PeiBaseAddr = TopMemoryAddress - RtSize - BtSize\r
+ PeiBaseAddr = TopMemoryAddress - RtSize - BtSize \r
BtBaseAddr = TopMemoryAddress - RtSize\r
- RtBaseAddr = TopMemoryAddress - ReservedRuntimeMemorySize\r
+ RtBaseAddr = TopMemoryAddress - ReservedRuntimeMemorySize \r
\r
self._RebaseModule (MapBuffer, PeiBaseAddr, PeiModuleList, TopMemoryAddress == 0)\r
self._RebaseModule (MapBuffer, BtBaseAddr, BtModuleList, TopMemoryAddress == 0)\r