/** @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
return &mAmlByteEncoding[Index];\r
}\r
}\r
- \r
+\r
return NULL;\r
}\r
\r
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
// 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
ASSERT (0);\r
break;\r
}\r
- \r
+\r
*PkgLength = RealLength;\r
return Offset;\r
}\r