MdeModulePkg: Clean up source files
1. Do not use tab characters 2. No trailing white space in one line 3. All files must end with CRLF Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user