summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/PlatformPei/Cmos.c
diff options
context:
space:
mode:
Diffstat (limited to 'OvmfPkg/PlatformPei/Cmos.c')
-rw-r--r--OvmfPkg/PlatformPei/Cmos.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/OvmfPkg/PlatformPei/Cmos.c b/OvmfPkg/PlatformPei/Cmos.c
index 9b34e10b17..a01b3866be 100644
--- a/OvmfPkg/PlatformPei/Cmos.c
+++ b/OvmfPkg/PlatformPei/Cmos.c
@@ -6,7 +6,6 @@
**/
-
#include "Cmos.h"
#include "Library/IoLib.h"
@@ -24,14 +23,13 @@
UINT8
EFIAPI
CmosRead8 (
- IN UINTN Index
+ IN UINTN Index
)
{
- IoWrite8 (0x70, (UINT8) Index);
+ IoWrite8 (0x70, (UINT8)Index);
return IoRead8 (0x71);
}
-
/**
Writes 8-bits of CMOS data.
@@ -47,12 +45,11 @@ CmosRead8 (
UINT8
EFIAPI
CmosWrite8 (
- IN UINTN Index,
- IN UINT8 Value
+ IN UINTN Index,
+ IN UINT8 Value
)
{
- IoWrite8 (0x70, (UINT8) Index);
+ IoWrite8 (0x70, (UINT8)Index);
IoWrite8 (0x71, Value);
return Value;
}
-