public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Re: [edk2-devel] [PATCH] MdePkg: add definitions for ACPI NVDIMM Device Path
       [not found] <1610A4D3F464F008.3891@groups.io>
@ 2020-05-20  6:03 ` Zhiguang Liu
  0 siblings, 0 replies; only message in thread
From: Zhiguang Liu @ 2020-05-20  6:03 UTC (permalink / raw)
  To: devel@edk2.groups.io, Liu, Zhiguang
  Cc: Kinney, Michael D, Gao, Liming, Anandraj, James Sushanth

Hi all,
Please review this patch and I want this patch to catch 202005 stable tag? 

Thanks
Zhiguang

> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of
> Zhiguang Liu
> Sent: Wednesday, May 20, 2020 1:18 PM
> To: devel@edk2.groups.io
> Cc: Kinney, Michael D <michael.d.kinney@intel.com>; Gao, Liming
> <liming.gao@intel.com>; Anandraj, James Sushanth
> <james.sushanth.anandraj@intel.com>
> Subject: [edk2-devel] [PATCH] MdePkg: add definitions for ACPI NVDIMM
> Device Path
> 
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2716
> 
> Add definitions for ACPI NVDIMM Device Path following UEFI spec.
> 
> Cc: Michael D Kinney <michael.d.kinney@intel.com>
> Cc: Liming Gao <liming.gao@intel.com>
> Signed-off-by: James Anandraj <james.sushanth.anandraj@intel.com>
> ---
>  MdePkg/Include/Protocol/DevicePath.h | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> 
> diff --git a/MdePkg/Include/Protocol/DevicePath.h
> b/MdePkg/Include/Protocol/DevicePath.h
> index 4cf4b653ba..5914cde304 100644
> --- a/MdePkg/Include/Protocol/DevicePath.h
> +++ b/MdePkg/Include/Protocol/DevicePath.h
> @@ -282,6 +282,21 @@ typedef struct {
>    //
> 
>  } ACPI_ADR_DEVICE_PATH;
> 
> 
> 
> +///
> 
> +/// ACPI NVDIMM Device Path SubType.
> 
> +///
> 
> +#define ACPI_NVDIMM_DP               0x04
> 
> +///
> 
> +///
> 
> +typedef struct {
> 
> +  EFI_DEVICE_PATH_PROTOCOL        Header;
> 
> +  ///
> 
> +  /// NFIT Device Handle, the _ADR of the NVDIMM device.
> 
> +  /// The value of this field comes from Section 9.20.3 of the ACPI 6.2A
> specification.
> 
> +  ///
> 
> +  UINT32                          NFITDeviceHandle;
> 
> +} ACPI_NVDIMM_DEVICE_PATH;
> 
> +
> 
>  #define ACPI_ADR_DISPLAY_TYPE_OTHER             0
> 
>  #define ACPI_ADR_DISPLAY_TYPE_VGA               1
> 
>  #define ACPI_ADR_DISPLAY_TYPE_TV                2
> 
> --
> 2.25.1.windows.1
> 
> 
> -=-=-=-=-=-=
> Groups.io Links: You receive all messages sent to this group.
> 
> View/Reply Online (#59937): https://edk2.groups.io/g/devel/message/59937
> Mute This Topic: https://groups.io/mt/74343610/1779286
> Group Owner: devel+owner@edk2.groups.io
> Unsubscribe: https://edk2.groups.io/g/devel/unsub
> [zhiguang.liu@intel.com]
> -=-=-=-=-=-=


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-20  6:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1610A4D3F464F008.3891@groups.io>
2020-05-20  6:03 ` [edk2-devel] [PATCH] MdePkg: add definitions for ACPI NVDIMM Device Path Zhiguang Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox