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:
@@ -3,17 +3,17 @@
|
||||
|
||||
MBR - Master Boot Record is in the first sector of a partitioned hard disk.
|
||||
The MBR supports four partitions per disk. The MBR also contains legacy
|
||||
code that is not run on an EFI system. The legacy code reads the
|
||||
first sector of the active partition into memory and
|
||||
code that is not run on an EFI system. The legacy code reads the
|
||||
first sector of the active partition into memory and
|
||||
|
||||
BPB - BIOS Parameter Block is in the first sector of a FAT file system.
|
||||
The BPB contains information about the FAT file system. The BPB is
|
||||
BPB - BIOS Parameter Block is in the first sector of a FAT file system.
|
||||
The BPB contains information about the FAT file system. The BPB is
|
||||
always on the first sector of a media. The first sector also contains
|
||||
the legacy boot strap code.
|
||||
|
||||
Copyright (c) 2018 Qualcomm Datacenter Technologies, Inc.
|
||||
Copyright (c) 2014, Hewlett-Packard Development Company, L.P.<BR>
|
||||
Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 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
|
||||
@@ -31,7 +31,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
@param Mbr Parent Handle.
|
||||
@param LastLba Last Lba address on the device.
|
||||
|
||||
|
||||
@retval TRUE Mbr is a Valid MBR.
|
||||
@retval FALSE Mbr is not a Valid MBR.
|
||||
|
||||
@@ -76,7 +76,7 @@ PartitionValidMbr (
|
||||
// return FALSE since no block devices on a system are implemented
|
||||
// with INT 13h
|
||||
//
|
||||
|
||||
|
||||
DEBUG((EFI_D_INFO, "PartitionValidMbr: Bad MBR partition size EndingLBA(%1x) > LastLBA(%1x)\n", EndingLBA, LastLba));
|
||||
|
||||
return FALSE;
|
||||
@@ -113,7 +113,7 @@ PartitionValidMbr (
|
||||
@param[in] BlockIo Parent BlockIo interface.
|
||||
@param[in] BlockIo2 Parent BlockIo2 interface.
|
||||
@param[in] DevicePath Parent Device Path.
|
||||
|
||||
|
||||
@retval EFI_SUCCESS A child handle was added.
|
||||
@retval EFI_MEDIA_CHANGED Media change was detected.
|
||||
@retval Others MBR partition was not found.
|
||||
@@ -215,9 +215,9 @@ PartitionInstallMbrChildHandles (
|
||||
if (Mbr->Partition[Index].OSIndicator == PMBR_GPT_PARTITION) {
|
||||
//
|
||||
// This is the guard MBR for the GPT. If you ever see a GPT disk with zero partitions you can get here.
|
||||
// We can not produce an MBR BlockIo for this device as the MBR spans the GPT headers. So formating
|
||||
// We can not produce an MBR BlockIo for this device as the MBR spans the GPT headers. So formating
|
||||
// this BlockIo would corrupt the GPT structures and require a recovery that would corrupt the format
|
||||
// that corrupted the GPT partition.
|
||||
// that corrupted the GPT partition.
|
||||
//
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user