Dear All,
I ported a OptionRom Code from EDK to UDK and found my .efi output file has
increased from ~700k to ~1100k
Building Code in UDK results in increase in Driver Size, is this how UDK is
designed?
Even the obj's have increased in size after compilation.
Kindly Provide your inputs. Thank you All
The libs i used from UDK
- BaseMemoryLib
- UefiDriverEntryPoint
- HiiLib
*Certain older EDK calls are replaced with newer UDK calls*
*
*EfiLibAllocateZeroPoolè AllocateZeroPool; EfiZeroMemèZeroMem;
EfiCopyMemèCopyMem; EfiSetMemèSetMem; EfiLibLookupUnicodeStringè
LookupUnicodeString; SprintèUnicodeSprint
* Introduced*
*
*HiiAllocateOpCodeHandle, HiiCreateCheckBoxOpCode, HiiCreateTextOpCode,
HiiCreateOneOfOptionOpCode, HiiUpdateForm, HiiCreateGuidOpCode
Inplace of CreateOneOfOpCode, IfrLibUpdateForm, EFI_HII_UPDATE_DATA
*Compiler Flags*
*
*MSFT:*_*_X64_CC_FLAGS = /nologo /c /WX- /GS- /X /W3 /Gs8192 /D
/Zc:wchar_t- /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF
*Linker flags*
*
*RELEASE_VS2010x86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001
/IGNORE:4254 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D
/Machine:X64 /DLL /ENTRY:$(IMAGE_ENTRY_POINT)
/SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /BASE:0 /DRIVER /MERGE:.data=.text
/MERGE:.rdata=.text
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel