diff options
Diffstat (limited to 'OvmfPkg/XenPlatformPei/Cmos.c')
-rw-r--r-- | OvmfPkg/XenPlatformPei/Cmos.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/OvmfPkg/XenPlatformPei/Cmos.c b/OvmfPkg/XenPlatformPei/Cmos.c index 5d9ee67cd8..9b5993a43a 100644 --- a/OvmfPkg/XenPlatformPei/Cmos.c +++ b/OvmfPkg/XenPlatformPei/Cmos.c @@ -8,7 +8,6 @@ **/
-
#include "Cmos.h"
#include "Library/IoLib.h"
@@ -26,14 +25,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.
@@ -49,12 +47,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;
}
-
|