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

From: H. Peter Anvin
Date: Fri Oct 26 2007 - 13:05:46 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/