[partition] Introduce function for checking various flag-combinations for ESP boot.

This commit is contained in:
Adriaan de Groot 2018-01-09 10:53:33 -05:00
parent 3ff68bce98
commit 94b6c95c44
2 changed files with 27 additions and 0 deletions

View file

@ -67,6 +67,11 @@ OsproberEntryList runOsprober( PartitionCoreModule* core );
*/
bool isEfiSystem();
/**
* @brief Is the given @p partition bootable in EFI? Depending on
* the partition table layout, this may mean different flags.
*/
bool isEfiBootable( const Partition* candidate );
}
#endif // PARTUTILS_H