VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/OvmfPkg/XenPlatformPei/Cmos.h@ 99396

Last change on this file since 99396 was 80721, checked in by vboxsync, 5 years ago

Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643

  • Property svn:eol-style set to native
File size: 951 bytes
Line 
1/** @file
2 PC/AT CMOS access routines
3
4 Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>
5 Copyright (c) 2019, Citrix Systems, Inc.
6
7 SPDX-License-Identifier: BSD-2-Clause-Patent
8
9**/
10
11#ifndef __CMOS_H__
12#define __CMOS_H__
13
14/**
15 Reads 8-bits of CMOS data.
16
17 Reads the 8-bits of CMOS data at the location specified by Index.
18 The 8-bit read value is returned.
19
20 @param Index The CMOS location to read.
21
22 @return The value read.
23
24**/
25UINT8
26EFIAPI
27CmosRead8 (
28 IN UINTN Index
29 );
30
31/**
32 Writes 8-bits of CMOS data.
33
34 Writes 8-bits of CMOS data to the location specified by Index
35 with the value specified by Value and returns Value.
36
37 @param Index The CMOS location to write.
38 @param Value The value to write to CMOS.
39
40 @return The value written to CMOS.
41
42**/
43UINT8
44EFIAPI
45CmosWrite8 (
46 IN UINTN Index,
47 IN UINT8 Value
48 );
49
50
51#endif
52
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette