Re: [PATCH 1/3 -v4] x86_64 EFI runtime service support: EFI basic runtime service support

H. Peter Anvin
2007-10-26T17:05:44Z

Alan Cox wrote:
>>> Again, these are wrappers to access EFI and not Windows.
>> EFI uses the Windows x86_64 calling convention. The lin2win may be a
>> more general naming convention that can be used for some other code (the
>> NDISwrapper?) in the future. Do you agree?
>
> The SYSV description is wrong as well. SYSV has no calling convention. I
> think you mean iABI or iBCS2 ?
>
> Whats wrong with following the pattern of other calls like syscall(...)
> and just having eficall() ?

Either that (which is basically his lin2win6), or use wrapper-generators
like we used to do for system calls -- the latter will produce more
efficient code. I don't think it matters.

-hpa