]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/Timestamp.h
MdePkg: Clean up source files
[mirror_edk2.git] / MdePkg / Include / Protocol / Timestamp.h
index 9be72426e6646336ab0eca46291a4435ae5cb8b0..f3c3addc073fe512170fc3c245d7507bfddb4a8a 100644 (file)
@@ -1,19 +1,19 @@
 /** @file\r
-  EFI Timestamp Protocol as defined in UEFI2.4 Specification. \r
+  EFI Timestamp Protocol as defined in UEFI2.4 Specification.\r
   Used to provide a platform independent interface for retrieving a high resolution timestamp counter.\r
-  \r
-  Copyright (c) 2013, 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
-  http://opensource.org/licenses/bsd-license.php                                            \r
-\r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.    \r
-  \r
-  @par Revision Reference:          \r
-  This Protocol is introduced in UEFI Specification 2.4    \r
-       \r
+\r
+  Copyright (c) 2013 - 2018, 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
+  http://opensource.org/licenses/bsd-license.php\r
+\r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+  @par Revision Reference:\r
+  This Protocol is introduced in UEFI Specification 2.4\r
+\r
 **/\r
 \r
 #ifndef __EFI_TIME_STAMP_PROTOCOL_H__\r
@@ -32,30 +32,30 @@ typedef struct _EFI_TIMESTAMP_PROTOCOL  EFI_TIMESTAMP_PROTOCOL;
 /// EFI_TIMESTAMP_PROPERTIES\r
 ///\r
 typedef struct {\r
-  /// \r
+  ///\r
   /// The frequency of the timestamp counter in Hz.\r
-  /// \r
+  ///\r
   UINT64                               Frequency;\r
-  /// \r
+  ///\r
   /// The value that the timestamp counter ends with immediately before it rolls over.\r
   /// For example, a 64-bit free running counter would have an EndValue of 0xFFFFFFFFFFFFFFFF.\r
   /// A 24-bit free running counter would have an EndValue of 0xFFFFFF.\r
   ///\r
   UINT64                               EndValue;\r
 } EFI_TIMESTAMP_PROPERTIES;\r
\r
+\r
 /**\r
   Retrieves the current value of a 64-bit free running timestamp counter.\r
-  \r
+\r
   The counter shall count up in proportion to the amount of time that has passed. The counter value\r
   will always roll over to zero. The properties of the counter can be retrieved from GetProperties().\r
   The caller should be prepared for the function to return the same value twice across successive calls.\r
   The counter value will not go backwards other than when wrapping, as defined by EndValue in GetProperties().\r
-  The frequency of the returned timestamp counter value must remain constant. Power management operations that \r
-  affect clocking must not change the returned counter frequency. The quantization of counter value updates may \r
+  The frequency of the returned timestamp counter value must remain constant. Power management operations that\r
+  affect clocking must not change the returned counter frequency. The quantization of counter value updates may\r
   vary as long as the value reflecting time passed remains consistent.\r
 \r
-  @param  None.             \r
+  @param  None.\r
 \r
   @retval The current value of the free running timestamp counter.\r
 \r
@@ -71,13 +71,13 @@ UINT64
 \r
   @param[out]  Properties              The properties of the timestamp counter.\r
 \r
-  @retval      EFI_SUCCESS             The properties were successfully retrieved. \r
-  @retval      EFI_DEVICE_ERROR        An error occurred trying to retrieve the properties of the timestamp \r
-                                       counter subsystem. Properties is not pedated.                                \r
+  @retval      EFI_SUCCESS             The properties were successfully retrieved.\r
+  @retval      EFI_DEVICE_ERROR        An error occurred trying to retrieve the properties of the timestamp\r
+                                       counter subsystem. Properties is not pedated.\r
   @retval      EFI_INVALID_PARAMETER   Properties is NULL.\r
 \r
 **/\r
-typedef \r
+typedef\r
 EFI_STATUS\r
 (EFIAPI *TIMESTAMP_GET_PROPERTIES)(\r
   OUT   EFI_TIMESTAMP_PROPERTIES       *Properties\r
@@ -87,7 +87,7 @@ EFI_STATUS
 \r
 ///\r
 /// EFI_TIMESTAMP_PROTOCOL\r
-/// The protocol provides a platform independent interface for retrieving a high resolution \r
+/// The protocol provides a platform independent interface for retrieving a high resolution\r
 /// timestamp counter.\r
 ///\r
 struct _EFI_TIMESTAMP_PROTOCOL {\r