/** @file\r
PC/AT CMOS access routines\r
\r
- Copyright (c) 2006 - 2009, Intel Corporation<BR>\r
- All rights reserved. This program and the accompanying materials\r
- are licensed and made available under the terms and conditions of the BSD License\r
- which accompanies this distribution. The full text of the license may be found at\r
- http://opensource.org/licenses/bsd-license.php\r
-\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+ Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
+ SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\r
-\r
#include "Cmos.h"\r
#include "Library/IoLib.h"\r
\r
UINT8\r
EFIAPI\r
CmosRead8 (\r
- IN UINTN Index\r
+ IN UINTN Index\r
)\r
{\r
- IoWrite8 (0x70, (UINT8) Index);\r
+ IoWrite8 (0x70, (UINT8)Index);\r
return IoRead8 (0x71);\r
}\r
\r
-\r
/**\r
Writes 8-bits of CMOS data.\r
\r
UINT8\r
EFIAPI\r
CmosWrite8 (\r
- IN UINTN Index,\r
- IN UINT8 Value\r
+ IN UINTN Index,\r
+ IN UINT8 Value\r
)\r
{\r
- IoWrite8 (0x70, (UINT8) Index);\r
+ IoWrite8 (0x70, (UINT8)Index);\r
IoWrite8 (0x71, Value);\r
return Value;\r
}\r
-\r