/*
1. Install Visual Studio Community 2015 Update 2
https://go.microsoft.com/fwlink/?LinkId=615448&clcid=0x404
https://go.microsoft.com/fwlink/?LinkId=615448&clcid=0x409
2. Download UDK2015
svn export https://svn.code.sf.net/p/edk2/code/trunk/edk2 edk2
svn export https://svn.code.sf.net/p/edk2/code/branches/UDK2015 UDK2015
3. Build AppPkg (edk2 only)
EdkSetup --NT32 Reconfig
mkdir Build
build all -a IA32 -b RELEASE -t VS2015x86 -p AppPkg\AppPkg.dsc -n 8 -v -y Build\build_report.txt -j Build\build_log.txt > NUL
build all -a X64 -b RELEASE -t VS2015x86 -p AppPkg\AppPkg.dsc -n 8 -v -y Build\build_report.txt -j Build\build_log.txt > NUL
4. Build Nt32Pkg
EdkSetup --NT32 Reconfig
mkdir Build
build all -a IA32 -t VS2015x86 -p Nt32Pkg\Nt32Pkg.dsc -n 8 -v -y Build\build_report.txt -j Build\build_log.txt > NUL
build run -a IA32 -t VS2015x86 -p Nt32Pkg\Nt32Pkg.dsc
5. FS mapping
fs0 is Build\NT32IA32\DEBUG_VS2015x86\IA32
fs1 is EdkShellBinPkg\Bin\Ia32\Apps
fs2 is a:
fs3 is j:
6. Entry point of UEFI_APPLICATION
ShellCEntryLib (in UefiShellCEntryLib, user should use ShellCEntryLib in inf) ->
ShellAppMain (in LibC or App) ->
main (in App)
OR
UefiMain (user define in inf)
PS: EFI_SHELL_INTERFACE
*/
2016年4月23日 星期六
UDK2015 + VS2015
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言