X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=BaseTools%2FSource%2FPython%2Fbuild%2Fbuild.py;h=af9d3d5f5a8742fc423ea752fe0e2e27cf6680ba;hp=545ffa39aaa9e7fc1b6c3bd5c9d4835600a7222c;hb=e56468c072e0d53834787f4ad0e292b33cc6be08;hpb=034ffda8b2ec8575a9a6f42b1dc9ff6db1621a97 diff --git a/BaseTools/Source/Python/build/build.py b/BaseTools/Source/Python/build/build.py index 545ffa39aa..af9d3d5f5a 100644 --- a/BaseTools/Source/Python/build/build.py +++ b/BaseTools/Source/Python/build/build.py @@ -23,6 +23,7 @@ import glob import time import platform import traceback +import encodings.ascii from struct import * from threading import * @@ -735,7 +736,7 @@ class Build(): self.LoadFixAddress = 0 self.UniFlag = UniFlag - # print dot charater during doing some time-consuming work + # print dot character during doing some time-consuming work self.Progress = Utils.Progressor() # parse target.txt, tools_def.txt, and platform file @@ -1267,9 +1268,9 @@ class Build(): if len (SmmModuleList) > 0: MapBuffer.write('SMM_CODE_PAGE_NUMBER = 0x%x\n' % (SmmSize/0x1000)) - PeiBaseAddr = TopMemoryAddress - RtSize - BtSize + PeiBaseAddr = TopMemoryAddress - RtSize - BtSize BtBaseAddr = TopMemoryAddress - RtSize - RtBaseAddr = TopMemoryAddress - ReservedRuntimeMemorySize + RtBaseAddr = TopMemoryAddress - ReservedRuntimeMemorySize self._RebaseModule (MapBuffer, PeiBaseAddr, PeiModuleList, TopMemoryAddress == 0) self._RebaseModule (MapBuffer, BtBaseAddr, BtModuleList, TopMemoryAddress == 0)