]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/PlatformPei/Cmos.h
Update the copyright notice format
[mirror_edk2.git] / OvmfPkg / PlatformPei / Cmos.h
CommitLineData
49ba9447 1/** @file\r
2 PC/AT CMOS access routines\r
3\r
56d7640a
HT
4 Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
5 This program and the accompanying materials\r
49ba9447 6 are licensed and made available under the terms and conditions of the BSD License\r
7 which accompanies this distribution. The full text of the license may be found at\r
8 http://opensource.org/licenses/bsd-license.php\r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15#ifndef __CMOS_H__\r
16#define __CMOS_H__\r
17\r
18/**\r
19 Reads 8-bits of CMOS data.\r
20\r
21 Reads the 8-bits of CMOS data at the location specified by Index.\r
22 The 8-bit read value is returned.\r
23\r
24 @param Index The CMOS location to read.\r
25\r
26 @return The value read.\r
27\r
28**/\r
29UINT8\r
30EFIAPI\r
31CmosRead8 (\r
32 IN UINTN Index\r
33 );\r
34\r
35/**\r
36 Writes 8-bits of CMOS data.\r
37\r
38 Writes 8-bits of CMOS data to the location specified by Index\r
39 with the value specified by Value and returns Value.\r
40\r
41 @param Index The CMOS location to write.\r
42 @param Value The value to write to CMOS.\r
43\r
44 @return The value written to CMOS.\r
45\r
46**/\r
47UINT8\r
48EFIAPI\r
49CmosWrite8 (\r
50 IN UINTN Index,\r
51 IN UINT8 Value\r
52 );\r
53\r
54\r
55#endif\r
56\r