]>
git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/PlatformPei/Cmos.h
2 PC/AT CMOS access routines
4 Copyright (c) 2006 - 2009, Intel Corporation<BR>
5 All rights reserved. This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
19 Reads 8-bits of CMOS data.
21 Reads the 8-bits of CMOS data at the location specified by Index.
22 The 8-bit read value is returned.
24 @param Index The CMOS location to read.
26 @return The value read.
36 Writes 8-bits of CMOS data.
38 Writes 8-bits of CMOS data to the location specified by Index
39 with the value specified by Value and returns Value.
41 @param Index The CMOS location to write.
42 @param Value The value to write to CMOS.
44 @return The value written to CMOS.