]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/SmmPeriodicTimerDispatch2.h
MdePkg PciIo.h: Correct function description for ALLOCATE_BUFFER
[mirror_edk2.git] / MdePkg / Include / Protocol / SmmPeriodicTimerDispatch2.h
index 06825408cc3413140a31b41559a96f3b7e9a6938..078a91b4c083b84f69e95858832b2ead9f72e920 100644 (file)
@@ -4,7 +4,7 @@
 \r
   This protocol provides the parent dispatch service for the periodical timer SMI source generator.\r
 \r
-  Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
 #define _SMM_PERIODIC_TIMER_DISPATCH2_H_\r
 \r
 #include <Pi/PiSmmCis.h>\r
+#include <Protocol/MmPeriodicTimerDispatch.h>\r
 \r
-#define EFI_SMM_PERIODIC_TIMER_DISPATCH2_PROTOCOL_GUID \\r
-  { \\r
-    0x4cec368e, 0x8e8e, 0x4d71, {0x8b, 0xe1, 0x95, 0x8c, 0x45, 0xfc, 0x8a, 0x53 } \\r
-  }\r
+#define EFI_SMM_PERIODIC_TIMER_DISPATCH2_PROTOCOL_GUID EFI_MM_PERIODIC_TIMER_DISPATCH_PROTOCOL_GUID\r
 \r
 ///\r
 /// Example: A chipset supports periodic SMIs on every 64ms or 2 seconds.\r
@@ -66,13 +64,7 @@ typedef struct {
 /// Register() in RegisterContext and with CommBuffer pointing to an instance of \r
 /// EFI_SMM_PERIODIC_TIMER_CONTEXT and CommBufferSize pointing to its size.\r
 ///\r
-typedef struct {\r
-  ///\r
-  /// ElapsedTime is the actual time in 100 nanosecond units elapsed since last called, a\r
-  /// value of 0 indicates an unknown amount of time.\r
-  ///\r
-  UINT64  ElapsedTime;\r
-} EFI_SMM_PERIODIC_TIMER_CONTEXT;\r
+typedef EFI_MM_PERIODIC_TIMER_CONTEXT EFI_SMM_PERIODIC_TIMER_CONTEXT;\r
 \r
 typedef struct _EFI_SMM_PERIODIC_TIMER_DISPATCH2_PROTOCOL  EFI_SMM_PERIODIC_TIMER_DISPATCH2_PROTOCOL;\r
 \r