acadia/sys/yellowstone/hw/gpt.h

19 lines
372 B
C
Raw Normal View History

#pragma once
#include <denali/denali_client.h>
#include <stdint.h>
#include <ztypes.h>
class GptReader {
public:
GptReader(glcr::UniquePtr<DenaliClient> denali);
glcr::ErrorCode ParsePartitionTables();
uint64_t GetPrimaryPartitionLba() { return primary_partition_lba_; }
private:
glcr::UniquePtr<DenaliClient> denali_;
uint64_t primary_partition_lba_;
};