[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <5332E3600200007800002597@nat28.tlf.novell.com>
Date: Wed, 26 Mar 2014 13:25:36 +0000
From: "Jan Beulich" <JBeulich@...e.com>
To: "Daniel Kiper" <daniel.kiper@...cle.com>
Cc: <david.vrabel@...rix.com>, <ian.campbell@...rix.com>,
<stefano.stabellini@...citrix.com>, <jeremy@...p.org>,
<fenghua.yu@...el.com>, <matt.fleming@...el.com>,
<tony.luck@...el.com>, <x86@...nel.org>, <tglx@...utronix.de>,
<xen-devel@...ts.xenproject.org>, <boris.ostrovsky@...cle.com>,
<konrad.wilk@...cle.com>, "Tang Liang" <liang.tang@...cle.com>,
<eshelton@...ox.com>, <mingo@...hat.com>,
<linux-efi@...r.kernel.org>, <linux-ia64@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <hpa@...or.com>
Subject: Re: [PATCH v3 4/5] xen: Define EFI related stuff
>>> On 25.03.14 at 21:57, <daniel.kiper@...cle.com> wrote:
> Define EFI related stuff for Xen.
>
> This patch is based on Jan Beulich and Tang Liang work.
And with this, ...
> Signed-off-by: Daniel Kiper <daniel.kiper@...cle.com>
> Signed-off-by: Tang Liang <liang.tang@...cle.com>
> Signed-off-by: Jan Beulich <jbeulich@...e.com>
... these should be in the reverse order to reflect flow.
> +struct xenpf_efi_runtime_call {
> + uint32_t function;
> + /*
> + * This field is generally used for per sub-function flags (defined
> + * below), except for the XEN_EFI_get_next_high_monotonic_count case,
> + * where it holds the single returned value.
> + */
> + uint32_t misc;
> + unsigned long status;
> + union {
You surely would want to use consistent indentation here (i.e. a leading
hard tab)?
> @@ -143,7 +245,25 @@ struct xenpf_firmware_info {
> /* must refer to 128-byte buffer */
> GUEST_HANDLE(uchar) edid;
> } vbeddc_info; /* XEN_FW_VBEDDC_INFO */
> -
Please retain blank lines like this ...
> + union xenpf_efi_info {
> + uint32_t version;
> + struct {
> + uint64_t addr; /* EFI_CONFIGURATION_TABLE */
> + uint32_t nent;
> + } cfg;
> + struct {
> + uint32_t revision;
> + uint32_t bufsz; /* input, in bytes */
> + GUEST_HANDLE(void) name;
> + /* UCS-2/UTF-16 string */
> + } vendor;
> + struct {
> + uint64_t addr;
> + uint64_t size;
> + uint64_t attr;
> + uint32_t type;
> + } mem;
> + } efi_info; /* XEN_FW_EFI_INFO */
... and add one here.
Jan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists