block: read GPT header from block devices on init

This commit is contained in:
Michael Shaw 2023-05-13 23:04:15 -04:00
commit 05c528f64c
6 changed files with 138 additions and 8 deletions

View file

@ -334,6 +334,8 @@ struct sata_device {
struct pci_device *controller;
uint8_t port;
size_t sector_size;
size_t sector_count;
hbamem_t *abar;
};