summaryrefslogtreecommitdiff
path: root/EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.c
diff options
context:
space:
mode:
Diffstat (limited to 'EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.c')
-rw-r--r--EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.c b/EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.c
index 089b1f6..8d5db6b 100644
--- a/EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.c
+++ b/EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.c
@@ -15,7 +15,7 @@
#include <Protocol/MonotonicCounter.h>
-UINT64 gCurrentMonotonicCount = 0;
+UINT64 gCurrentMonotonicCount = 0;
EFI_STATUS
EFIAPI
@@ -48,7 +48,6 @@ GetNextHighMonotonicCount (
return EFI_SUCCESS;
}
-
EFI_STATUS
EFIAPI
MonotonicCounterDriverInitialize (
@@ -60,7 +59,7 @@ MonotonicCounterDriverInitialize (
EFI_HANDLE Handle = NULL;
// Make sure the Monotonic Counter Architectural Protocol is not already installed in the system
- ASSERT_PROTOCOL_ALREADY_INSTALLED(NULL, &gEfiMonotonicCounterArchProtocolGuid);
+ ASSERT_PROTOCOL_ALREADY_INSTALLED (NULL, &gEfiMonotonicCounterArchProtocolGuid);
// Fill in the EFI Boot Services and EFI Runtime Services Monotonic Counter Fields
gBS->GetNextMonotonicCount = GetNextMonotonicCount;
@@ -69,7 +68,8 @@ MonotonicCounterDriverInitialize (
// Install the Monotonic Counter Architectural Protocol onto a new handle
Status = gBS->InstallMultipleProtocolInterfaces (
&Handle,
- &gEfiMonotonicCounterArchProtocolGuid, NULL,
+ &gEfiMonotonicCounterArchProtocolGuid,
+ NULL,
NULL
);
return Status;