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

Go to the source code of this file.

Functions

UINT8 EFIAPI PlatformCmosRead8 (IN UINTN Index)
 
UINT8 EFIAPI PlatformCmosWrite8 (IN UINTN Index, IN UINT8 Value)
 
VOID EFIAPI PlatformDebugDumpCmos (VOID)
 

Detailed Description

PC/AT CMOS access routines

Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file Cmos.c.

Function Documentation

◆ PlatformCmosRead8()

UINT8 EFIAPI PlatformCmosRead8 ( 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 26 of file Cmos.c.

◆ PlatformCmosWrite8()

UINT8 EFIAPI PlatformCmosWrite8 ( 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 48 of file Cmos.c.

◆ PlatformDebugDumpCmos()

VOID EFIAPI PlatformDebugDumpCmos ( VOID  )

Dump the CMOS content

Definition at line 63 of file Cmos.c.