It is the first run code in X86 machine. It must be the raw execution code.
I suggest you try nasmb file for your usage. Thanks Liming >-----Original Message----- >From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of >Tiger Liu(BJ-RD) >Sent: Tuesday, January 30, 2018 9:45 AM >To: Gao, Liming <liming....@intel.com>; edk2-devel@lists.01.org >Subject: Re: [edk2] difference between asm16 and asm files > >Hi, Liming: >Thanks for your reply! > >I have another question: >Why not let sec code complied to obj file and linked to lib and EFI image? > >I met a problem: >I tried to use IFDEF marco in an assembly inc file, and this inc file would be >included by ResetVec.asm16 >But failed, it seemed asm 16 complier not recognize this marco exist. >If I changed ResetVec.asm16 to ResetVec.asm, and compiled again, the >complier will recognize this marco exist. >But the last step failed, GenFds.exe seems search a binary file, and not found. > >Thanks >-----邮件原件----- >发件人: Gao, Liming [mailto:liming....@intel.com] >发送时间: 2018年1月29日 22:30 >收件人: Tiger Liu(BJ-RD) <tiger...@zhaoxin.com>; edk2-devel@lists.01.org >主题: RE: [edk2] difference between asm16 and asm files > >Asm16 is compiled to the binary file. Asm is compiled to the obj file, and >linked >into lib and EFI image. > >Now, asm16 is replaced by nasmb. Asm is replaced by nasm. If you check >SecCore.inf, you will find ResetVec.asm16 is not used, and ResetVec.nasmb is >used. I will send the patch to remove the unused ResetVec.asm16 to avoid >the confuse. > >> -----Original Message----- >> From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of >> Tiger Liu(BJ-RD) >> Sent: Monday, January 29, 2018 6:49 PM >> To: edk2-devel@lists.01.org >> Subject: [edk2] difference between asm16 and asm files >> >> Hi, experts: >> I have a question about asm16 postfix and asm postfix. >> >> Such as: >> UefiCpuPkg\SecCore\Ia32\ResetVec.asm16 >> >> Why not use asm as postfix? >> >> Thanks >> >> Best wishes, >> >> >> ????? >> ????????????????????????????????????????????????????? >> CONFIDENTIAL NOTE: >> This email contains confidential or legally privileged information and >> is for the sole use of its intended recipient. Any unauthorized review, use, >copying or forwarding of this email or the content of this email is strictly >prohibited. >> _______________________________________________ >> edk2-devel mailing list >> edk2-devel@lists.01.org >> https://lists.01.org/mailman/listinfo/edk2-devel > > >保密声明: >本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其 >内容做任何未经授权的查阅、使用、复制或转发。 >CONFIDENTIAL NOTE: >This email contains confidential or legally privileged information and is for >the >sole use of its intended recipient. Any unauthorized review, use, copying or >forwarding of this email or the content of this email is strictly prohibited. >_______________________________________________ >edk2-devel mailing list >edk2-devel@lists.01.org >https://lists.01.org/mailman/listinfo/edk2-devel _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel