summaryrefslogtreecommitdiffstats
path: root/EmbeddedPkg/EmbeddedMonotonicCounter
diff options
context:
space:
mode:
Diffstat (limited to 'EmbeddedPkg/EmbeddedMonotonicCounter')
-rw-r--r--EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.c8
-rw-r--r--EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf6
2 files changed, 7 insertions, 7 deletions
diff --git a/EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.c b/EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.c
index 7348fa60e6..1dec02e65a 100644
--- a/EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.c
+++ b/EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.c
@@ -1,7 +1,7 @@
/** @file
Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
-
+
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
@@ -32,7 +32,7 @@ GetNextMonotonicCount (
if (Count == NULL) {
return EFI_INVALID_PARAMETER;
}
-
+
*Count = gCurrentMonotonicCount++;
return EFI_SUCCESS;
}
@@ -46,9 +46,9 @@ GetNextHighMonotonicCount (
if (HighCount == NULL) {
return EFI_INVALID_PARAMETER;
}
-
+
gCurrentMonotonicCount += 0x0000000100000000ULL;
-
+
*HighCount = (UINT32)RShiftU64 (gCurrentMonotonicCount, 32) & 0xFFFFFFFF;
return EFI_SUCCESS;
diff --git a/EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf b/EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
index 6b262dbc45..9f28522252 100644
--- a/EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
+++ b/EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
@@ -1,14 +1,14 @@
#/** @file
-#
+#
# Copyright (c) 2008 - 2010, Apple Inc. All rights reserved.<BR>
# 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.
-#
+#
#**/
[Defines]