TianoCore EDK2 master
|
#include "FatLitePeim.h"
Go to the source code of this file.
Functions | |
BOOLEAN | FatFindEltoritoPartitions (IN PEI_FAT_PRIVATE_DATA *PrivateData, IN UINTN ParentBlockDevNo) |
BOOLEAN | FatFindMbrPartitions (IN PEI_FAT_PRIVATE_DATA *PrivateData, IN UINTN ParentBlockDevNo) |
BOOLEAN | FatFindGptPartitions (IN PEI_FAT_PRIVATE_DATA *PrivateData, IN UINTN ParentBlockDevNo) |
VOID | FatFindPartitions (IN PEI_FAT_PRIVATE_DATA *PrivateData) |
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 Part.c.
BOOLEAN FatFindEltoritoPartitions | ( | IN PEI_FAT_PRIVATE_DATA * | PrivateData, |
IN UINTN | ParentBlockDevNo | ||
) |
This function finds Eltorito 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 |
Definition at line 27 of file Eltorito.c.
BOOLEAN FatFindGptPartitions | ( | IN PEI_FAT_PRIVATE_DATA * | PrivateData, |
IN UINTN | ParentBlockDevNo | ||
) |
This function is used for finding GPT partition on block device. As follow UEFI spec we should check protective MBR first and then try to check both primary/backup GPT structures.
[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 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 |
VOID FatFindPartitions | ( | IN PEI_FAT_PRIVATE_DATA * | PrivateData | ) |