Tomer,

This list is to talk about the edk2 tools in the BaseTools. So questions like 
this should go to the edk2 dev list.

GCC requires correct EFIAPI usage to generate correct code. Visual Studio and 
clang generate the correct ABI without requiring EFIAPI, so this is the most 
common error to look for.

Sent from my iPhone

On Mar 21, 2013, at 2:36 AM, "Shalev, Tomer" <[email protected]> wrote:

> Hi There,
>  
> Calls to StartupThisAP() does not work as expected when I build my UEFI 
> application from GCC 4.6 under Linux. If I build it under Windows using 
> Visual StudioT 2010, it works…
>  
> In GCC built application, The GetThread application receives a different 
> value in its argument list than expected, according to what was passed to 
> StartupThisAP(). I actually get 1, 4 and 5 for Ap's 1, 2 and 3, respectively, 
> which might indicate that I get their APIC ID numbers.
>  
> I suspect there are other functionality that doesn't work as expected in such 
> situation, such as Int86().
>  
> I would be thankful if you can help me with this.
> Attached is a sample application that works when compiled in Windows but 
> fails when compiled by GCC in Linux. Password is 12345678
>  
> Thanks,
> Tomer
>  
>  
> Tomer Shalev
> Mobile: 054-2271307
> Tel: 04-8656713 (Inet 8-465-6713)
> Office: IDC6 4Y1 P4-2, SSG, Intel Inc.
> E-mail: [email protected]
>  
> <MpTestPkg.zip>
> ---------------------------------------------------------------------
> Intel Israel (74) Limited
> 
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.
> 
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar
> _______________________________________________
> edk2-buildtools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
edk2-buildtools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel

Reply via email to