All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Wei Liu <wei.liu2@citrix.com>
Cc: edk2-devel@lists.sourceforge.net, xen-devel@lists.xen.org
Subject: Re: [PATCH v3 2/8] OvmfPkg: introduce E820.h
Date: Tue, 26 Nov 2013 14:47:13 -0500	[thread overview]
Message-ID: <20131126194713.GE11778@phenom.dumpdata.com> (raw)
In-Reply-To: <1385493964-12949-3-git-send-email-wei.liu2@citrix.com>

On Tue, Nov 26, 2013 at 07:25:58PM +0000, Wei Liu wrote:
> E820 definitions copied from IntelFrameworkModulePkg/Csm/
> LegacyBiosDxe/LegacyBiosInterface.h.
> 
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Wei Liu <wei.liu2@citrix.com>
> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
> ---
>  OvmfPkg/Include/IndustryStandard/E820.h |   46 +++++++++++++++++++++++++++++++
>  1 file changed, 46 insertions(+)
>  create mode 100644 OvmfPkg/Include/IndustryStandard/E820.h
> 
> diff --git a/OvmfPkg/Include/IndustryStandard/E820.h b/OvmfPkg/Include/IndustryStandard/E820.h
> new file mode 100644
> index 0000000..e7e0c25
> --- /dev/null
> +++ b/OvmfPkg/Include/IndustryStandard/E820.h
> @@ -0,0 +1,46 @@
> +/** @file
> +
> +Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>

<BR> ?

> +Copyright (c) 2013, Citrix Systems UK Ltd.
> +
> +This program and the accompanying materials
> +are licensed and made available under the terms and conditions
> +of the BSD License which accompanies this distribution.  The
> +full text of the license may be found at
> +http://opensource.org/licenses/bsd-license.php
> +
> +THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
> +WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
> +
> +**/
> +
> +
> +#ifndef __E820_H__
> +#define __E820_H__
> +
> +#pragma pack(1)
> +
> +typedef enum {
> +  EfiAcpiAddressRangeMemory   = 1,
> +  EfiAcpiAddressRangeReserved = 2,
> +  EfiAcpiAddressRangeACPI     = 3,
> +  EfiAcpiAddressRangeNVS      = 4

Odd, Linux also has E820_UNUSABLE

should that be in there as well?
> +} EFI_ACPI_MEMORY_TYPE;
> +
> +typedef struct {
> +  UINT64                BaseAddr;
> +  UINT64                Length;
> +  EFI_ACPI_MEMORY_TYPE  Type;
> +} EFI_E820_ENTRY64;
> +
> +typedef struct {
> +  UINT32                BassAddrLow;
> +  UINT32                BaseAddrHigh;
> +  UINT32                LengthLow;
> +  UINT32                LengthHigh;
> +  EFI_ACPI_MEMORY_TYPE  Type;
> +} EFI_E820_ENTRY;
> +
> +#pragma pack()
> +
> +#endif /* __E820_H__ */
> -- 
> 1.7.10.4
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

  parent reply	other threads:[~2013-11-26 19:47 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1385493964-12949-1-git-send-email-wei.liu2@citrix.com>
2013-11-26 19:25 ` [PATCH v3 1/8] MdeModulePkg: introduce PcdPciDisableBusEnumeration Wei Liu
2013-11-26 19:25 ` [PATCH v3 2/8] OvmfPkg: introduce E820.h Wei Liu
2013-11-26 19:25 ` [PATCH v3 3/8] OvmfPkg: define EFI_XEN_OVMF_INFO and extend XenInfo Wei Liu
2013-11-26 19:26 ` [PATCH v3 4/8] OvmfPkg: extract OVMF info passed by Xen hvmloader Wei Liu
2013-11-26 19:26 ` [PATCH v3 5/8] OvmfPkg: detect Xen earlier Wei Liu
2013-11-26 19:26 ` [PATCH v3 6/8] OvmfPkg: introduce PublishPeiMemory Wei Liu
2013-11-26 19:26 ` [PATCH v3 7/8] OvmfPkg: introduce XenMemMapInitialization Wei Liu
2013-11-26 19:26 ` [PATCH v3 8/8] OvmfPkg: enable Xen specific path Wei Liu
     [not found] ` <1385493964-12949-3-git-send-email-wei.liu2@citrix.com>
2013-11-26 19:47   ` Konrad Rzeszutek Wilk [this message]
2013-11-27 10:19     ` [PATCH v3 2/8] OvmfPkg: introduce E820.h Ian Campbell
2013-11-27 12:22     ` Wei Liu
     [not found]     ` <20131127122217.GD12187@zion.uk.xensource.com>
2013-11-28  0:18       ` Jordan Justen
     [not found]       ` <CAFe8ug8f+hasj4YbEqs0_JAbR1iD7FoGHadmv68N4dimiQj1zg@mail.gmail.com>
2013-11-28  0:31         ` Wei Liu
2013-11-28  0:42         ` Tian, Hot
     [not found]         ` <97159AD15C0F454180C255F8DA66135510FBD4ED@SHSMSX104.ccr.corp.intel.com>
2013-11-28  2:34           ` Wei Liu
     [not found]           ` <20131128023456.GC13044@zion.uk.xensource.com>
2013-11-28  2:58             ` Tian, Hot
     [not found] ` <1385493964-12949-2-git-send-email-wei.liu2@citrix.com>
2013-11-26 22:26   ` [edk2] [PATCH v3 1/8] MdeModulePkg: introduce PcdPciDisableBusEnumeration Kinney, Michael D
     [not found]   ` <E92EE9817A31E24EB0585FDF735412F562527BAC@ORSMSX106.amr.corp.intel.com>
2013-11-27 12:12     ` Wei Liu
     [not found] ` <1385493964-12949-4-git-send-email-wei.liu2@citrix.com>
2013-11-28  1:09   ` [PATCH v3 3/8] OvmfPkg: define EFI_XEN_OVMF_INFO and extend XenInfo Jordan Justen
     [not found]   ` <CAFe8ug869P1DJUwp=CXcMRDVAhjXG5RtRFaZDRFBuqSYjy57nA@mail.gmail.com>
2013-11-28  1:36     ` Jordan Justen
     [not found]     ` <CAFe8ug_WTQU3E2S=7LLrmMS7jWL94GsbAgKiPVRM7new-2aLOw@mail.gmail.com>
2013-11-28  2:19       ` Wei Liu
     [not found] ` <1385493964-12949-8-git-send-email-wei.liu2@citrix.com>
2013-11-29  3:59   ` [edk2] [PATCH v3 7/8] OvmfPkg: introduce XenMemMapInitialization Jordan Justen
     [not found] ` <1385493964-12949-7-git-send-email-wei.liu2@citrix.com>
2013-11-29  4:31   ` [edk2] [PATCH v3 6/8] OvmfPkg: introduce PublishPeiMemory Jordan Justen
     [not found]   ` <CAFe8ug_StkH7SrtuTN7aPxxriG8Y7dV57WA8MDHthDUqSd5FXA@mail.gmail.com>
2013-11-29 13:16     ` Wei Liu
     [not found] ` <1385493964-12949-9-git-send-email-wei.liu2@citrix.com>
2013-11-29  4:39   ` [PATCH v3 8/8] OvmfPkg: enable Xen specific path Jordan Justen
     [not found]   ` <CAFe8ug9km5R2eQV-MwvQMeUWnpi26oiBTgu8DDAjMz7WGXhAmQ@mail.gmail.com>
2013-11-29 13:15     ` Wei Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131126194713.GE11778@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=edk2-devel@lists.sourceforge.net \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.