以下是我個人電腦的設定,依據不同環境需要自行調整。
預設會下載到C:\EDK2的資料夾裡。
開啟Visual Studio 2008 Command Prompt
到指定的目錄夾,C:\EDK2
鍵入edksetup.bat
然後再到Conf的資料夾
鍵入edit target.txt
C:\EDK2\Conf\edit target.txt
ACTIVE_PLATFORM = Nt32Pkg/Nt32Pkg.dsc
TARGET = DEBUG
TARGET_ARCH = IA32
TOOL_CHAIN_CONF = Conf/toos_def.txt
TOOL_CHAIN_TAG = MYTOOLS
#MAX_CONCURRENT_THREAD_NUMBER = 1
MAX_CONCURRENT_THREAD_NUMBER = 8 # My CPU is Quad Core
BUILD_RULE_CONF = Conf/build_rule.txt
Build完後,可以到
鍵入secmain.exe
C:\EDK2\Build\NT32\DEBUG_MYTOOLS\IA32\SecMain.exe
即可進入EDK2的模擬環境
No comments:
Post a Comment