]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/Library/CpuCommonFeaturesLib/Aesni.c
UefiCpuPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / UefiCpuPkg / Library / CpuCommonFeaturesLib / Aesni.c
index 56b1b551d9778f54e3ff86b0ba3f77f61299bb47..b79446ba3ca997dfc32fa38e798cf93e9d2eef07 100644 (file)
@@ -1,14 +1,8 @@
 /** @file\r
   AESNI feature.\r
 \r
-  Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>\r
-  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) 2017 - 2019, Intel Corporation. All rights reserved.<BR>\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -123,7 +117,7 @@ AesniInitialize (
         MSR_SANDY_BRIDGE_FEATURE_CONFIG,\r
         MSR_SANDY_BRIDGE_FEATURE_CONFIG_REGISTER,\r
         Bits.AESConfiguration,\r
-        BIT1 | ((State) ? 0 : BIT0)\r
+        BIT0 | ((State) ? 0 : BIT1)\r
         );\r
     }\r
   }\r