TianoCore EDK2 master
Loading...
Searching...
No Matches
Cmos.h File Reference

Go to the source code of this file.

Functions

UINT8 EFIAPI CmosRead8 (IN UINTN Index)
 
UINT8 EFIAPI CmosWrite8 (IN UINTN Index, IN UINT8 Value)
 

Detailed Description

PC/AT CMOS access routines

Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.
Copyright (c) 2019, Citrix Systems, Inc.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file Cmos.h.

Function Documentation

◆ CmosRead8()

UINT8 EFIAPI CmosRead8 ( IN UINTN  Index)

Reads 8-bits of CMOS data.

Reads the 8-bits of CMOS data at the location specified by Index. The 8-bit read value is returned.

Parameters
IndexThe CMOS location to read.
Returns
The value read.

Definition at line 25 of file Cmos.c.

◆ CmosWrite8()

UINT8 EFIAPI CmosWrite8 ( IN UINTN  Index,
IN UINT8  Value 
)

Writes 8-bits of CMOS data.

Writes 8-bits of CMOS data to the location specified by Index with the value specified by Value and returns Value.

Parameters
IndexThe CMOS location to write.
ValueThe value to write to CMOS.
Returns
The value written to CMOS.

Definition at line 47 of file Cmos.c.