From: "Jan Beulich" Subject: Re: A few EFI code questions Date: Fri, 05 Dec 2014 15:00:14 +0000 Message-ID: <5481D68E020000780004D3AD@mail.emea.novell.com> References: <20141203210225.GR16236@olila.local.net-space.pl> <548038D5020000780004C9E8@mail.emea.novell.com> <20141205145117.GX16236@olila.local.net-space.pl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XwuMg-0007l4-W6 for xen-devel@lists.xenproject.org; Fri, 05 Dec 2014 15:00:15 +0000 In-Reply-To: <20141205145117.GX16236@olila.local.net-space.pl> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Daniel Kiper Cc: keir@xen.org, ian.campbell@citrix.com, andrew.cooper3@citrix.com, stefano.stabellini@eu.citrix.com, roy.franz@linaro.org, xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org >>> On 05.12.14 at 15:51, wrote: > On Thu, Dec 04, 2014 at 09:35:01AM +0000, Jan Beulich wrote: >> >>> On 03.12.14 at 22:02, wrote: >> > 3) Should not we change xen/arch/*/efi/efi-boot.h to >> > xen/arch/*/efi/efi-boot.c? efi-boot.h contains more >> > code than definitions, declarations and short static >> > functions. So, I think that it is more regular *.c file >> > than header file. >> >> That's a matter of taste - I'd probably have made it .c too, but >> didn't mind it being .h as done by Roy (presumably on the basis >> that #include directives are preferred to have .h files as their >> operands). The only thing I regret is that I didn't ask for the >> pointless efi- prefix to be dropped. > > As I can see a few people people agree to some extent with my suggestion. > Great! Sadly if we wish .c file than simple boot.c (as Jan suggested we can > drop efi- prefix) conflicts with exiting boot.c link. Is efi-boot.c OK? > Or maybe boot-arch.c? boot.h is OK for sure. Which one do you prefer? > Do you have better ideas? boot.h would be my preference given how things look like right now, but I don't think this possibility of renaming warrants a much longer discussion. Please also remember that renaming always implies more cumbersome backporting, even if only slightly more. Jan