On 23.11.2023 11:26, Julien Grall wrote: > Another possibility would be to deviate __stdcall like we do for > asmlinkage (I will let Jan confirm if this is desirable). With this > approach, there is less ambiguity when to use either of them.
Attributes changing calling convention may be a sign of there being interfacing with assembly code, but e.g. EFIAPI generally doesn't (it only happens to be so in the specific case here). Jan