On 6/28/2016 8:09 PM, Gao, Liming wrote:
   Yes. We add EFIAPI in such function, and define 
"-DEFIAPI=__attribute__((ms_abi))" in GCC CC_FLAGS.

Thanks. Unfortunately the code needs to remain portable across Windows, Linux and other systems, so the best solution is probably a macro similar to EFIAPI but which isn't specific to UEFI.

--
Bruce Cran
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to