Re: [U-Boot] [PATCH v5] x86: use EFI calling convention for efi_main on x86_64

2018-06-15 Thread Bin Meng
On Fri, Jun 15, 2018 at 6:13 PM, Bin Meng wrote: > On Thu, Jun 14, 2018 at 8:27 AM, Ivan Gorinov wrote: >> UEFI specifies the calling convention used in Microsoft compilers; >> first arguments of a function are passed in (%rcx, %rdx, %r8, %r9). >> >> All other compilers use System V ABI by defaul

Re: [U-Boot] [PATCH v5] x86: use EFI calling convention for efi_main on x86_64

2018-06-15 Thread Bin Meng
On Thu, Jun 14, 2018 at 8:27 AM, Ivan Gorinov wrote: > UEFI specifies the calling convention used in Microsoft compilers; > first arguments of a function are passed in (%rcx, %rdx, %r8, %r9). > > All other compilers use System V ABI by default, passing first integer > arguments of a function in (%

Re: [U-Boot] [PATCH v5] x86: use EFI calling convention for efi_main on x86_64

2018-06-14 Thread Alexander Graf
On 06/14/2018 02:27 AM, Ivan Gorinov wrote: UEFI specifies the calling convention used in Microsoft compilers; first arguments of a function are passed in (%rcx, %rdx, %r8, %r9). All other compilers use System V ABI by default, passing first integer arguments of a function in (%rdi, %rsi, %rdx,

[U-Boot] [PATCH v5] x86: use EFI calling convention for efi_main on x86_64

2018-06-13 Thread Ivan Gorinov
UEFI specifies the calling convention used in Microsoft compilers; first arguments of a function are passed in (%rcx, %rdx, %r8, %r9). All other compilers use System V ABI by default, passing first integer arguments of a function in (%rdi, %rsi, %rdx, %rcx, %r8, %r9). These ABI also specify diffe

[U-Boot] [PATCH v5] x86: use EFI calling convention for efi_main on x86_64

2018-06-13 Thread Ivan Gorinov
UEFI specifies the calling convention used in Microsoft compilers; first arguments of a function are passed in (%rcx, %rdx, %r8, %r9). All other compilers use System V ABI by default, passing first integer arguments of a function in (%rdi, %rsi, %rdx, %rcx, %r8, %r9). These ABI also specify diffe