Re: [U-Boot] [PATCH v4 1/4] x86: use EFI calling convention for efi_main on x86_64

2018-06-21 Thread Bin Meng
Hi Ivan, On Wed, Jun 13, 2018 at 9:36 AM, Bin Meng wrote: > Hi Ivan, > > On Wed, Jun 13, 2018 at 1:52 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

Re: [U-Boot] [PATCH v4 1/4] x86: use EFI calling convention for efi_main on x86_64

2018-06-12 Thread Bin Meng
Hi Ivan, On Wed, Jun 13, 2018 at 1:52 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 func