diff options
Diffstat (limited to 'MdeModulePkg/Universal/Acpi/AcpiTableDxe/Aml.c')
-rw-r--r-- | MdeModulePkg/Universal/Acpi/AcpiTableDxe/Aml.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/MdeModulePkg/Universal/Acpi/AcpiTableDxe/Aml.c b/MdeModulePkg/Universal/Acpi/AcpiTableDxe/Aml.c index 30f71bd..6ff11d8 100644 --- a/MdeModulePkg/Universal/Acpi/AcpiTableDxe/Aml.c +++ b/MdeModulePkg/Universal/Acpi/AcpiTableDxe/Aml.c @@ -1,7 +1,7 @@ /** @file
ACPI Sdt Protocol Driver
- Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved. <BR>
+ Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved. <BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -209,7 +209,7 @@ AmlSearchByOpByte ( return &mAmlByteEncoding[Index];
}
}
-
+
return NULL;
}
@@ -250,7 +250,7 @@ AmlGetPkgLength ( UINT8 ByteCount;
UINTN RealLength;
UINTN Offset;
-
+
//
// <bit 7-6: ByteData count that follows (0-3)>
// <bit 5-4: Only used if PkgLength < 63>
@@ -265,8 +265,8 @@ AmlGetPkgLength ( // package length value. The next ByteData will become the next least significant 8 bits
// of the resulting value and so on, up to 3 ByteData bytes. Thus, the maximum package
// length is 2**28.
- //
-
+ //
+
LeadByte = *Buffer;
ByteCount = (UINT8)((LeadByte >> 6) & 0x03);
Offset = ByteCount + 1;
@@ -295,7 +295,7 @@ AmlGetPkgLength ( ASSERT (0);
break;
}
-
+
*PkgLength = RealLength;
return Offset;
}
|