Have yellowstone dump the MBR/GPT tables

This commit is contained in:
Drew Galbraith 2023-06-19 21:54:40 -07:00
parent 0aa38ac4a4
commit a202bf2371
4 changed files with 143 additions and 12 deletions

10
sys/yellowstone/hw/gpt.h Normal file
View file

@ -0,0 +1,10 @@
#pragma once
#include <stdint.h>
#include <ztypes.h>
z_err_t CheckMbrIsGpt(uint64_t mem_cap);
z_err_t ReadPartitionHeader(uint64_t mem_cap);
z_err_t ReadPartitionEntries(uint64_t mem_cap);