tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Problems with implementing EFI runtime support for x86



On Tue, Sep 13, 2022 at 04:16:19PM +0200, Paweł Cichowski wrote:
> Hello,
> 
> I am currently trying to implement efi runtime for x86-based ports, and I

In https://github.com/3mdeb/NetBSD-src/pull/2/files
I see you define EFI_ATTRIBUTES, but then never seem to invoke
EFI_ATTRIBUTES on any of the function signatures for the RT services
functions (the ones that call into platform firmware function pointers).

(On IA-32 and x86_64, {,U}EFI uses the Microsoft ABI calling conventions,
which are not the same as the System V calling conventions.  On ARM,
both System V and UEFI use the same ARM-defined AAPCS standard.)


Home | Main Index | Thread Index | Old Index