
4 Oct
2017
4 Oct
'17
9:01 p.m.
On Wed, Oct 04, 2017 at 06:35:46PM +0000, Rob Clark wrote:
Add the missing EFIAPI.
I was talking to Peter Jones about this, and he suggested something that makes *way* more sense.. just build u-boot with '-mabi=ms_abi' on x86_64 (at least conditionally if EFI_LOADER is enabled). That would take a bit of work to annotate the os layer in sandbox to use sysv abi, but that is a lot smaller of an interface than EFI_LOADER (which is only going to continue to grow).
Worth noting that if we went this route, we'd also need to do -mregparm=0 on 32-bit x86.
--
Peter