I am new to EFI and have a very simple question. I want to compile this 
following short program. I am running on a 64 bit machine and the EDKII is also 
64 bit. I have tried with _asm and __asm both failed. Might be I have to use () 
instead of {}? I don't know. Help pelase

EFI_STATUS
EFIAPI
UefiMain (
  IN EFI_HANDLE        ImageHandle,
  IN EFI_SYSTEM_TABLE  *SystemTable
  )
{

        _asm {
                push    ebx
                push    eax
                push    ecx
                push    edx
        /* Other code follows*/
      }
}






------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to