]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/PlatformPei/Cmos.c
OvmfPkg: Apply uncrustify changes
[mirror_edk2.git] / OvmfPkg / PlatformPei / Cmos.c
index 92df4a77e6b9cbcf9e86c9090c322be87d1fe140..a01b3866bee478f18070741fc9331a4394c55dbb 100644 (file)
@@ -1,18 +1,11 @@
 /** @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
@@ -53,12 +45,11 @@ CmosRead8 (
 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