TianoCore EDK2 master
|
Go to the source code of this file.
Functions | |
BOOLEAN | PartitionValidMbr (IN MASTER_BOOT_RECORD *Mbr, IN EFI_PEI_LBA LastLba) |
BOOLEAN | FatFindMbrPartitions (IN PEI_FAT_PRIVATE_DATA *PrivateData, IN UINTN ParentBlockDevNo) |
Routines supporting partition discovery and logical device reading
Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Mbr.c.
BOOLEAN FatFindMbrPartitions | ( | IN PEI_FAT_PRIVATE_DATA * | PrivateData, |
IN UINTN | ParentBlockDevNo | ||
) |
This function finds Mbr partitions. Main algorithm is ported from DXE partition driver.
[in] | PrivateData | The global memory map |
[in] | ParentBlockDevNo | The parent block device |
TRUE | New partitions are detected and logical block devices are added to block device array |
FALSE | No new partitions are added |
BOOLEAN PartitionValidMbr | ( | IN MASTER_BOOT_RECORD * | Mbr, |
IN EFI_PEI_LBA | LastLba | ||
) |