]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Acpi/AcpiTableDxe/Aml.c
MdeModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Universal / Acpi / AcpiTableDxe / Aml.c
index 30f71bdda45c25f2f264251cdb4f1d0208a76a67..3688056740a4e758acc461f196f9be2d1470d861 100644 (file)
@@ -1,14 +1,8 @@
 /** @file\r
   ACPI Sdt Protocol Driver\r
 \r
-  Copyright (c) 2010 - 2014, 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) 2010 - 2018, Intel Corporation. All rights reserved. <BR>\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -209,7 +203,7 @@ AmlSearchByOpByte (
       return &mAmlByteEncoding[Index];\r
     }\r
   }\r
-  \r
+\r
   return NULL;\r
 }\r
 \r
@@ -250,7 +244,7 @@ AmlGetPkgLength (
   UINT8             ByteCount;\r
   UINTN             RealLength;\r
   UINTN             Offset;\r
-  \r
+\r
   //\r
   // <bit 7-6: ByteData count that follows (0-3)>\r
   // <bit 5-4: Only used if PkgLength < 63>\r
@@ -265,8 +259,8 @@ AmlGetPkgLength (
   // package length value. The next ByteData will become the next least significant 8 bits\r
   // of the resulting value and so on, up to 3 ByteData bytes. Thus, the maximum package\r
   // length is 2**28.\r
-  // \r
-  \r
+  //\r
+\r
   LeadByte = *Buffer;\r
   ByteCount = (UINT8)((LeadByte >> 6) & 0x03);\r
   Offset = ByteCount + 1;\r
@@ -295,7 +289,7 @@ AmlGetPkgLength (
     ASSERT (0);\r
     break;\r
   }\r
-  \r
+\r
   *PkgLength = RealLength;\r
   return Offset;\r
 }\r