public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v2] MdePkg/Hpet: Add Event Timer Block ID definition.
@ 2018-05-17 12:41 Marvin Häuser
  2018-05-23  2:44 ` Gao, Liming
  0 siblings, 1 reply; 2+ messages in thread
From: Marvin Häuser @ 2018-05-17 12:41 UTC (permalink / raw)
  To: edk2-devel@lists.01.org; +Cc: michael.d.kinney@intel.com, liming.gao@intel.com

This patch adds the HPET Event Timer Block ID definition that can be
found in the IA-PC HPET Specification, section 3.2.4.

V2:
  - Do not change the copyright date as requested.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com>
---
 MdePkg/Include/IndustryStandard/HighPrecisionEventTimerTable.h | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/MdePkg/Include/IndustryStandard/HighPrecisionEventTimerTable.h b/MdePkg/Include/IndustryStandard/HighPrecisionEventTimerTable.h
index 0d83cd5335de..6218a77c543c 100644
--- a/MdePkg/Include/IndustryStandard/HighPrecisionEventTimerTable.h
+++ b/MdePkg/Include/IndustryStandard/HighPrecisionEventTimerTable.h
@@ -22,6 +22,22 @@
 //
 #pragma pack(1)
 
+///
+/// HPET Event Timer Block ID described in IA-PC HPET Specification, 3.2.4.
+///
+typedef union {
+  struct {
+    UINT32 Revision       : 8;
+    UINT32 NumberOfTimers : 5;
+    UINT32 CounterSize    : 1;
+    UINT32 Reserved       : 1;
+    UINT32 LegacyRoute    : 1;
+    UINT32 VendorId       : 16;
+  }      Bits;
+  UINT32 Uint32;
+} EFI_ACPI_HIGH_PRECISION_EVENT_TIMER_BLOCK_ID;
+
+
 ///
 /// High Precision Event Timer Table header definition.
 ///
-- 
2.17.0.windows.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] MdePkg/Hpet: Add Event Timer Block ID definition.
  2018-05-17 12:41 [PATCH v2] MdePkg/Hpet: Add Event Timer Block ID definition Marvin Häuser
@ 2018-05-23  2:44 ` Gao, Liming
  0 siblings, 0 replies; 2+ messages in thread
From: Gao, Liming @ 2018-05-23  2:44 UTC (permalink / raw)
  To: Marvin.Haeuser@outlook.com, edk2-devel@lists.01.org; +Cc: Kinney, Michael D

Reviewed-by: Liming Gao <liming.gao@intel.com>

>-----Original Message-----
>From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
>Marvin H?user
>Sent: Thursday, May 17, 2018 8:42 PM
>To: edk2-devel@lists.01.org
>Cc: Kinney, Michael D <michael.d.kinney@intel.com>; Gao, Liming
><liming.gao@intel.com>
>Subject: [edk2] [PATCH v2] MdePkg/Hpet: Add Event Timer Block ID definition.
>
>This patch adds the HPET Event Timer Block ID definition that can be
>found in the IA-PC HPET Specification, section 3.2.4.
>
>V2:
>  - Do not change the copyright date as requested.
>
>Contributed-under: TianoCore Contribution Agreement 1.1
>Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com>
>---
> MdePkg/Include/IndustryStandard/HighPrecisionEventTimerTable.h | 16
>++++++++++++++++
> 1 file changed, 16 insertions(+)
>
>diff --git
>a/MdePkg/Include/IndustryStandard/HighPrecisionEventTimerTable.h
>b/MdePkg/Include/IndustryStandard/HighPrecisionEventTimerTable.h
>index 0d83cd5335de..6218a77c543c 100644
>--- a/MdePkg/Include/IndustryStandard/HighPrecisionEventTimerTable.h
>+++ b/MdePkg/Include/IndustryStandard/HighPrecisionEventTimerTable.h
>@@ -22,6 +22,22 @@
> //
> #pragma pack(1)
>
>+///
>+/// HPET Event Timer Block ID described in IA-PC HPET Specification, 3.2.4.
>+///
>+typedef union {
>+  struct {
>+    UINT32 Revision       : 8;
>+    UINT32 NumberOfTimers : 5;
>+    UINT32 CounterSize    : 1;
>+    UINT32 Reserved       : 1;
>+    UINT32 LegacyRoute    : 1;
>+    UINT32 VendorId       : 16;
>+  }      Bits;
>+  UINT32 Uint32;
>+} EFI_ACPI_HIGH_PRECISION_EVENT_TIMER_BLOCK_ID;
>+
>+
> ///
> /// High Precision Event Timer Table header definition.
> ///
>--
>2.17.0.windows.1
>
>_______________________________________________
>edk2-devel mailing list
>edk2-devel@lists.01.org
>https://lists.01.org/mailman/listinfo/edk2-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-05-23  2:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-17 12:41 [PATCH v2] MdePkg/Hpet: Add Event Timer Block ID definition Marvin Häuser
2018-05-23  2:44 ` Gao, Liming

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