TianoCore EDK2
master
Loading...
Searching...
No Matches
Cmos.c
Go to the documentation of this file.
1
9
#include "
Cmos.h
"
10
#include "
Library/IoLib.h
"
11
23
UINT8
24
EFIAPI
25
CmosRead8
(
26
IN
UINTN
Index
27
)
28
{
29
IoWrite8
(0x70, (UINT8)Index);
30
return
IoRead8
(0x71);
31
}
32
45
UINT8
46
EFIAPI
47
CmosWrite8
(
48
IN
UINTN
Index,
49
IN
UINT8 Value
50
)
51
{
52
IoWrite8
(0x70, (UINT8)Index);
53
IoWrite8
(0x71, Value);
54
return
Value;
55
}
UINTN
UINT64 UINTN
Definition:
ProcessorBind.h:112
CmosRead8
UINT8 EFIAPI CmosRead8(IN UINTN Index)
Definition:
Cmos.c:25
CmosWrite8
UINT8 EFIAPI CmosWrite8(IN UINTN Index, IN UINT8 Value)
Definition:
Cmos.c:47
IoLib.h
IoWrite8
UINT8 EFIAPI IoWrite8(IN UINTN Port, IN UINT8 Value)
Definition:
IoLibArmVirt.c:200
IoRead8
UINT8 EFIAPI IoRead8(IN UINTN Port)
Definition:
IoLibArmVirt.c:175
IN
#define IN
Definition:
Base.h:279
Cmos.h
OvmfPkg
Bhyve
PlatformPei
Cmos.c
Generated on Fri Nov 15 2024 18:01:22 for TianoCore EDK2 by
1.9.6