Hi,
I am writing an application in EDK II and for the given snippet of code, i
get the error
error LNK2001: unresolved external symbol _ModuleEntryPoint :-
#ifdef EFI_BOOTSHELL
EFI_APPLICATION_ENTRY_POINT(EfiFlashMain)
#endif
However, _ModuleEntryPoint is not used anywhere in the program.
Also, if I change the code to
#ifdef EFI_BOOTSHELL
EFI_APPLICATION_ENTRY_POINT(*_ModuleEntryPoint*)
#endif
the application compiles.
Could you please tell why this is happening.
Regards,
Nishit Patira
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel